source: trunk/debathena/debathena/libnss-nonlocal/nonlocal.h @ 23113

Revision 23113, 361 bytes checked in by andersk, 16 years ago (diff)
In libnss-nonlocal: * Replace the magic buflen hack with explicit iteration over the nss chain, so that getpwent/getgrent works with nscd enabled. * Fix some memory leaks. * Autotoolfiscate. * Code cleanup.
Line 
1#ifndef NONLOCAL_H
2#define NONLOCAL_H
3
4#include "config.h"
5
6enum nss_status check_nonlocal_uid(const char *user, uid_t uid, int *errnop);
7enum nss_status check_nonlocal_gid(const char *user, gid_t gid, int *errnop);
8enum nss_status check_nonlocal_user(const char *user, int *errnop);
9
10#define NONLOCAL_IGNORE_ENV "NSS_NONLOCAL_IGNORE"
11
12#endif /* NON_LOCAL_H */
Note: See TracBrowser for help on using the repository browser.