mirror of https://github.com/getdnsapi/getdns.git
parent
a1b06ec0d7
commit
522a23d864
|
@ -1691,12 +1691,6 @@ getdns_bindata_destroy(struct mem_funcs *mfs,
|
|||
GETDNS_FREE(*mfs, bindata);
|
||||
}
|
||||
|
||||
/* get the fd */
|
||||
int getdns_context_fd(struct getdns_context* context) {
|
||||
RETURN_IF_NULL(context, -1);
|
||||
return ub_fd(context->unbound_ctx);
|
||||
}
|
||||
|
||||
/* TODO: Remove next_timeout argument from getdns_context_get_num_pending_requests
|
||||
*/
|
||||
void getdns_handle_timeouts(struct getdns_event_base* base, struct timeval* now,
|
||||
|
|
|
@ -61,9 +61,6 @@ getdns_return_t getdns_dict_util_set_string(struct getdns_dict * dict,
|
|||
getdns_return_t getdns_dict_util_get_string(struct getdns_dict * dict,
|
||||
char *name, char **result);
|
||||
|
||||
/* get the fd */
|
||||
int getdns_context_fd(getdns_context* context);
|
||||
|
||||
/* tells underlying unbound to use background threads or fork */
|
||||
getdns_return_t getdns_context_set_use_threads(getdns_context* context,
|
||||
int use_threads);
|
||||
|
|
Loading…
Reference in New Issue