summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-01 13:07:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-01 13:07:50 +0000
commit84683bfa10c46394f740a9628e88c1d4e2c6dd2d (patch)
tree740142a3f513fb01a412a495f38f23f5097ae7b7 /include
parentd27782f7852fd0e0a185927d1dd527eb33a0a3a3 (diff)
from netbsd; Added private functions
Diffstat (limited to 'include')
-rw-r--r--include/netgroup.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/netgroup.h b/include/netgroup.h
index 6d1ab836cc2..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 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_ */