evdns_set_transaction_id_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.

extern (C) nothrow
void
evdns_set_transaction_id_fn
(
ExternC!(ev_uint16_t function
()
)
fn
)

Meta