diff options
Diffstat (limited to 'usr/src/lib/libresolv2/include/netgroup.h')
-rw-r--r-- | usr/src/lib/libresolv2/include/netgroup.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/usr/src/lib/libresolv2/include/netgroup.h b/usr/src/lib/libresolv2/include/netgroup.h new file mode 100644 index 0000000000..36cc9a742f --- /dev/null +++ b/usr/src/lib/libresolv2/include/netgroup.h @@ -0,0 +1,26 @@ +/* + * Copyright 2002 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. + */ + +#pragma ident "%Z%%M% %I% %E% SMI" + +#ifdef ORIGINAL_ISC_CODE +#ifndef netgroup_h +#define netgroup_h + +int getnetgrent(const char **machinep, const char **userp, + const char **domainp); + +int getnetgrent_r(char **machinep, char **userp, char **domainp, + char *buffer, int buflen); + +void setnetgrent(const char *netgroup); + +void endnetgrent(void); + +int innetgr(const char *netgroup, const char *machine, + const char *user, const char *domain); + +#endif +#endif /* ORIGINAL_ISC_CODE */ |