* \return ARES_ENOTIMP if not built with threading support, ARES_ETIMEOUT * if requested timeout expires, ARES_SUCCESS when queue is empty. */ CARES_EXTERN ares_status_t ares_queue_wait_empty(ares_channel_t *ch
if (status != ARES_SUCCESS) { handle_conn_error(conn, ARES_TRUE, status); } }static void process_write(const ares_channel_t *channel, fd_set *write_fds, ares_socket_t write_fd) void ares_process(ares_channel_t *channel, fd_set *read_fds, fd_set *write_fds) ...
ares_host_callback callback; void *arg; const char *remaining_lookups; int timeouts; }; static void next_lookup(struct addr_query *aquery); static void addr_callback(void *arg, int status, int timeouts, unsigned char *abuf, int alen); static void end_aquery(struct addr_query...
static void end_hquery(struct host_query *hquery, int status, struct hostent *host); static int fake_hostent(const char *name, int family, ares_host_callback callback, void *arg); static int file_lookup(const char *name, int family, struct hostent **host); ...
The status of widows in ancient Israelite society was precarious. The women designated by the term widow were not merely someone whose husband had died; they lived outside of the normal social structure in which every female lived under the authority of some male; they were responsible to and...
return ARES_SUCCESS; } ares_status_t ares__buf_append_byte(ares__buf_t *buf, unsigned char byte) ares_status_t ares__buf_append_byte(ares__buf_t *buf, unsigned char b) { return ares__buf_append(buf, &byte, 1); return ares__buf_append(buf, &b, 1); } ares_status_t ares_...
@@ -146,6 +146,18 @@ ares_status_t ares_dns_multistring_add_own(ares_dns_multistring_t *strs, return status; }/* Issue #921, ares_dns_multistring_get() doesn't have a way to indicate * success or fail on a zero-length string which is actually valid. So we ...
ARES_ENOTFOUND, but we should not assume that this single error code is the one that can occur, as that is in fact no longer the case */ if (status == ARES_SUCCESS) { end_hquery(hquery, status, host); return; } status = status_code; /* Use original status code ...
* fee is hereby granted, provided that the above copyright * notice appear in all copies and that both that copyright * notice and this permission notice appear in supporting * documentation, and that the name of M.I.T. not be used in ...
if (status != ARES_SUCCESS && status != ARES_ENOTIMP) { goto done; @@ -433,7 +433,6 @@ static void *ares_reinit_thread(void *arg) return NULL; } ares_status_t ares_reinit(ares_channel_t *channel) { ares_status_t status = ARES_SUCCESS; @@ -462,8 +461,8 @@ ares_status...