summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-04-03 12:55:32 +0800
committerfanquake <fanquake@gmail.com>2021-04-03 12:55:32 +0800
commit01beec2fea2c50a495493030f415272befc0db07 (patch)
tree67fb27fe857eb7eb8f6a7ae70b113771b8bf3ebc /include
parent39d680534ac38650e4a59b1287b74115a92b1232 (diff)
downloadlibevent-01beec2fea2c50a495493030f415272befc0db07.tar.gz
dns: remove evdns_set_transaction_id_fn
Diffstat (limited to 'include')
-rw-r--r--include/event2/dns.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/event2/dns.h b/include/event2/dns.h
index b093554b..e6b33afb 100644
--- a/include/event2/dns.h
+++ b/include/event2/dns.h
@@ -602,19 +602,6 @@ typedef void (*evdns_debug_log_fn_type)(int is_warning, const char *msg);
EVENT2_EXPORT_SYMBOL
void evdns_set_log_fn(evdns_debug_log_fn_type fn);
-/**
- Set a callback that will be invoked to generate transaction IDs. By
- default, we pick transaction IDs based on the current clock time, which
- is bad for security.
-
- @param fn the new callback, or NULL to use the default.
-
- NOTE: This function has no effect in Libevent 2.0.4-alpha and later,
- since Libevent now provides its own secure RNG.
- */
-EVENT2_EXPORT_SYMBOL
-void evdns_set_transaction_id_fn(ev_uint16_t (*fn)(void));
-
/*
* Functions used to implement a DNS server.
*/