Subject: CVS commit: src/lib/libc/gen
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 01/06/2005 15:00:45
Module Name: src
Committed By: lukem
Date: Thu Jan 6 15:00:45 UTC 2005
Modified Files:
src/lib/libc/gen: getgrent.c
Added Files:
src/lib/libc/gen: gr_private.h
Log Message:
Rename various "internal" variables and functions and make non-static so other
internal libc source files can use these (including getgroupmembership(3)).
Be more consistent in the API that the __grscan_<source>() methods use.
In __grscan_compat() support an optional custom 'search' function used when a
"+" lookup is required. Normally this will be getgrent() from group_compat,
but getgroupmembership(3) will use a tailored compat search routine for
efficiency.
To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 src/lib/libc/gen/getgrent.c
cvs rdiff -r0 -r1.1 src/lib/libc/gen/gr_private.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.