Home
last modified time | relevance | path

Searched refs:lctx (Results 1 – 25 of 48) sorted by relevance

12

/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dmaster.c114 isc_result_t (*openfile)(dns_loadctx_t *lctx, const char *filename);
115 isc_result_t (*load)(dns_loadctx_t *lctx);
176 #define DNS_LCTX_VALID(lctx) ISC_MAGIC_VALID(lctx, DNS_LCTX_MAGIC) argument
181 openfile_text(dns_loadctx_t *lctx, const char *master_file);
184 load_text(dns_loadctx_t *lctx);
187 openfile_raw(dns_loadctx_t *lctx, const char *master_file);
190 load_raw(dns_loadctx_t *lctx);
193 openfile_map(dns_loadctx_t *lctx, const char *master_file);
196 load_map(dns_loadctx_t *lctx);
199 pushfile(const char *master_file, dns_name_t *origin, dns_loadctx_t *lctx);
[all …]
H A Dlog.c76 dns_log_init(isc_log_t *lctx) { in dns_log_init() argument
77 REQUIRE(lctx != NULL); in dns_log_init()
79 isc_log_registercategories(lctx, dns_categories); in dns_log_init()
80 isc_log_registermodules(lctx, dns_modules); in dns_log_init()
84 dns_log_setcontext(isc_log_t *lctx) { in dns_log_setcontext() argument
85 dns_lctx = lctx; in dns_log_setcontext()
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Dmaster.c112 isc_result_t (*openfile)(dns_loadctx_t *lctx, const char *filename);
113 isc_result_t (*load)(dns_loadctx_t *lctx);
172 #define DNS_LCTX_VALID(lctx) ISC_MAGIC_VALID(lctx, DNS_LCTX_MAGIC)
177 openfile_text(dns_loadctx_t *lctx, const char *master_file);
180 load_text(dns_loadctx_t *lctx);
183 openfile_raw(dns_loadctx_t *lctx, const char *master_file);
186 load_raw(dns_loadctx_t *lctx);
189 pushfile(const char *master_file, dns_name_t *origin, dns_loadctx_t *lctx);
207 loadctx_destroy(dns_loadctx_t *lctx);
176 DNS_LCTX_VALID(lctx) global() argument
296 MANYERRS(lctx,result) global() argument
300 SETRESULT(lctx,r) global() argument
341 dns_master_isprimary(dns_loadctx_t * lctx) dns_master_isprimary() argument
409 dns_loadctx_t *lctx; dns_loadctx_detach() local
438 loadctx_destroy(dns_loadctx_t * lctx) loadctx_destroy() argument
508 dns_loadctx_t *lctx; loadctx_create() local
796 generate(dns_loadctx_t * lctx,char * range,char * lhs,char * gtype,char * rhs,const char * source,unsigned int line) generate() argument
976 check_ns(dns_loadctx_t * lctx,isc_token_t * token,const char * source,unsigned long line) check_ns() argument
1035 openfile_text(dns_loadctx_t * lctx,const char * master_file) openfile_text() argument
1053 load_text(dns_loadctx_t * lctx) load_text() argument
2181 pushfile(const char * master_file,dns_name_t * origin,dns_loadctx_t * lctx) pushfile() argument
2263 load_header(dns_loadctx_t * lctx) load_header() argument
2338 openfile_raw(dns_loadctx_t * lctx,const char * master_file) openfile_raw() argument
2351 load_raw(dns_loadctx_t * lctx) load_raw() argument
2660 dns_loadctx_t *lctx = NULL; dns_master_loadfile() local
2694 dns_loadctx_t *lctx = NULL; dns_master_loadfileinc() local
2730 dns_loadctx_t *lctx = NULL; dns_master_loadstream() local
2763 dns_loadctx_t *lctx = NULL; dns_master_loadstreaminc() local
2799 dns_loadctx_t *lctx = NULL; dns_master_loadbuffer() local
2831 dns_loadctx_t *lctx = NULL; dns_master_loadbufferinc() local
2865 dns_loadctx_t *lctx = NULL; dns_master_loadlexer() local
2890 dns_loadctx_t *lctx = NULL; dns_master_loadlexerinc() local
3030 resign_fromlist(dns_rdatalist_t * this,dns_loadctx_t * lctx) resign_fromlist() argument
3063 commit(dns_rdatacallbacks_t * callbacks,dns_loadctx_t * lctx,rdatalist_head_t * head,dns_name_t * owner,const char * source,unsigned int line) commit() argument
3161 dns_loadctx_t *lctx; load_quantum() local
3183 task_send(dns_loadctx_t * lctx) task_send() argument
3193 dns_loadctx_cancel(dns_loadctx_t * lctx) dns_loadctx_cancel() argument
[all...]
H A Dlog.c61 dns_log_init(isc_log_t *lctx) {
62 REQUIRE(lctx != NULL);
64 isc_log_registercategories(lctx, dns_categories); in dns_log_init()
65 isc_log_registermodules(lctx, dns_modules); in dns_log_init()
69 dns_log_setcontext(isc_log_t *lctx) {
70 dns_lctx = lctx;
63 dns_log_init(isc_log_t * lctx) dns_log_init() argument
71 dns_log_setcontext(isc_log_t * lctx) dns_log_setcontext() argument
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Dlog.c43 #define VALID_CONTEXT(lctx) ISC_MAGIC_VALID(lctx, LCTX_MAGIC)
112 isc_log_t *lctx;
217 sync_highest_level(isc_log_t *lctx, isc_logconfig_t *lcfg);
223 isc_log_doit(isc_log_t *lctx, isc_logcategory_t *category,
250 isc_log_t *lctx;
257 lctx = isc_mem_get(mctx, sizeof(*lctx)); in isc_log_create() local
262 * If either fails, the lctx is destroyed and not returned in isc_log_create()
265 *lctx in isc_log_create()
44 VALID_CONTEXT(lctx) global() argument
118 isc_log_t *lctx; global() member
305 isc_logconfig_create(isc_log_t * lctx,isc_logconfig_t ** lcfgp) isc_logconfig_create() argument
363 isc_logconfig_use(isc_log_t * lctx,isc_logconfig_t * lcfg) isc_logconfig_use() argument
388 isc_log_t *lctx; isc_log_destroy() local
508 isc_log_registercategories(isc_log_t * lctx,isc_logcategory_t categories[]) isc_log_registercategories() argument
554 isc_log_categorybyname(isc_log_t * lctx,const char * name) isc_log_categorybyname() argument
579 isc_log_registermodules(isc_log_t * lctx,isc_logmodule_t modules[]) isc_log_registermodules() argument
625 isc_log_modulebyname(isc_log_t * lctx,const char * name) isc_log_modulebyname() argument
732 isc_log_t *lctx; isc_log_usechannel() local
778 isc_log_write(isc_log_t * lctx,isc_logcategory_t * category,isc_logmodule_t * module,int level,const char * format,...) isc_log_write() argument
792 isc_log_vwrite(isc_log_t * lctx,isc_logcategory_t * category,isc_logmodule_t * module,int level,const char * format,va_list args) isc_log_vwrite() argument
802 isc_log_write1(isc_log_t * lctx,isc_logcategory_t * category,isc_logmodule_t * module,int level,const char * format,...) isc_log_write1() argument
816 isc_log_vwrite1(isc_log_t * lctx,isc_logcategory_t * category,isc_logmodule_t * module,int level,const char * format,va_list args) isc_log_vwrite1() argument
826 isc_log_setcontext(isc_log_t * lctx) isc_log_setcontext() argument
831 isc_log_setdebuglevel(isc_log_t * lctx,unsigned int level) isc_log_setdebuglevel() argument
863 isc_log_getdebuglevel(isc_log_t * lctx) isc_log_getdebuglevel() argument
914 isc_log_closefilelogs(isc_log_t * lctx) isc_log_closefilelogs() argument
944 isc_log_t *lctx; assignchannel() local
988 isc_log_t *lctx; sync_channellist() local
1019 sync_highest_level(isc_log_t * lctx,isc_logconfig_t * lcfg) sync_highest_level() argument
1472 isc_log_wouldlog(isc_log_t * lctx,int level) isc_log_wouldlog() argument
1505 isc_log_doit(isc_log_t * lctx,isc_logcategory_t * category,isc_logmodule_t * module,int level,bool write_once,const char * format,va_list args) isc_log_doit() argument
[all...]
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dlog.c42 #define VALID_CONTEXT(lctx) ISC_MAGIC_VALID(lctx, LCTX_MAGIC) argument
114 isc_log_t *lctx; member
221 sync_highest_level(isc_log_t *lctx, isc_logconfig_t *lcfg);
227 isc_log_doit(isc_log_t *lctx, isc_logcategory_t *category,
254 isc_log_t *lctx; in isc_log_create() local
261 lctx = isc_mem_get(mctx, sizeof(*lctx)); in isc_log_create()
262 lctx->mctx = NULL; in isc_log_create()
263 isc_mem_attach(mctx, &lctx->mctx); in isc_log_create()
264 lctx->categories = NULL; in isc_log_create()
265 lctx->category_count = 0; in isc_log_create()
[all …]
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
H A Dlog.h213 isc_logconfig_create(isc_log_t *lctx, isc_logconfig_t **lcfgp);
255 isc_logconfig_use(isc_log_t *lctx, isc_logconfig_t *lcfg);
308 isc_log_registercategories(isc_log_t *lctx, isc_logcategory_t categories[]);
346 isc_log_registermodules(isc_log_t *lctx, isc_logmodule_t modules[]);
544 isc_log_write(isc_log_t *lctx, isc_logcategory_t *category,
582 isc_log_vwrite(isc_log_t *lctx, isc_logcategory_t *category,
594 isc_log_write1(isc_log_t *lctx, isc_logcategory_t *category,
605 isc_log_vwrite1(isc_log_t *lctx, isc_logcategory_t *category,
612 isc_log_setdebuglevel(isc_log_t *lctx, unsigned int level);
627 isc_log_getdebuglevel(isc_log_t *lctx);
[all …]
/netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/
H A Dlog.h212 isc_logconfig_create(isc_log_t *lctx, isc_logconfig_t **lcfgp);
244 *\li lctx is a valid logging context.
254 isc_logconfig_use(isc_log_t *lctx, isc_logconfig_t *lcfg);
265 *\li lctx is a valid logging context.
267 *\li lctx is the same configuration given to isc_logconfig_create
280 *\li *lctx is a valid logging context.
307 isc_log_registercategories(isc_log_t *lctx, isc_logcategory_t categories[]);
335 *\li lctx is a valid logging context.
345 isc_log_registermodules(isc_log_t *lctx, isc_logmodule_t modules[]);
373 *\li lctx i
[all...]
/netbsd-src/external/mpl/bind/dist/lib/isccfg/
H A Daclconf.c123 isc_log_t *lctx, cfg_aclconfctx_t *ctx, isc_mem_t *mctx, in convert_named_acl()
137 cfg_obj_log(nameobj, lctx, ISC_LOG_ERROR, in convert_named_acl()
148 cfg_obj_log(nameobj, lctx, ISC_LOG_WARNING, in convert_named_acl()
160 result = cfg_acl_fromconfig(cacl, cctx, lctx, ctx, mctx, nest_level, in convert_named_acl()
175 convert_keyname(const cfg_obj_t *keyobj, isc_log_t *lctx, isc_mem_t *mctx,
190 cfg_obj_log(keyobj, lctx, ISC_LOG_WARNING, in convert_keyname()
208 isc_log_t *lctx, cfg_aclconfctx_t *ctx, isc_mem_t *mctx, in count_acl_elements()
240 result = count_acl_elements(ce, cctx, lctx, ctx, mctx, in count_acl_elements()
268 result = convert_named_acl(ce, cctx, lctx, ctx, in count_acl_elements()
290 get_subtype(const cfg_obj_t *obj, isc_log_t *lctx, dns_geoip_subtype_
124 convert_named_acl(const cfg_obj_t * nameobj,const cfg_obj_t * cctx,isc_log_t * lctx,cfg_aclconfctx_t * ctx,isc_mem_t * mctx,unsigned int nest_level,dns_acl_t ** target) convert_named_acl() argument
176 convert_keyname(const cfg_obj_t * keyobj,isc_log_t * lctx,isc_mem_t * mctx,dns_name_t * dnsname) convert_keyname() argument
209 count_acl_elements(const cfg_obj_t * caml,const cfg_obj_t * cctx,isc_log_t * lctx,cfg_aclconfctx_t * ctx,isc_mem_t * mctx,uint32_t * count,bool * has_negative) count_acl_elements() argument
291 get_subtype(const cfg_obj_t * obj,isc_log_t * lctx,dns_geoip_subtype_t subtype,const char * dbname) get_subtype() argument
475 parse_geoip_element(const cfg_obj_t * obj,isc_log_t * lctx,cfg_aclconfctx_t * ctx,dns_aclelement_t * dep) parse_geoip_element() argument
627 cfg_acl_fromconfig(const cfg_obj_t * caml,const cfg_obj_t * cctx,isc_log_t * lctx,cfg_aclconfctx_t * ctx,isc_mem_t * mctx,unsigned int nest_level,dns_acl_t ** target) cfg_acl_fromconfig() argument
635 cfg_acl_fromconfig2(const cfg_obj_t * acl_data,const cfg_obj_t * cctx,isc_log_t * lctx,cfg_aclconfctx_t * ctx,isc_mem_t * mctx,unsigned int nest_level,uint16_t family,dns_acl_t ** target) cfg_acl_fromconfig2() argument
[all...]
H A Dlog.c35 cfg_log_init(isc_log_t *lctx) { in cfg_log_init() argument
36 REQUIRE(lctx != NULL); in cfg_log_init()
38 isc_log_registercategories(lctx, cfg_categories); in cfg_log_init()
39 isc_log_registermodules(lctx, cfg_modules); in cfg_log_init()
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isccfg/
H A Daclconf.c124 isc_log_t *lctx, cfg_aclconfctx_t *ctx, isc_mem_t *mctx, in convert_named_acl() argument
140 cfg_obj_log(nameobj, lctx, ISC_LOG_ERROR, in convert_named_acl()
151 cfg_obj_log(nameobj, lctx, ISC_LOG_WARNING, in convert_named_acl()
163 result = cfg_acl_fromconfig(cacl, cctx, lctx, ctx, mctx, nest_level, in convert_named_acl()
178 convert_keyname(const cfg_obj_t *keyobj, isc_log_t *lctx, isc_mem_t *mctx, in convert_keyname() argument
193 cfg_obj_log(keyobj, lctx, ISC_LOG_WARNING, in convert_keyname()
211 isc_log_t *lctx, cfg_aclconfctx_t *ctx, isc_mem_t *mctx, in count_acl_elements() argument
243 result = count_acl_elements(ce, cctx, lctx, ctx, mctx, in count_acl_elements()
271 result = convert_named_acl(ce, cctx, lctx, ctx, in count_acl_elements()
293 get_subtype(const cfg_obj_t *obj, isc_log_t *lctx, dns_geoip_subtype_t subtype, in get_subtype() argument
[all …]
H A Dlog.c38 cfg_log_init(isc_log_t *lctx) { in cfg_log_init() argument
39 REQUIRE(lctx != NULL); in cfg_log_init()
41 isc_log_registercategories(lctx, cfg_categories); in cfg_log_init()
42 isc_log_registermodules(lctx, cfg_modules); in cfg_log_init()
/netbsd-src/external/mpl/bind/dist/lib/ns/
H A Dlog.c55 ns_log_init(isc_log_t *lctx) { in ns_log_init()
56 REQUIRE(lctx != NULL); in ns_log_init()
58 isc_log_registercategories(lctx, ns_categories); in ns_log_init()
59 isc_log_registermodules(lctx, ns_modules); in ns_log_init()
63 ns_log_setcontext(isc_log_t *lctx) { in ns_log_setcontext()
64 ns_lctx = lctx; in ns_log_setcontext()
54 ns_log_init(isc_log_t * lctx) ns_log_init() argument
62 ns_log_setcontext(isc_log_t * lctx) ns_log_setcontext() argument
H A Dhooks.c212 isc_mem_t *mctx, isc_log_t *lctx, void *actx, in ns_plugin_register() argument
218 REQUIRE(lctx != NULL); in ns_plugin_register()
230 lctx, actx, view->hooktable, in ns_plugin_register()
246 isc_log_t *lctx, void *actx) { in ns_plugin_check() argument
253 lctx, actx); in ns_plugin_check()
/netbsd-src/external/mpl/bind/dist/tests/isccfg/
H A Dparser_test.c58 isc_log_create(mctx, &lctx, &logconfig); in ISC_SETUP_TEST_IMPL()
59 isc_log_registercategories(lctx, categories); in ISC_SETUP_TEST_IMPL()
60 isc_log_setcontext(lctx); in ISC_SETUP_TEST_IMPL()
78 if (lctx == NULL) {
83 isc_log_destroy(&lctx); in ISC_TEARDOWN_TEST_IMPL()
112 result = cfg_parser_create(mctx, lctx, &p); in ISC_RUN_TEST_IMPL()
160 result = cfg_parser_create(mctx, lctx, &p1); in ISC_RUN_TEST_IMPL()
172 result = cfg_parser_create(mctx, lctx, &p2); in ISC_RUN_TEST_IMPL()
44 isc_log_t *lctx = NULL; global() variable
H A Dduration_test.c57 isc_log_create(mctx, &lctx, &logconfig); in ISC_SETUP_TEST_IMPL()
58 isc_log_registercategories(lctx, categories); in ISC_SETUP_TEST_IMPL()
59 isc_log_setcontext(lctx); in ISC_SETUP_TEST_IMPL()
77 if (lctx == NULL) { in ISC_TEARDOWN_TEST_IMPL()
82 isc_log_destroy(&lctx); in ISC_TEARDOWN_TEST_IMPL()
184 result = cfg_parser_create(mctx, lctx, &p1); in ISC_RUN_TEST_IMPL()
42 isc_log_t *lctx = NULL; global() variable
/netbsd-src/external/mpl/bind/dist/doc/misc/
H A Dcfg_test.c64 isc_log_t *lctx = NULL; in main()
78 isc_log_create(mctx, &lctx, &lcfg); in main()
79 isc_log_setcontext(lctx); in main()
97 isc_log_setdebuglevel(lctx, 2); in main()
163 RUNTIME_CHECK(cfg_parser_create(mctx, lctx, &pctx) == in main()
181 isc_log_destroy(&lctx); in main()
65 isc_log_t *lctx = NULL; main() local
/netbsd-src/external/mpl/bind/dist/lib/ns/include/ns/
H A Dhooks.h467 unsigned long line, isc_mem_t *mctx, isc_log_t *lctx,
493 unsigned long line, isc_mem_t *mctx, isc_log_t *lctx,
542 isc_mem_t *mctx, isc_log_t *lctx, void *actx,
562 isc_log_t *lctx, void *actx);
H A Dlog.h52 ns_log_init(isc_log_t *lctx);
58 *\li lctx is a valid logging context.
68 ns_log_setcontext(isc_log_t *lctx);
74 *\li lctx is a valid logging context.
/netbsd-src/external/mpl/bind/dist/bin/tools/
H A Dnamed-journalprint.c71 isc_log_t *lctx = NULL; in main()
115 RUNTIME_CHECK(setup_logging(mctx, stderr, &lctx) == ISC_R_SUCCESS); in main()
132 isc_log_destroy(&lctx); in main()
72 isc_log_t *lctx = NULL; main() local
/netbsd-src/external/mpl/bind/dist/lib/isccfg/include/isccfg/
H A Daclconf.h63 isc_log_t *lctx, cfg_aclconfctx_t *ctx, isc_mem_t *mctx,
H A Dcfg.h92 cfg_parser_create(isc_mem_t *mctx, isc_log_t *lctx, cfg_parser_t **ret);
95 * messages will be logged to 'lctx'.
562 cfg_obj_log(const cfg_obj_t *obj, isc_log_t *lctx, int level, const char *fmt,
609 isc_log_t *lctx, pluginlist_cb_t *callback,
615 * type). Use logging context 'lctx' for logging error messages. Interrupt
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isccfg/include/isccfg/
H A Daclconf.h64 isc_log_t *lctx, cfg_aclconfctx_t *ctx, isc_mem_t *mctx,
69 isc_log_t *lctx, cfg_aclconfctx_t *ctx, isc_mem_t *mctx,
/netbsd-src/external/mpl/bind/dist/lib/dns/include/dns/
H A Ddyndb.h41 isc_log_t *lctx; member
136 dns_dyndb_createctx(isc_mem_t *mctx, const void *hashinit, isc_log_t *lctx,
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/include/dns/
H A Ddyndb.h42 isc_log_t *lctx; member
138 dns_dyndb_createctx(isc_mem_t *mctx, const void *hashinit, isc_log_t *lctx,

12