Home | History | Annotate | Line # | Download | only in libhack
getnetgr.c revision 1.3
      1 /*	$NetBSD: getnetgr.c,v 1.3 1999/03/13 19:08:44 sommerfe Exp $	*/
      2 
      3 #include <netgroup.h>
      4 
      5 /*
      6  * Just stub these out, so it looks like
      7  * we are not in any any netgroups.
      8  */
      9 
     10 void
     11 endnetgrent()
     12 {
     13 }
     14 
     15 void
     16 setnetgrent(ng)
     17 	const char	*ng;
     18 {
     19 }
     20 
     21 int
     22 getnetgrent(host, user, domain)
     23 	const char	**host;
     24 	const char	**user;
     25 	const char	**domain;
     26 {
     27 	return 0;
     28 }
     29 
     30 int
     31 innetgr(grp, host, user, domain)
     32 	const char	*grp, *host, *user, *domain;
     33 {
     34 	return 0;
     35 }
     36