[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.3 and 1.4

version 1.3, 2001/06/26 06:32:52 version 1.4, 2001/06/26 17:27:23
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 *, gid_t);  
   
 /*  
  * 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 *, int);  
   
 /*  
  * Free memory allocated for group access list.  
  */  
 void ga_free(void);  
   
 #endif  #endif

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4