netgroup
struct netgroup *ng_next; /* thread */
int _ng_parse(char **, char **, struct netgroup **);
void _ng_print(char *, size_t, const struct netgroup *);
static struct netgroup *
struct netgroup *ng;
ng = malloc(sizeof(struct netgroup));
_ng_parse(char **p, char **name, struct netgroup **ng)
struct netgroup *ng;
struct netgroup *ng)
struct netgroup *ng;
_ng_print(char *buf, size_t len, const struct netgroup *ng)
static struct netgroup *_nghead = NULL;
static struct netgroup *_nglist = NULL;
static struct netgroup *getnetgroup(char **);
struct netgroup *);
{ "netgroup", netgroup, },
static int netgroup(int, char *[]);
hdb = ng_reverse(ndb, offsetof(struct netgroup, ng_host));
udb = ng_reverse(ndb, offsetof(struct netgroup, ng_user));
struct netgroup *ng;
struct netgroup *ng;
struct netgroup *_group;
netgroup = optarg;
if (strcmp(netgroup, "-")) {
if ((fp = fopen(netgroup, "r")) == NULL) {
err(1, "%s", netgroup);
const char *netgroup = "/etc/netgroup";