]> sjero.net Git - wget/blobdiff - src/host.h
[svn] Update FSF's address and copyright years.
[wget] / src / host.h
index 786a9645f624e261565dd1667f48c2a33d5138e3..6d0c553f83fb391066a920df406415a8bde07854 100644 (file)
@@ -1,5 +1,5 @@
 /* Declarations for host.c
-   Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1996-2005 Free Software Foundation, Inc.
 
 This file is part of GNU Wget.
 
@@ -14,8 +14,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
-along with Wget; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+along with Wget; if not, write to the Free Software Foundation, Inc.,
+51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 
 In addition, as a special exception, the Free Software Foundation
 gives permission to link the code of its release of Wget with the
@@ -99,19 +99,19 @@ struct address_list *lookup_host (const char *, int);
 
 void address_list_get_bounds (const struct address_list *, int *, int *);
 const ip_address *address_list_address_at (const struct address_list *, int);
-int address_list_contains (const struct address_list *, const ip_address *);
+bool address_list_contains (const struct address_list *, const ip_address *);
 void address_list_set_faulty (struct address_list *, int);
 void address_list_set_connected (struct address_list *);
-int address_list_connected_p (const struct address_list *);
+bool address_list_connected_p (const struct address_list *);
 void address_list_release (struct address_list *);
 
-const char *pretty_print_address (const ip_address *);
+const char *print_address (const ip_address *);
 #ifdef ENABLE_IPV6
-int is_valid_ipv6_address (const char *, const char *);
+bool is_valid_ipv6_address (const char *, const char *);
 #endif
 
-int accept_domain (struct url *);
-int sufmatch (const char **, const char *);
+bool accept_domain (struct url *);
+bool sufmatch (const char **, const char *);
 
 void host_cleanup (void);