X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fconnect.h;h=3826aa41172b18a12da3b3599ddee09f86f4361b;hp=a3469b80dec7410eefc33c2f934ca68a430cad9b;hb=8624553a31b148f9051cc11725bc01d9760fa07b;hpb=b9e9ad65ccf6c1fbf989852c5adbb0f840f9c58b diff --git a/src/connect.h b/src/connect.h index a3469b80..3826aa41 100644 --- a/src/connect.h +++ b/src/connect.h @@ -1,6 +1,7 @@ /* Declarations for connect. Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. + 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, + Inc. This file is part of GNU Wget. @@ -31,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 */ @@ -50,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);