X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fconnect.h;h=3826aa41172b18a12da3b3599ddee09f86f4361b;hp=20bb2439e6c79e88e4a39d1c592f5379131dbcb9;hb=8624553a31b148f9051cc11725bc01d9760fa07b;hpb=2f6aa1d7417df1dfc58597777686fbd77179b9fd diff --git a/src/connect.h b/src/connect.h index 20bb2439..3826aa41 100644 --- a/src/connect.h +++ b/src/connect.h @@ -32,7 +32,7 @@ as that of the covered work. */ #ifndef CONNECT_H #define CONNECT_H -#include "host.h" /* for definition of ip_address */ +#include "host.h" /* for definition of ip_address */ /* Function declarations */ @@ -51,6 +51,7 @@ enum { ENDPOINT_PEER }; bool socket_ip_address (int, ip_address *, int); +int socket_family (int sock, int endpoint); bool retryable_socket_connect_error (int);