Go to the source code of this file.
Defines | |
| #define | DNS_SRV_MAX_PRIO 0xffff |
Typedefs | |
| typedef _gim_host | gim_host |
Functions | |
| char * | ekg_inet_ntostr (int family, void *buf) |
| int | srv_resolver (gim_host **hostlist, const char *hostname, const int proto_port, const int port, const int proto) |
| int | gim_host_cmp (gim_host *data1, gim_host *data2) |
| int | resolve_missing_entries (gim_host **hostlist) |
| int | basic_resolver (gim_host **hostlist, const char *hostname, int port) |
| void | write_out_and_destroy_list (int fd, gim_host *hostlist) |
Variables | |
| const int | DNS_NS_MAXDNAME |
| #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 |
1.5.1