Lines Matching defs:ng
68 struct irs_ng *ng;
71 if (!(ng = memget(sizeof *ng))) {
75 memset(ng, 0x5e, sizeof *ng);
77 memput(ng, sizeof *ng);
84 ng->private = pvt;
85 ng->close = ng_close;
86 ng->next = ng_next;
87 ng->test = ng_test;
88 ng->rewind = ng_rewind;
89 ng->minimize = ng_minimize;
90 return (ng);
111 struct irs_ng *ng;
114 ng = pvt->rule->inst->ng;
115 if ((*ng->next)(ng, host, user, domain) == 1)
121 ng = pvt->rule->inst->ng;
122 (*ng->rewind)(ng, pvt->curgroup);
134 struct irs_ng *ng;
139 ng = rule->inst->ng;
140 rval = (*ng->test)(ng, name, user, host, domain);
150 struct irs_ng *ng;
157 ng = pvt->rule->inst->ng;
158 (*ng->rewind)(ng, pvt->curgroup);
168 struct irs_ng *ng = rule->inst->ng;
170 (*ng->minimize)(ng);