X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fconnect.h;h=bb3f26a798a379e59f5152175f566d0fd006251d;hp=0317386d984d36bf2be666ab9bd5ea6056107834;hb=38a7829dcb4eb5dba28dbf0f05c6a80fea9217f8;hpb=bc8f473272ec29b0d0021dbcab6ac561ddc6249d diff --git a/src/connect.h b/src/connect.h index 0317386d..bb3f26a7 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 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, + 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, + Inc. This file is part of GNU Wget. @@ -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);