summaryrefslogtreecommitdiff
path: root/libexec/revnetgroup/hash.h
Commit message (Collapse)AuthorAgeFilesLines
* o __P removalWarner Losh2002-02-071-6/+6
| | | | | | | | o register removal o use new style prototypes and function definitions Notes: svn path=/head/; revision=90377
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22989
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Close PR #2193: support backslash line continuations.Bill Paul1996-12-131-1/+10
| | | | | | | (Also did some minor cleanups.) Notes: svn path=/head/; revision=20387
* Small touchups:Bill Paul1996-05-121-2/+1
| | | | | | | | | | | | | | | - Fix typos in comments in hash.c. - Remove unneeded and unused member from grouplist struct in hash.h. (Curiously, the compiler never complained about this even though the member was of type 'struct grps' which is not defined anywhere in this program.) - char ch -> int ch in revnetgroup.c. - char *argv[0]; -> char *argv[]; also in revnetgroup.c. - Force the user to specify at least one of the -u or -h flags and complain if they specify both. Notes: svn path=/head/; revision=15754
* Import the first cut of my (finally finished) revnetgroup program. ThisBill Paul1995-10-261-0/+59
program parses the /etc/netgroup file into netgroup.byuser and netgroup.byhost format for NIS. I used hash tables to store the initial netgroup data in memory and to construct the 'reverse' netgroup output. It seems just as fast as the SunOS revnetgroup, which is surprising considering this is my first attempt at using hash tables in a real application. :) Note that I canibalized a large chunk of getnetgrent.c to save myself from having to write my own netgroup parsing functions. Notes: svn path=/cvs2svn/branches/WPAUL/dist/; revision=11814