aboutsummaryrefslogtreecommitdiff
path: root/libexec/revnetgroup/hash.h
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1996-12-13 02:40:39 +0000
committerBill Paul <wpaul@FreeBSD.org>1996-12-13 02:40:39 +0000
commit79cc85d3ca71091792167732ca2b404c41c08039 (patch)
treee09ec5fe96b67a7888b27300f4d4e0ce43904751 /libexec/revnetgroup/hash.h
parent5a4a0aacbaf389c582fa16477d9340631917efbb (diff)
Notes
Diffstat (limited to 'libexec/revnetgroup/hash.h')
-rw-r--r--libexec/revnetgroup/hash.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/libexec/revnetgroup/hash.h b/libexec/revnetgroup/hash.h
index 4de29e6598672..a8ad74720e895 100644
--- a/libexec/revnetgroup/hash.h
+++ b/libexec/revnetgroup/hash.h
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: hash.h,v 1.1.1.1 1995/10/26 16:25:29 wpaul Exp $
+ * $Id: hash.h,v 1.2 1996/05/12 17:17:42 wpaul Exp $
*/
/* Groupname entry hung off a member_entry node. */
@@ -56,3 +56,12 @@ struct group_entry {
/* Table size (chosen arbitrarily). Not too big, not too small. */
#define TABLESIZE 256
#define HASH_MASK 0x000000FF
+
+#define LINSIZ 1024 * 10
+
+extern void store __P(( struct group_entry ** , char *, char * ));
+extern void mstore __P(( struct member_entry ** , char *, char *, char * ));
+extern char *lookup __P(( struct group_entry **, char * ));
+extern void __endnetgrent __P(( void ));
+extern void __setnetgrent __P(( char * ));
+extern int __getnetgrent __P(( char **, char **, char ** ));