Searched defs:callbacks (Results 1 - 19 of 19) sorted by relevance

/bind-9.11.3/lib/dns/
H A Dcallbacks.c9 /* $Id: callbacks.c,v 1.19.40.1 2012/02/07 00:44:13 each Exp $ */
18 #include <dns/callbacks.h>
26 isclog_error_callback(dns_rdatacallbacks_t *callbacks, const char *fmt, ...)
30 isclog_warn_callback(dns_rdatacallbacks_t *callbacks, const char *fmt, ...)
38 stdio_error_warn_callback(dns_rdatacallbacks_t *callbacks, argument
43 UNUSED(callbacks);
52 isclog_error_callback(dns_rdatacallbacks_t *callbacks, const char *fmt, ...) { argument
55 UNUSED(callbacks);
65 isclog_warn_callback(dns_rdatacallbacks_t *callbacks, const char *fmt, ...) { argument
68 UNUSED(callbacks);
79 dns_rdatacallbacks_initcommon(dns_rdatacallbacks_t *callbacks) argument
96 dns_rdatacallbacks_init(dns_rdatacallbacks_t *callbacks) argument
103 dns_rdatacallbacks_init_stdio(dns_rdatacallbacks_t *callbacks) argument
[all...]
H A Drootns.c19 #include <dns/callbacks.h>
200 dns_rdatacallbacks_t callbacks; local
214 dns_rdatacallbacks_init(&callbacks);
215 result = dns_db_beginload(db, &callbacks);
225 &callbacks, db->mctx);
233 &callbacks, db->mctx);
236 eresult = dns_db_endload(db, &callbacks);
H A Ddb.c24 #include <dns/callbacks.h>
286 dns_db_beginload(dns_db_t *db, dns_rdatacallbacks_t *callbacks) { argument
292 REQUIRE(DNS_CALLBACK_VALID(callbacks));
294 return ((db->methods->beginload)(db, callbacks));
298 dns_db_endload(dns_db_t *db, dns_rdatacallbacks_t *callbacks) { argument
306 REQUIRE(DNS_CALLBACK_VALID(callbacks));
307 REQUIRE(callbacks->add_private != NULL);
314 return ((db->methods->endload)(db, callbacks));
332 dns_rdatacallbacks_t callbacks; local
343 dns_rdatacallbacks_init(&callbacks);
[all...]
H A Dmaster.c27 #include <dns/callbacks.h>
100 dns_rdatacallbacks_t *callbacks; member in struct:dns_loadctx
218 result = gettoken(lexer, options, token, eol, callbacks); \
250 result = commit(callbacks, lctx, &current_list, \
256 result = commit(callbacks, lctx, &glue_list, \
272 (*callbacks->warn)(callbacks, \
308 (*callbacks->error)(callbacks, "%s: %s:%lu: %s: %s", \
315 (*callbacks
339 gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *token, isc_boolean_t eol, dns_rdatacallbacks_t *callbacks) argument
506 loadctx_create(dns_masterformat_t format, isc_mem_t *mctx, unsigned int options, isc_uint32_t resign, dns_name_t *top, dns_rdataclass_t zclass, dns_name_t *origin, dns_rdatacallbacks_t *callbacks, isc_task_t *task, dns_loaddonefunc_t done, void *done_arg, dns_masterincludecb_t include_cb, void *include_arg, isc_lex_t *lex, dns_loadctx_t **lctxp) argument
782 dns_rdatacallbacks_t *callbacks; local
938 limit_ttl(dns_rdatacallbacks_t *callbacks, const char *source, unsigned int line, isc_uint32_t *ttlp) argument
992 check_wildcard(dns_incctx_t *ictx, const char *source, unsigned long line, dns_rdatacallbacks_t *callbacks) argument
1050 dns_rdatacallbacks_t *callbacks; local
2157 dns_rdatacallbacks_t *callbacks; local
2252 dns_rdatacallbacks_t *callbacks; local
2290 dns_rdatacallbacks_t *callbacks; local
2581 dns_master_loadfile(const char *master_file, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, dns_rdatacallbacks_t *callbacks, isc_mem_t *mctx) argument
2592 dns_master_loadfile2(const char *master_file, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, dns_rdatacallbacks_t *callbacks, isc_mem_t *mctx, dns_masterformat_t format) argument
2604 dns_master_loadfile3(const char *master_file, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, isc_uint32_t resign, dns_rdatacallbacks_t *callbacks, isc_mem_t *mctx, dns_masterformat_t format) argument
2616 dns_master_loadfile4(const char *master_file, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, isc_uint32_t resign, dns_rdatacallbacks_t *callbacks, dns_masterincludecb_t include_cb, void *include_arg, isc_mem_t *mctx, dns_masterformat_t format) argument
2630 dns_master_loadfile5(const char *master_file, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, isc_uint32_t resign, dns_rdatacallbacks_t *callbacks, dns_masterincludecb_t include_cb, void *include_arg, isc_mem_t *mctx, dns_masterformat_t format, dns_ttl_t maxttl) argument
2662 dns_master_loadfileinc(const char *master_file, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, dns_rdatacallbacks_t *callbacks, isc_task_t *task, dns_loaddonefunc_t done, void *done_arg, dns_loadctx_t **lctxp, isc_mem_t *mctx) argument
2675 dns_master_loadfileinc2(const char *master_file, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, dns_rdatacallbacks_t *callbacks, isc_task_t *task, dns_loaddonefunc_t done, void *done_arg, dns_loadctx_t **lctxp, isc_mem_t *mctx, dns_masterformat_t format) argument
2689 dns_master_loadfileinc3(const char *master_file, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, isc_uint32_t resign, dns_rdatacallbacks_t *callbacks, isc_task_t *task, dns_loaddonefunc_t done, void *done_arg, dns_loadctx_t **lctxp, isc_mem_t *mctx, dns_masterformat_t format) argument
2704 dns_master_loadfileinc4(const char *master_file, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, isc_uint32_t resign, dns_rdatacallbacks_t *callbacks, isc_task_t *task, dns_loaddonefunc_t done, void *done_arg, dns_loadctx_t **lctxp, dns_masterincludecb_t include_cb, void *include_arg, isc_mem_t *mctx, dns_masterformat_t format) argument
2721 dns_master_loadfileinc5(const char *master_file, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, isc_uint32_t resign, dns_rdatacallbacks_t *callbacks, isc_task_t *task, dns_loaddonefunc_t done, void *done_arg, dns_loadctx_t **lctxp, dns_masterincludecb_t include_cb, void *include_arg, isc_mem_t *mctx, dns_masterformat_t format, isc_uint32_t maxttl) argument
2761 dns_master_loadstream(FILE *stream, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, dns_rdatacallbacks_t *callbacks, isc_mem_t *mctx) argument
2790 dns_master_loadstreaminc(FILE *stream, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, dns_rdatacallbacks_t *callbacks, isc_task_t *task, dns_loaddonefunc_t done, void *done_arg, dns_loadctx_t **lctxp, isc_mem_t *mctx) argument
2826 dns_master_loadbuffer(isc_buffer_t *buffer, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, dns_rdatacallbacks_t *callbacks, isc_mem_t *mctx) argument
2855 dns_master_loadbufferinc(isc_buffer_t *buffer, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, dns_rdatacallbacks_t *callbacks, isc_task_t *task, dns_loaddonefunc_t done, void *done_arg, dns_loadctx_t **lctxp, isc_mem_t *mctx) argument
2891 dns_master_loadlexer(isc_lex_t *lex, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, dns_rdatacallbacks_t *callbacks, isc_mem_t *mctx) argument
2915 dns_master_loadlexerinc(isc_lex_t *lex, dns_name_t *top, dns_name_t *origin, dns_rdataclass_t zclass, unsigned int options, dns_rdatacallbacks_t *callbacks, isc_task_t *task, dns_loaddonefunc_t done, void *done_arg, dns_loadctx_t **lctxp, isc_mem_t *mctx) argument
3092 commit(dns_rdatacallbacks_t *callbacks, dns_loadctx_t *lctx, rdatalist_head_t *head, dns_name_t *owner, const char *source, unsigned int line) argument
[all...]
H A Drdata.c26 #include <dns/callbacks.h>
79 dns_rdatacallbacks_t *callbacks
196 default_fromtext_callback(dns_rdatacallbacks_t *callbacks, const char *, ...)
201 dns_rdatacallbacks_t *callbacks, const char *name,
205 fromtext_warneof(isc_lex_t *lexer, dns_rdatacallbacks_t *callbacks);
213 dns_rdatacallbacks_t *callbacks);
217 dns_rdatacallbacks_t *callbacks);
379 isc_lex_t *lexer, dns_rdatacallbacks_t *callbacks)
385 if (result == 1 && callbacks != NULL &&
390 (*callbacks
378 getquad(const void *src, struct in_addr *dst, isc_lex_t *lexer, dns_rdatacallbacks_t *callbacks) argument
914 dns_rdata_fromtext(dns_rdata_t *rdata, dns_rdataclass_t rdclass, dns_rdatatype_t type, isc_lex_t *lexer, dns_name_t *origin, unsigned int options, isc_mem_t *mctx, isc_buffer_t *target, dns_rdatacallbacks_t *callbacks) argument
2154 default_fromtext_callback(dns_rdatacallbacks_t *callbacks, const char *fmt, ...) argument
2168 fromtext_warneof(isc_lex_t *lexer, dns_rdatacallbacks_t *callbacks) argument
2180 warn_badmx(isc_token_t *token, isc_lex_t *lexer, dns_rdatacallbacks_t *callbacks) argument
2196 warn_badname(dns_name_t *name, isc_lex_t *lexer, dns_rdatacallbacks_t *callbacks) argument
2214 fromtext_error(void (*callback)(dns_rdatacallbacks_t *, const char *, ...), dns_rdatacallbacks_t *callbacks, const char *name, unsigned long line, isc_token_t *token, isc_result_t result) argument
[all...]
H A Dsdb.c27 #include <dns/callbacks.h>
72 dns_rdatacallbacks_t callbacks; member in struct:dns_sdblookup
393 &lookup->callbacks);
588 beginload(dns_db_t *db, dns_rdatacallbacks_t *callbacks) { argument
590 UNUSED(callbacks);
595 endload(dns_db_t *db, dns_rdatacallbacks_t *callbacks) { argument
597 UNUSED(callbacks);
672 dns_rdatacallbacks_init(&node->callbacks);
H A Dsdlz.c63 #include <dns/callbacks.h>
115 dns_rdatacallbacks_t callbacks; member in struct:dns_sdlzlookup
363 beginload(dns_db_t *db, dns_rdatacallbacks_t *callbacks) { argument
365 UNUSED(callbacks);
370 endload(dns_db_t *db, dns_rdatacallbacks_t *callbacks) { argument
372 UNUSED(callbacks);
486 dns_rdatacallbacks_init(&node->callbacks);
1927 &lookup->callbacks);
H A Drbtdb.c45 #include <dns/callbacks.h>
7649 beginload(dns_db_t *db, dns_rdatacallbacks_t *callbacks) { argument
7654 REQUIRE(DNS_CALLBACK_VALID(callbacks));
7687 callbacks->add = loading_addrdataset;
7688 callbacks->add_private = loadctx;
7689 callbacks->deserialize = deserialize32;
7690 callbacks->deserialize_private = loadctx;
7696 endload(dns_db_t *db, dns_rdatacallbacks_t *callbacks) { argument
7701 REQUIRE(DNS_CALLBACK_VALID(callbacks));
7702 loadctx = callbacks
[all...]
H A Dzone.c36 #include <dns/callbacks.h>
609 dns_rdatacallbacks_t callbacks; member in struct:dns_load
2372 &load->callbacks, task,
2508 dns_rdatacallbacks_init(&load->callbacks);
2509 load->callbacks.rawdata = zone_setrawdata;
2510 zone_iattach(zone, &load->callbacks.zone);
2511 result = dns_db_beginload(db, &load->callbacks);
2522 (void)dns_db_endload(load->db, &load->callbacks);
2527 dns_rdatacallbacks_t callbacks; local
2529 dns_rdatacallbacks_init(&callbacks);
[all...]
/bind-9.11.3/bin/tests/
H A Dmaster_test.c21 #include <dns/callbacks.h>
57 dns_rdatacallbacks_t callbacks; local
77 dns_rdatacallbacks_init_stdio(&callbacks);
78 callbacks.add = print_dataset;
82 &callbacks, mctx);
/bind-9.11.3/lib/dns/tests/
H A Dmaster_test.c25 #include <dns/callbacks.h>
50 dns_rdatacallbacks_t callbacks; variable
103 dns_rdatacallbacks_init_stdio(&callbacks);
104 callbacks.add = add_callback;
105 callbacks.rawdata = rawdata_callback;
106 callbacks.zone = NULL;
108 callbacks.warn = warn;
110 callbacks.error = error;
128 &callbacks, mctx, format);
384 &callbacks, include_callbac
[all...]
/bind-9.11.3/bin/dnssec/
H A Ddnssec-dsfromkey.c24 #include <dns/callbacks.h>
79 dns_rdatacallbacks_t callbacks; local
81 dns_rdatacallbacks_init(&callbacks);
82 result = dns_db_beginload(db, &callbacks);
87 &callbacks, mctx);
91 result = dns_db_endload(db, &callbacks);
H A Ddnssec-importkey.c24 #include <dns/callbacks.h>
84 dns_rdatacallbacks_t callbacks; local
86 dns_rdatacallbacks_init(&callbacks);
87 result = dns_db_beginload(db, &callbacks);
92 &callbacks, mctx);
96 result = dns_db_endload(db, &callbacks);
/bind-9.11.3/bin/tests/master/
H A Dt_master.c21 #include <dns/callbacks.h>
68 dns_rdatacallbacks_t callbacks; local
95 dns_rdatacallbacks_init_stdio(&callbacks);
96 callbacks.add = t1_add_callback;
113 &callbacks,
/bind-9.11.3/lib/samples/
H A Dsample-update.c41 #include <dns/callbacks.h>
437 dns_rdatacallbacks_t callbacks; local
445 dns_rdatacallbacks_init(&callbacks);
456 &callbacks);
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Ddns.c53 #include <dns/callbacks.h>
547 dns_rdatacallbacks_t callbacks; local
620 dns_rdatacallbacks_init_stdio(&callbacks);
623 &callbacks);
/bind-9.11.3/bin/tests/system/dyndb/driver/
H A Ddb.c104 beginload(dns_db_t *db, dns_rdatacallbacks_t *callbacks) { argument
106 UNUSED(callbacks);
120 endload(dns_db_t *db, dns_rdatacallbacks_t *callbacks) { argument
122 UNUSED(callbacks);
/bind-9.11.3/bin/nsupdate/
H A Dnsupdate.c47 #include <dns/callbacks.h>
1287 dns_rdatacallbacks_t callbacks; local
1299 dns_rdatacallbacks_init(&callbacks);
1310 &callbacks);
/bind-9.11.3/bin/dig/
H A Ddighost.c38 #include <dns/callbacks.h>
352 /* dynamic callbacks */
5028 dns_rdatacallbacks_t callbacks; local
5049 dns_rdatacallbacks_init_stdio(&callbacks);
5050 callbacks.add = insert_trustedkey;
5053 &callbacks, mctx));

Completed in 156 milliseconds