Lines Matching refs:ng
96 struct irs_ng *ng; in setnetgrent_p() local
98 if ((net_data != NULL) && ((ng = net_data->ng) != NULL)) in setnetgrent_p()
99 (*ng->rewind)(ng, netgroup); in setnetgrent_p()
104 struct irs_ng *ng; in endnetgrent_p() local
108 if ((ng = net_data->ng) != NULL) in endnetgrent_p()
109 (*ng->close)(ng); in endnetgrent_p()
110 net_data->ng = NULL; in endnetgrent_p()
117 struct irs_ng *ng; in innetgr_p() local
119 if (!net_data || !(ng = net_data->ng)) in innetgr_p()
121 return ((*ng->test)(ng, netgroup, host, user, domain)); in innetgr_p()
127 struct irs_ng *ng; in getnetgrent_p() local
129 if (!net_data || !(ng = net_data->ng)) in getnetgrent_p()
131 return ((*ng->next)(ng, host, user, domain)); in getnetgrent_p()
142 if (!net_data->ng) { in init()
143 net_data->ng = (*net_data->irs->ng_map)(net_data->irs); in init()
144 if (!net_data->ng) { in init()