diff options
Diffstat (limited to 'src/or/eventdns.h')
-rw-r--r-- | src/or/eventdns.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/eventdns.h b/src/or/eventdns.h index c2dab163a8..27ee447b80 100644 --- a/src/or/eventdns.h +++ b/src/or/eventdns.h @@ -56,6 +56,9 @@ void eventdns_search_clear(void); void eventdns_search_add(const char *domain); void eventdns_search_ndots_set(const int ndots); +typedef void (*eventdns_debug_log_fn_type)(const char *msg); +void evendns_set_log_fn(eventdns_debug_log_fn_type fn); + #define DNS_NO_SEARCH 1 #endif // !EVENTDNS_H |