diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-09-19 15:53:36 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-09-19 15:53:36 +0000 |
commit | 5e81b0ecb8ef0b6747491fe91051097dc3526b4d (patch) | |
tree | dd4d4c82a09222628adc17d75caef7aee5c0f62d /src/or/eventdns.h | |
parent | faeedbb8af87aebcf2ebd66c937994d11b5343fd (diff) | |
download | tor-5e81b0ecb8ef0b6747491fe91051097dc3526b4d.tar.gz tor-5e81b0ecb8ef0b6747491fe91051097dc3526b4d.zip |
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
Diffstat (limited to 'src/or/eventdns.h')
-rw-r--r-- | src/or/eventdns.h | 2 |
1 files changed, 2 insertions, 0 deletions
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. */ |