|
| int | ares_init (ares_channel *channelptr) |
| |
| int | ares_init_with_socket_function (ares_channel *channelptr, socket_function_ptr) |
| |
| int | ares_capabilities (int capmask) |
| |
| int | ares_init_options (ares_channel *channelptr, struct ares_options *options, int optmask) |
| |
| int | ares_init_options_with_socket_function (ares_channel *channelptr, struct ares_options *options, int optmask, socket_function_ptr) |
| |
| void | ares_destroy (ares_channel channel) |
| |
| void | ares_destroy_suppress_callbacks (ares_channel channel) |
| |
| void | ares_destroy_internal (ares_channel channel, int suppressCallbacks) |
| |
| void | ares_send (ares_channel channel, const unsigned char *qbuf, int qlen, ares_callback callback, void *arg) |
| |
| void | ares_query (ares_channel channel, const char *name, int dnsclass, int type, ares_callback callback, void *arg) |
| |
| void | ares_search (ares_channel channel, const char *name, int dnsclass, int type, ares_callback callback, void *arg) |
| |
| void | ares_gethostbyname (ares_channel channel, const char *name, int family, ares_host_callback callback, void *arg) |
| |
| void | ares_gethostbyaddr (ares_channel channel, const void *addr, int addrlen, int family, ares_host_callback callback, void *arg) |
| |
| int | hostfile_lookup (const char *name, struct hostent **host) |
| |
| int | ares_fds (ares_channel channel, fd_set *read_fds, fd_set *write_fds) |
| |
| struct timeval * | ares_timeout (ares_channel channel, struct timeval *maxtv, struct timeval *tv) |
| |
| void | ares_process (ares_channel channel, fd_set *read_fds, fd_set *write_fds) |
| |
| void | ares_process_set_poll_cb (ares_channel channel, ares_poll_cb_func *cb_func, void *cb_data) |
| |
| void | ares_process_poll (ares_channel channel, int server_idx, int rdFd, int wrFd, time_t now) |
| |
| int | ares_mkquery (const char *name, int dnsclass, int type, unsigned short id, int rd, unsigned char **buf, int *buflen) |
| |
| int | ares_expand_name (const unsigned char *encoded, const unsigned char *abuf, int alen, char **s, long *enclen) |
| |
| int | ares_parse_a_reply (const unsigned char *abuf, int alen, struct hostent **host) |
| |
| int | ares_parse_ptr_reply (const unsigned char *abuf, int alen, const void *addr, int addrlen, int family, struct hostent **host) |
| |
| void | ares_free_string (char *str) |
| |
| void | ares_free_hostent (struct hostent *host) |
| |
| const char * | ares_strerror (int code) |
| |
| void | ares_free_errmem (char *mem) |
| |