summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-05-01 13:07:49 +0000
committerderaadt <deraadt@openbsd.org>1996-05-01 13:07:49 +0000
commitbb36c6caa7518ec776ee6e89d2566c7cac39bf9c (patch)
treed105f86179401b3488c6b3fe6fa146da7b8d9ed1
parenttypo in __STRICT_ANSI__ (diff)
downloadwireguard-openbsd-bb36c6caa7518ec776ee6e89d2566c7cac39bf9c.tar.xz
wireguard-openbsd-bb36c6caa7518ec776ee6e89d2566c7cac39bf9c.zip
from netbsd; Added private functions
-rw-r--r--include/netgroup.h14
1 files changed, 13 insertions, 1 deletions
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_ */