X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Futils.h;h=8b1a8a11db0deccf794f09a6f11a12936b5e38ab;hp=becdc92427379d29348ec92da443ac6cdd068d1c;hb=2f6aa1d7417df1dfc58597777686fbd77179b9fd;hpb=1515ea0deaa4793c89f1608955c9c4031da8b459 diff --git a/src/utils.h b/src/utils.h index becdc924..8b1a8a11 100644 --- a/src/utils.h +++ b/src/utils.h @@ -1,6 +1,7 @@ /* Declarations for utils.c. - 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. @@ -84,7 +85,7 @@ wgint file_size (const char *); int make_directory (const char *); char *unique_name (const char *, bool); FILE *unique_create (const char *, bool, char **); -FILE *fopen_excl (const char *, bool); +FILE *fopen_excl (const char *, int); char *file_merge (const char *, const char *); int fnmatch_nocase (const char *, const char *, int); @@ -97,8 +98,8 @@ bool has_wildcards_p (const char *); bool has_html_suffix_p (const char *); char *read_whole_line (FILE *); -struct file_memory *read_file (const char *); -void read_file_free (struct file_memory *); +struct file_memory *wget_read_file (const char *); +void wget_read_file_free (struct file_memory *); void free_vec (char **); char **merge_vecs (char **, char **); @@ -144,4 +145,6 @@ void stable_sort (void *, size_t, size_t, int (*) (const void *, const void *)); const char *print_decimal (double); +extern unsigned char char_prop[]; + #endif /* UTILS_H */