[BACK]Return to groupaccess.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/groupaccess.h between version 1.2.2.4 and 1.2.2.5

version 1.2.2.4, 2001/05/07 21:09:29 version 1.2.2.5, 2001/09/27 00:15:42
Line 29 
Line 29 
   
 #include <grp.h>  #include <grp.h>
   
 /*  int      ga_init(const char *, gid_t);
  * Initialize group access list for user with primary (base) and  int      ga_match(char * const *, int);
  * supplementary groups.  Return the number of groups in the list.  void     ga_free(void);
  */  
 int ga_init(const char *user, gid_t base);  
   
 /*  
  * Return 1 if one of user's groups is contained in groups.  
  * Return 0 otherwise.  Use match_pattern() for string comparison.  
  */  
 int ga_match(char * const *groups, int ngroups);  
   
 /*  
  * Free memory allocated for group access list.  
  */  
 void ga_free(void);  
   
 #endif  #endif

Legend:
Removed from v.1.2.2.4  
changed lines
  Added in v.1.2.2.5