Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/include/netgroup.h,v retrieving revision 1.7 retrieving revision 1.10 diff -u -p -r1.7 -r1.10 --- src/include/netgroup.h 2005/02/03 04:39:32 1.7 +++ src/include/netgroup.h 2009/10/21 01:07:45 1.10 @@ -1,4 +1,4 @@ -/* $NetBSD: netgroup.h,v 1.7 2005/02/03 04:39:32 perry Exp $ */ +/* $NetBSD: netgroup.h,v 1.10 2009/10/21 01:07:45 snj Exp $ */ /* * Copyright (c) 1994 Christos Zoulas @@ -12,11 +12,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by Christos Zoulas. - * 4. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED @@ -38,7 +33,7 @@ #define _PATH_NETGROUP "/etc/netgroup" -#define _PATH_NETGROUP_DB "/etc/netgroup.db" +#define _PATH_NETGROUP_DB "/var/db/netgroup.db" #define _PATH_NETGROUP_MKDB "/usr/sbin/netgroup_mkdb" @@ -68,6 +63,7 @@ int innetgr (const char *, const char * char *_ng_makekey(const char *, const char *, size_t); int _ng_parse(char **, char **, struct netgroup **); void _ng_print(char *, size_t, const struct netgroup *); +void _ng_cycle(const char *, const StringList *); #endif /* _NETGROUP_PRIVATE */ __END_DECLS