/netbsd-src/external/bsd/nsd/dist/ |
H A D | configparser.y | 31 extern config_parser_state_type *cfg_parser; 250 struct ip_address_option *ip = cfg_parser->opt->ip_addresses; 253 cfg_parser->opt->ip_addresses = $2; 259 cfg_parser->ip = $2; 263 cfg_parser->ip = NULL; 268 cfg_parser->opt->server_count = (int)$2; 274 { cfg_parser->opt->ip_transparent = $2; } 276 { cfg_parser->opt->ip_freebind = $2; } 278 { cfg_parser->opt->send_buffer_size = (int)$2; } 280 { cfg_parser->opt->receive_buffer_size = (int)$2; } [all …]
|
H A D | configparser.c | 99 extern config_parser_state_type *cfg_parser; 1614 struct ip_address_option *ip = cfg_parser->opt->ip_addresses; in yyparse() 1617 cfg_parser->opt->ip_addresses = (yyvsp[0].ip); in yyparse() 1623 cfg_parser->ip = (yyvsp[0].ip); in yyparse() 1631 cfg_parser->ip = NULL; in yyparse() 1640 cfg_parser->opt->server_count = (int)(yyvsp[0].llng); in yyparse() 1650 { cfg_parser->opt->ip_transparent = (yyvsp[0].bln); } in yyparse() 1656 { cfg_parser->opt->ip_freebind = (yyvsp[0].bln); } in yyparse() 1662 { cfg_parser->opt->send_buffer_size = (int)(yyvsp[0].llng); } in yyparse() 1668 { cfg_parser->opt->receive_buffer_size = (int)(yyvsp[0].llng); } in yyparse() [all …]
|
H A D | configlexer.lex | 73 s->filename = cfg_parser->filename; in config_start_include() 74 s->line = cfg_parser->line; in config_start_include() 79 cfg_parser->filename = nm; in config_start_include() 80 cfg_parser->line = 1; in config_start_include() 91 if (cfg_parser->chroot) { in config_start_include_glob() 92 int l = strlen(cfg_parser->chroot); /* chroot has trailing slash */ in config_start_include_glob() 93 if (strncmp(cfg_parser->chroot, filename, l) != 0) { in config_start_include_glob() 95 filename, cfg_parser->chroot); in config_start_include_glob() 143 free(cfg_parser->filename); in config_end_include() 144 cfg_parser->filename = s->filename; in config_end_include() [all …]
|
H A D | options.c | 26 config_parser_state_type* cfg_parser = 0; variable 211 if(!cfg_parser) { in parse_options_file() 212 cfg_parser = (config_parser_state_type*)region_alloc( in parse_options_file() 214 cfg_parser->chroot = 0; in parse_options_file() 216 cfg_parser->err = err; in parse_options_file() 217 cfg_parser->err_arg = err_arg; in parse_options_file() 218 cfg_parser->filename = (char*)file; in parse_options_file() 219 cfg_parser->line = 1; in parse_options_file() 220 cfg_parser->errors = 0; in parse_options_file() 221 cfg_parser->opt = opt; in parse_options_file() [all …]
|
H A D | configlexer.c | 2103 s->filename = cfg_parser->filename; in config_start_include() 2104 s->line = cfg_parser->line; in config_start_include() 2109 cfg_parser->filename = nm; in config_start_include() 2110 cfg_parser->line = 1; in config_start_include() 2121 if (cfg_parser->chroot) { in config_start_include_glob() 2122 int l = strlen(cfg_parser->chroot); /* chroot has trailing slash */ in config_start_include_glob() 2123 if (strncmp(cfg_parser->chroot, filename, l) != 0) { in config_start_include_glob() 2125 filename, cfg_parser->chroot); in config_start_include_glob() 2173 free(cfg_parser->filename); in config_end_include() 2174 cfg_parser->filename = s->filename; in config_end_include() [all …]
|
H A D | options.h | 446 extern config_parser_state_type* cfg_parser;
|
H A D | nsd.c | 65 extern config_parser_state_type* cfg_parser; 1649 cfg_parser->chroot = nsd.chrootdir; in main()
|
/netbsd-src/external/bsd/unbound/dist/util/ |
H A D | configparser.y | 59 extern struct config_parser_state* cfg_parser; 217 cfg_parser->started_toplevel = 0; 224 cfg_parser->started_toplevel = 1; 342 cfg_parser->started_toplevel = 1; 345 s->next = cfg_parser->cfg->stubs; 346 cfg_parser->cfg->stubs = s; 361 cfg_parser->started_toplevel = 1; 364 s->next = cfg_parser->cfg->forwards; 365 cfg_parser->cfg->forwards = s; 380 cfg_parser->started_toplevel = 1; [all …]
|
H A D | configparser.c | 92 extern struct config_parser_state* cfg_parser; 2917 cfg_parser->started_toplevel = 0; in yyparse() 2926 cfg_parser->started_toplevel = 1; in yyparse() 2936 cfg_parser->started_toplevel = 1; in yyparse() 2939 s->next = cfg_parser->cfg->stubs; in yyparse() 2940 cfg_parser->cfg->stubs = s; in yyparse() 2953 cfg_parser->started_toplevel = 1; in yyparse() 2956 s->next = cfg_parser->cfg->forwards; in yyparse() 2957 cfg_parser->cfg->forwards = s; in yyparse() 2970 cfg_parser->started_toplevel = 1; in yyparse() [all …]
|
H A D | configlexer.lex | 83 if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot, in config_start_include() 84 strlen(cfg_parser->chroot)) == 0) { in config_start_include() 85 filename += strlen(cfg_parser->chroot); in config_start_include() 103 s->filename = cfg_parser->filename; in config_start_include() 104 s->line = cfg_parser->line; in config_start_include() 109 cfg_parser->filename = nm; in config_start_include() 110 cfg_parser->line = 1; in config_start_include() 138 if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot, in config_start_include_glob() 139 strlen(cfg_parser->chroot)) == 0) { in config_start_include_glob() 140 filename += strlen(cfg_parser->chroot); in config_start_include_glob() [all …]
|
H A D | configlexer.c | 4183 if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot, in config_start_include() 4184 strlen(cfg_parser->chroot)) == 0) { in config_start_include() 4185 filename += strlen(cfg_parser->chroot); in config_start_include() 4203 s->filename = cfg_parser->filename; in config_start_include() 4204 s->line = cfg_parser->line; in config_start_include() 4209 cfg_parser->filename = nm; in config_start_include() 4210 cfg_parser->line = 1; in config_start_include() 4238 if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot, in config_start_include_glob() 4239 strlen(cfg_parser->chroot)) == 0) { in config_start_include_glob() 4240 filename += strlen(cfg_parser->chroot); in config_start_include_glob() [all …]
|
H A D | config_file.c | 86 struct config_parser_state* cfg_parser = 0; variable 1349 cfg_parser = &st; in create_cfg_parser() 1350 cfg_parser->filename = filename; in create_cfg_parser() 1351 cfg_parser->line = 1; in create_cfg_parser() 1352 cfg_parser->errors = 0; in create_cfg_parser() 1353 cfg_parser->cfg = cfg; in create_cfg_parser() 1354 cfg_parser->chroot = chroot; in create_cfg_parser() 1355 cfg_parser->started_toplevel = 0; in create_cfg_parser() 1439 if(cfg_parser->errors != 0) { in config_read() 1441 fname, cfg_parser->errors); in config_read() [all …]
|
H A D | config_file.h | 1319 extern struct config_parser_state* cfg_parser;
|
/netbsd-src/external/bsd/unbound/dist/contrib/ |
H A D | redirect-bogus.patch | 218 + if(cfg_parser->cfg->redirect_bogus_ipv4) { 224 + free(cfg_parser->cfg->redirect_bogus_ipv4); 225 + cfg_parser->cfg->redirect_bogus_ipv4 = $2; 232 + if(cfg_parser->cfg->redirect_bogus_ipv6) { 238 + free(cfg_parser->cfg->redirect_bogus_ipv6); 239 + cfg_parser->cfg->redirect_bogus_ipv6 = $2;
|
H A D | drop-tld.diff | 50 @@ -164,6 +164,7 @@ extern struct config_parser_state* cfg_parser; 76 + else cfg_parser->cfg->drop_tld = (strcmp($2, "yes")==0);
|
H A D | aaaa-filter-iterator.patch | 382 @@ -97,6 +97,7 @@ extern struct config_parser_state* cfg_parser; 407 + else cfg_parser->cfg->aaaa_filter = (strcmp($2, "yes")==0);
|
H A D | fastrpz.patch | 3222 @@ -128,6 +128,7 @@ extern struct config_parser_state* cfg_parser; 3230 @@ -179,7 +180,7 @@ extern struct config_parser_state* cfg_parser; 3257 + else cfg_parser->cfg->rpz_enable = (strcmp($2, "yes")==0); 3266 + old_cstr = cfg_parser->cfg->rpz_cstr; 3271 + cfg_parser->cfg->rpz_cstr = new_cstr; 3279 + old_cstr = cfg_parser->cfg->rpz_cstr; 3284 + cfg_parser->cfg->rpz_cstr = new_cstr;
|
/netbsd-src/external/bsd/nsd/dist/doc/ |
H A D | NEW-CFG-OPTION | 39 cfg_parser->opt->dummy = 40 region_strdup(cfg_parser->opt->region, $2);
|
/netbsd-src/external/ibm-public/postfix/dist/src/global/ |
H A D | Makefile.in | 3 canon_addr.c cfg_parser.c cleanup_strerror.c cleanup_strflags.c \ 42 canon_addr.o cfg_parser.o cleanup_strerror.o cleanup_strflags.o \ 86 canon_addr.h cfg_parser.h cleanup_user.h clnt_stream.h config.h \ 935 cfg_parser.o: ../../include/argv.h 936 cfg_parser.o: ../../include/check_arg.h 937 cfg_parser.o: ../../include/dict.h 938 cfg_parser.o: ../../include/msg.h 939 cfg_parser.o: ../../include/myflock.h 940 cfg_parser.o: ../../include/mymalloc.h 941 cfg_parser.o: ../../include/sys_defs.h [all …]
|
/netbsd-src/external/mpl/bind/dist/lib/isccfg/include/isccfg/ |
H A D | cfg.h | 48 typedef struct cfg_parser cfg_parser_t;
|
H A D | grammar.h | 202 struct cfg_parser { struct 203 mctxcfg_parser global() argument 204 lctxcfg_parser global() argument 205 lexercfg_parser global() argument 206 errorscfg_parser global() argument 207 warningscfg_parser global() argument 208 tokencfg_parser global() argument 211 seen_eofcfg_parser global() argument 214 ungottencfg_parser global() argument 223 open_filescfg_parser global() argument 234 closed_filescfg_parser global() argument 240 buf_namecfg_parser global() argument 247 linecfg_parser global() argument 253 flagscfg_parser global() argument 256 referencescfg_parser global() argument 258 callbackcfg_parser global() argument 259 callbackargcfg_parser global() argument
|
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isccfg/include/isccfg/ |
H A D | cfg.h | 49 typedef struct cfg_parser cfg_parser_t;
|
H A D | grammar.h | 228 struct cfg_parser { struct
|
/netbsd-src/external/ibm-public/postfix/lib/global/ |
H A D | Makefile | 21 cfg_parser.c \
|
/netbsd-src/external/ibm-public/postfix/dist/ |
H A D | HISTORY | 16248 handling of out-of-range numbers. Files: global/cfg_parser.c, 16683 src/global/dict_ldap.c src/global/cfg_parser.h 16684 src/global/cfg_parser.c. 17523 src/global/cfg_parser.c, src/util/dict_thash.c, 21008 Cleanup: removed unnecessary casts. File: global/cfg_parser.c.
|