summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/groupaccess.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ssh/groupaccess.h')
-rw-r--r--usr.bin/ssh/groupaccess.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/usr.bin/ssh/groupaccess.h b/usr.bin/ssh/groupaccess.h
index 01e394f6919..ede4805c2c2 100644
--- a/usr.bin/ssh/groupaccess.h
+++ b/usr.bin/ssh/groupaccess.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: groupaccess.h,v 1.3 2001/06/26 06:32:52 itojun Exp $ */
+/* $OpenBSD: groupaccess.h,v 1.4 2001/06/26 17:27:23 markus Exp $ */
/*
* Copyright (c) 2001 Kevin Steves. All rights reserved.
@@ -29,21 +29,8 @@
#include <grp.h>
-/*
- * 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 *, 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);
+int ga_init(const char *, gid_t);
+int ga_match(char * const *, int);
+void ga_free(void);
#endif