Lines Matching refs:netgroup
47 #include <netgroup.h>
62 struct netgroup *_group;
135 /* Read and parse the netgroup file */
145 hdb = ng_reverse(ndb, offsetof(struct netgroup, ng_host));
154 udb = ng_reverse(ndb, offsetof(struct netgroup, ng_user));
197 * ng_load(): Load the netgroup database from a file
208 struct netgroup *ng;
211 /* Open the netgroup file */
243 warnx("Duplicate entry netgroup `%s'",
273 errx(1, "no netgroup key for %s", fmt);
357 struct netgroup *ng;
456 * ng_print(): Pretty print a netgroup entry
484 errx(1, "Internal error: Bad netgroup type");
493 * ng_rprint(): Pretty print all reverse netgroup mappings in the given entry