From 5e81b0ecb8ef0b6747491fe91051097dc3526b4d Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 19 Sep 2007 15:53:36 +0000 Subject: r15170@catbus: nickm | 2007-09-19 11:41:50 -0400 Carry a new evdns function over from libevent: do not rely on compile-time code to set the transaction ID correctly. This will be important when we finally drop our internal copy of eventdns.c svn:r11517 --- src/or/eventdns.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or/eventdns.h') diff --git a/src/or/eventdns.h b/src/or/eventdns.h index e5d616ade6..a2e0e28722 100644 --- a/src/or/eventdns.h +++ b/src/or/eventdns.h @@ -281,6 +281,8 @@ void evdns_search_ndots_set(const int ndots); typedef void (*evdns_debug_log_fn_type)(int is_warning, const char *msg); void evdns_set_log_fn(evdns_debug_log_fn_type fn); +void evdns_set_transaction_id_fn(uint16_t (*fn)(void)); + #define DNS_NO_SEARCH 1 /* Structures and functions used to implement a DNS server. */ -- cgit v1.2.3-54-g00ecf