From bb36c6caa7518ec776ee6e89d2566c7cac39bf9c Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 1 May 1996 13:07:49 +0000 Subject: [PATCH] from netbsd; Added private functions --- include/netgroup.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/include/netgroup.h b/include/netgroup.h index c29dad3903f..49a9910503f 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.1.1 1995/10/18 08:41:13 deraadt Exp $ + * $Id: netgroup.h,v 1.2 1996/05/01 13:07:49 deraadt 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_ */ -- 2.20.1