X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fhost.h;h=3f27ea0f64e10b6de6c575fecee0640e5a488509;hb=c9c0e4c6418350d913638d73e0a50bebdb5fd983;hp=03b88c8186f3969f1a12c4b34ca91d4c0b0ff3c1;hpb=4d7c5e087b2bc82c9f503dff003916d1047903ce;p=wget
diff --git a/src/host.h b/src/host.h
index 03b88c81..3f27ea0f 100644
--- a/src/host.h
+++ b/src/host.h
@@ -1,5 +1,7 @@
/* Declarations for host.c
- Copyright (C) 1996-2006 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+ 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation,
+ Inc.
This file is part of GNU Wget.
@@ -16,23 +18,28 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Wget. If not, see .
-In addition, as a special exception, the Free Software Foundation
-gives permission to link the code of its release of Wget with the
-OpenSSL project's "OpenSSL" library (or with modified versions of it
-that use the same license as the "OpenSSL" library), and distribute
-the linked executables. You must obey the GNU General Public License
-in all respects for all of the code used other than "OpenSSL". If you
-modify this file, you may extend this exception to your version of the
-file, but you are not obligated to do so. If you do not wish to do
-so, delete this exception statement from your version. */
+Additional permission under GNU GPL version 3 section 7
+
+If you modify this program, or any covered work, by linking or
+combining it with the OpenSSL project's OpenSSL library (or a
+modified version of that library), containing parts covered by the
+terms of the OpenSSL or SSLeay licenses, the Free Software Foundation
+grants you additional permission to convey the resulting work.
+Corresponding Source for a non-source form of such a combination
+shall include the source code for the parts of OpenSSL used as well
+as that of the covered work. */
#ifndef HOST_H
#define HOST_H
#ifdef WINDOWS
-# include
+# include
#else
-# include
+# ifdef __VMS
+# include "vms_ip.h"
+# else /* def __VMS */
+# include
+# endif /* def __VMS [else] */
# include
# include
#ifndef __BEOS__
@@ -91,6 +98,8 @@ const char *print_address (const ip_address *);
bool is_valid_ipv6_address (const char *, const char *);
#endif
+bool is_valid_ip_address (const char *name);
+
bool accept_domain (struct url *);
bool sufmatch (const char **, const char *);