diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-07-05 21:28:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-07-05 21:28:37 +0000 |
commit | 42ef3bd90c9f14824544c745f7af8a206d2f1a69 (patch) | |
tree | 5e903e84265b5acd682112c8581df37f51eb2897 /src/or/eventdns.h | |
parent | 0ec293b189c7afc59dbf8187023ad5133ad18d2a (diff) | |
download | tor-42ef3bd90c9f14824544c745f7af8a206d2f1a69.tar.gz tor-42ef3bd90c9f14824544c745f7af8a206d2f1a69.zip |
Add plausile logging support to eventdns; stop putting stuff onto stdout.
svn:r6728
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 |