Idź do kodu źródłowego tego pliku.
#define DNS_SRV_MAX_PRIO 0xffff |
int basic_resolver |
( |
gim_host ** |
hostlist, |
|
|
const char * |
hostname, |
|
|
int |
port |
|
) |
| |
this is exactly irc_resolver2, but instead of array it appends entries to hostlist
char* ekg_inet_ntostr |
( |
int |
family, |
|
|
void * |
buf |
|
) |
| |
ekg_inet_ntostr - convert sockaddr_in to string representing ip address
since srv_resolver uses this function and we can't place srv_resolver in net.c (due to conflict in resolv.h) for a while this function must sit here.
int resolve_missing_entries |
( |
gim_host ** |
hostlist) | |
|
int srv_resolver |
( |
gim_host ** |
hostlist, |
|
|
const char * |
hostname, |
|
|
const int |
proto_port, |
|
|
const int |
port, |
|
|
const int |
proto |
|
) |
| |
void write_out_and_destroy_list |
( |
int |
fd, |
|
|
gim_host * |
hostlist |
|
) |
| |
const int DNS_NS_MAXDNAME |