Lines Matching refs:callbacks
26 #include <dns/callbacks.h>
34 isclog_error_callback(dns_rdatacallbacks_t *callbacks, const char *fmt, ...)
38 isclog_warn_callback(dns_rdatacallbacks_t *callbacks, const char *fmt, ...)
46 stdio_error_warn_callback(dns_rdatacallbacks_t *callbacks,
51 UNUSED(callbacks);
60 isclog_error_callback(dns_rdatacallbacks_t *callbacks, const char *fmt, ...) {
63 UNUSED(callbacks);
73 isclog_warn_callback(dns_rdatacallbacks_t *callbacks, const char *fmt, ...) {
76 UNUSED(callbacks);
87 dns_rdatacallbacks_initcommon(dns_rdatacallbacks_t *callbacks) {
88 REQUIRE(callbacks != NULL);
90 callbacks->add = NULL;
91 callbacks->add_private = NULL;
92 callbacks->error_private = NULL;
93 callbacks->warn_private = NULL;
101 dns_rdatacallbacks_init(dns_rdatacallbacks_t *callbacks) {
102 dns_rdatacallbacks_initcommon(callbacks);
103 callbacks->error = isclog_error_callback;
104 callbacks->warn = isclog_warn_callback;
108 dns_rdatacallbacks_init_stdio(dns_rdatacallbacks_t *callbacks) {
109 dns_rdatacallbacks_initcommon(callbacks);
110 callbacks->error = stdio_error_warn_callback;
111 callbacks->warn = stdio_error_warn_callback;