Go to the source code of this file.
|
void | ares_gethostbyname (ares_channel channel, const char *name, int family, ares_host_callback callback, void *arg) |
|
int | ares_gethostbyname_file (ares_channel channel, const char *name, int family, struct hostent **host) |
|
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) |
|
static int | get6_address_index (const struct ares_in6_addr *addr, const struct apattern *sortlist, int nsort) |
|
static int | get_address_index (const struct in_addr *addr, const struct apattern *sortlist, int nsort) |
|
static void | host_callback (void *arg, int status, int timeouts, unsigned char *abuf, int alen) |
|
static void | next_lookup (struct host_query *hquery, int status_code) |
|
static void | sort6_addresses (struct hostent *host, const struct apattern *sortlist, int nsort) |
|
static void | sort_addresses (struct hostent *host, const struct apattern *sortlist, int nsort) |
|
◆ ares_gethostbyname()
◆ ares_gethostbyname_file()
◆ end_hquery()
static void end_hquery |
( |
struct host_query * |
hquery, |
|
|
int |
status, |
|
|
struct hostent * |
host |
|
) |
| |
|
static |
◆ fake_hostent()
◆ file_lookup()
static int file_lookup |
( |
const char * |
name, |
|
|
int |
family, |
|
|
struct hostent ** |
host |
|
) |
| |
|
static |
◆ get6_address_index()
◆ get_address_index()
◆ host_callback()
static void host_callback |
( |
void * |
arg, |
|
|
int |
status, |
|
|
int |
timeouts, |
|
|
unsigned char * |
abuf, |
|
|
int |
alen |
|
) |
| |
|
static |
◆ next_lookup()
static void next_lookup |
( |
struct host_query * |
hquery, |
|
|
int |
status_code |
|
) |
| |
|
static |
◆ sort6_addresses()
static void sort6_addresses |
( |
struct hostent * |
host, |
|
|
const struct apattern * |
sortlist, |
|
|
int |
nsort |
|
) |
| |
|
static |
◆ sort_addresses()
static void sort_addresses |
( |
struct hostent * |
host, |
|
|
const struct apattern * |
sortlist, |
|
|
int |
nsort |
|
) |
| |
|
static |