Date: Thu, 26 Oct 1995 09:25:30 -0700 From: Bill Paul <wpaul> To: CVS-commiters, cvs-libexec Subject: cvs commit: src/libexec/revnetgroup - Imported sources Message-ID: <199510261625.JAA12121@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 95/10/26 09:25:30 Branch: libexec/revnetgroup 1.1.1 Log: 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. Status: Vendor Tag: WPAUL Release Tags: ver_1_1 N src/libexec/revnetgroup/Makefile N src/libexec/revnetgroup/hash.c N src/libexec/revnetgroup/parse_netgroup.c N src/libexec/revnetgroup/revnetgroup.c N src/libexec/revnetgroup/hash.h N src/libexec/revnetgroup/revnetgroup.8 No conflicts created by this import
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510261625.JAA12121>