diff options
| author | christos <christos@NetBSD.org> | 1996-04-27 18:57:51 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 1996-04-27 18:57:51 +0000 |
| commit | 00fd3c5cd9d0972aba7a65bccac65a2c6ceeaff9 (patch) | |
| tree | c954dca95589f48492f1b6635c6f61c5f78b6abc /include | |
| parent | 5d0cf0b1fadc6b56a0b5ddc6c892e887be8f4d55 (diff) | |
Added private functions.
Diffstat (limited to 'include')
| -rw-r--r-- | include/netgroup.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/netgroup.h b/include/netgroup.h index 6008a175b81..9ac9045e9a9 100644 --- a/include/netgroup.h +++ b/include/netgroup.h @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: netgroup.h,v 1.1 1994/12/03 00:00:58 christos Exp $ + * $Id: netgroup.h,v 1.2 1996/04/27 18:57:51 christos Exp $ */ #ifndef _NETGROUP_H_ #define _NETGROUP_H_ @@ -63,6 +63,18 @@ int getnetgrent __P((const char **, const char **, const char **)); void endnetgrent __P((void)); int innetgr __P((const char *, const char *, const char *, const char *)); +#ifdef _NETGROUP_PRIVATE +struct stringlist; + +struct stringlist *_ng_sl_init __P((void)); +void _ng_sl_add __P((struct stringlist *, char *)); +void _ng_sl_free __P((struct stringlist *, int)); +char *_ng_sl_find __P((struct stringlist *, char *)); +char *_ng_makekey __P((const char *, const char *, size_t)); +int _ng_parse __P((char **, char **, struct netgroup **)); +void _ng_print __P((char *, size_t, const struct netgroup *)); +#endif /* _NETGROUP_PRIVATE */ + __END_DECLS #endif /* !_NETGROUP_H_ */ |
