freebsd-nq/libexec/revnetgroup
Bill Paul a44e4d1407 Import the first cut of my (finally finished) revnetgroup program. This
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.
1995-10-26 16:25:29 +00:00
..
hash.c Import the first cut of my (finally finished) revnetgroup program. This 1995-10-26 16:25:29 +00:00
hash.h Import the first cut of my (finally finished) revnetgroup program. This 1995-10-26 16:25:29 +00:00
Makefile Import the first cut of my (finally finished) revnetgroup program. This 1995-10-26 16:25:29 +00:00
parse_netgroup.c Import the first cut of my (finally finished) revnetgroup program. This 1995-10-26 16:25:29 +00:00
revnetgroup.8 Import the first cut of my (finally finished) revnetgroup program. This 1995-10-26 16:25:29 +00:00
revnetgroup.c Import the first cut of my (finally finished) revnetgroup program. This 1995-10-26 16:25:29 +00:00