RFC: NSS prototypes
Ulrich Drepper
drepper@redhat.com
Mon Dec 18 08:50:00 GMT 2000
Thorsten Kukuk <kukuk@suse.de> writes:
> I could use them, but struct __netgrent can only handle the case
> where you have one module in the /etc/nsswitch.conf netgroup line,
> not more. One module will overwrite the data from the previous
> module.
If you look closely you'll see that the reason why the structure is
passed to setnetgrent is to get around the problem of having a static
buffer and also to allow multi-threaded applications. I remember that
the NIS stuff had some limitations but I think at least the
multi-threaded use should be possible.
I don't care enough about this to argue and since I won't do the
implementation myself I leave it up to you. Please provide some kind
of documentation about the limitations (perhaps in the FAQ).
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-hacker
mailing list