X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/63b688895f0ee5132ec3625859018d899fe88a35..762f5ea20dc6932e32901990938229c79a711031:/groupaccess.h diff --git a/groupaccess.h b/groupaccess.h index 7e8584bd..ede4805c 100644 --- a/groupaccess.h +++ b/groupaccess.h @@ -1,3 +1,5 @@ +/* $OpenBSD: groupaccess.h,v 1.4 2001/06/26 17:27:23 markus Exp $ */ + /* * Copyright (c) 2001 Kevin Steves. All rights reserved. * @@ -27,21 +29,8 @@ #include -/* - * Initialize group access list for user with primary (base) and - * supplementary groups. Return the number of groups in the list. - */ -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); +int ga_init(const char *, gid_t); +int ga_match(char * const *, int); +void ga_free(void); #endif