Searched refs:ng_host (Results 1 - 4 of 4) sorted by path

/netbsd-current/external/bsd/libbind/dist/irs/
H A Dlcl_ng.c205 const char *ng_host, *ng_user, *ng_domain; local
208 while (ng_next(this, &ng_host, &ng_user, &ng_domain))
209 if ((host == NULL || ng_host == NULL ||
210 !strcmp(host, ng_host)) &&
/netbsd-current/include/
H A Dnetgroup.h50 __aconst char *ng_host; /* host name */ member in struct:netgroup
/netbsd-current/lib/libc/gen/
H A Dgetnetgrent.c157 if (!getstring(pp, ',', &ng->ng_host))
179 if (ng->ng_host)
180 free(ng->ng_host);
481 if ((host != NULL) && (ng->ng_host != NULL)
482 && strcmp(ng->ng_host, host) != 0)
551 if (ng->ng_host != NULL)
552 free(ng->ng_host);
607 (void)snprintf(buf, len, "(%s,%s,%s)", _NG_EMPTY(ng->ng_host),
688 if (_nglist->ng_host != NULL)
689 free(_nglist->ng_host);
[all...]
/netbsd-current/usr.sbin/netgroup_mkdb/
H A Dnetgroup_mkdb.c145 hdb = ng_reverse(ndb, offsetof(struct netgroup, ng_host));
493 NG_EMPTY(e->n_group->ng_host),

Completed in 360 milliseconds