Searched refs:add_rule (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | gen.c | 120 static int add_rule(struct gen_p *, 289 add_rule(struct gen_p *irs, in add_rule() function 377 add_rule(irs, irs_gr, irs_lcl, ""); in default_map_rules() 378 add_rule(irs, irs_pw, irs_lcl, ""); in default_map_rules() 379 add_rule(irs, irs_sv, irs_lcl, ""); in default_map_rules() 380 add_rule(irs, irs_pr, irs_lcl, ""); in default_map_rules() 383 add_rule(irs, irs_ho, irs_dns, ""); in default_map_rules() 385 add_rule(irs, irs_ho, irs_dns, "continue"); in default_map_rules() 386 add_rule(irs, irs_ho, irs_lcl, ""); in default_map_rules() 389 add_rule(irs, irs_ho, irs_dns, "continue"); in default_map_rules() [all …]
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | rules.c | 61 static errmask_t add_rule(struct base *, int, const char *); 168 errs |= add_rule(bp, R_PROGRAM, in read_rules() 173 errs |= add_rule(bp, flags, s); in read_rules() 192 errs |= add_rule(bp, R_PROGRAM|flags, in read_rules() 198 errs |= add_rule(bp, flags, s); in read_rules() 429 static errmask_t add_rule(struct base *bp, int flags, const char *args) in add_rule() function 497 return (add_rule(bp, flags, name)); in add_ignore() 512 return (add_rule(bp, flags, name)); in add_include() 568 errs |= add_rule(bp, R_RESTRICT, s); in add_restr()
|