File: res.h

package info (click to toggle)
httping 1.5.8-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 188 kB
  • ctags: 79
  • sloc: ansic: 1,695; makefile: 76
file content (7 lines) | stat: -rw-r--r-- 354 bytes parent folder | download
1
2
3
4
5
6
7
/* Released under GPLv2 with exception for the OpenSSL library. See license.txt */

#define incopy(a)       *((struct in_addr *)a)

int resolve_host(char *host, struct addrinfo **ai, char use_ipv6, int portnr);
struct addrinfo * select_resolved_host(struct addrinfo *ai, char use_ipv6);
void get_addr(struct addrinfo *ai_use, struct sockaddr_in6 *addr);