Lines Matching refs:callbacks
33 #include <dns/callbacks.h>
72 dns_rdatacallbacks_t *callbacks
192 default_fromtext_callback(dns_rdatacallbacks_t *callbacks, const char *, ...)
197 dns_rdatacallbacks_t *callbacks, const char *name,
201 fromtext_warneof(isc_lex_t *lexer, dns_rdatacallbacks_t *callbacks);
209 dns_rdatacallbacks_t *callbacks);
213 dns_rdatacallbacks_t *callbacks);
288 isc_lex_t *lexer, dns_rdatacallbacks_t *callbacks)
294 if (result == 1 && callbacks != NULL &&
299 (*callbacks->warn)(callbacks, "%s:%lu: \"%s\" "
658 isc_buffer_t *target, dns_rdatacallbacks_t *callbacks)
678 if (callbacks != NULL) {
679 REQUIRE(callbacks->warn != NULL);
680 REQUIRE(callbacks->error != NULL);
685 if (callbacks != NULL)
686 callback = callbacks->error;
695 fromtext_error(callback, callbacks, name, line, NULL, result);
740 fromtext_error(callback, callbacks, name,
748 fromtext_error(callback, callbacks, name,
753 fromtext_error(callback, callbacks, name, line,
758 fromtext_warneof(lexer, callbacks);
1880 default_fromtext_callback(dns_rdatacallbacks_t *callbacks, const char *fmt,
1885 UNUSED(callbacks);
1894 fromtext_warneof(isc_lex_t *lexer, dns_rdatacallbacks_t *callbacks) {
1895 if (isc_lex_isfile(lexer) && callbacks != NULL) {
1899 (*callbacks->warn)(callbacks,
1907 dns_rdatacallbacks_t *callbacks)
1915 (*callbacks->warn)(callbacks, "%s:%u: warning: '%s': %s",
1923 dns_rdatacallbacks_t *callbacks)
1933 (*callbacks->warn)(callbacks, "%s:%u: warning: %s: %s",
1941 dns_rdatacallbacks_t *callbacks, const char *name,
1950 (*callback)(callbacks, "%s: %s:%lu: near eol: %s",
1955 (*callback)(callbacks, "%s: %s:%lu: near eof: %s",
1960 (*callback)(callbacks, "%s: %s:%lu: near %lu: %s",
1967 (*callback)(callbacks, "%s: %s:%lu: near '%s': %s",
1973 (*callback)(callbacks, "%s: %s:%lu: %s",
1979 (*callback)(callbacks, "dns_rdata_fromtext: %s:%lu: %s",