Get rid of context_fd

recursive mode only
This commit is contained in:
Willem Toorop 2014-10-28 15:39:48 +01:00
parent a1b06ec0d7
commit 522a23d864
2 changed files with 0 additions and 9 deletions

View File

@ -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,

View File

@ -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);