"Fossies" - the Fresh Open Source Software Archive

Member "HTTPing-2.9/res.h" (29 Oct 2022, 430 Bytes) of package /linux/www/HTTPing-2.9.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "res.h" see the Fossies "Dox" file reference documentation.

    1 /* Released under AGPL v3 with exception for the OpenSSL library. See license.txt */
    3 #define incopy(a)       *((struct in_addr *)a)
    5 int resolve_host(const char *host, struct addrinfo **ai, char use_ipv6, int portnr);
    6 struct addrinfo * select_resolved_host(struct addrinfo *ai, char use_ipv6);
    7 void get_addr(struct addrinfo *ai_use, struct sockaddr_in6 *addr);
    9 int resolve_host_ipv4(const char *host, struct sockaddr_in *addr);