#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#include "rutil/ResipAssert.h"
#include <sys/time.h>
#include <sys/param.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include "ares_nameser.h"
#include <unistd.h>
#include <errno.h>
#include <netdb.h>
#include "ares.h"
#include "ares_private.h"
Go to the source code of this file.
|
| static int | init_by_options (ares_channel channel, struct ares_options *options, int optmask) |
| |
| static int | init_by_environment (ares_channel channel) |
| |
| static int | init_by_resolv_conf (ares_channel channel) |
| |
| static int | init_by_defaults (ares_channel channel) |
| |
| static int | config_domain (ares_channel channel, char *str) |
| |
| static int | config_lookup (ares_channel channel, const char *str) |
| |
| static int | config_nameserver (struct server_state **servers, int *nservers, const char *str) |
| |
| static int | config_sortlist (struct apattern **sortlist, int *nsort, const char *str) |
| |
| static int | set_search (ares_channel channel, const char *str) |
| |
| static int | set_options (ares_channel channel, const char *str) |
| |
| static char * | try_config (char *s, char *opt) |
| |
| static const char * | try_option (const char *p, const char *q, const char *opt) |
| |
| static int | ip_addr (const char *s, int len, struct in_addr *addr) |
| |
| static void | natural_mask (struct apattern *pat) |
| |
| static int | inet_pton4 (const char *src, u_char *dst) |
| |
| static int | inet_pton6 (const char *src, u_char *dst) |
| |
| int | ares_capabilities (int capmask) |
| |
| int | ares_init (ares_channel *channelptr) |
| |
| int | ares_init_with_socket_function (ares_channel *channelptr, socket_function_ptr socketFunc) |
| |
| 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 socketFunc) |
| |
◆ NS_IN6ADDRSZ
◆ NS_INADDRSZ
◆ NS_INT16SZ
◆ ares_capabilities()
| int ares_capabilities |
( |
int |
capmask | ) |
|
◆ ares_init()
◆ ares_init_options()
◆ ares_init_options_with_socket_function()
◆ ares_init_with_socket_function()
◆ config_domain()
◆ config_lookup()
◆ config_nameserver()
◆ config_sortlist()
◆ inet_pton4()
◆ inet_pton6()
◆ init_by_defaults()
◆ init_by_environment()
◆ init_by_options()
◆ init_by_resolv_conf()
◆ ip_addr()
◆ natural_mask()
◆ set_options()
◆ set_search()
◆ try_config()
◆ try_option()