]> sjero.net Git - wget/blobdiff - src/utils.h
[svn] Allow match_tail to be case insensitive.
[wget] / src / utils.h
index e4c636894ffea94e56d0973e3ea38460b93a6da2..7a8e223dc5ee1d8438a147512cb3d96de938498f 100644 (file)
@@ -61,6 +61,7 @@ void touch PARAMS ((const char *, time_t));
 int remove_link PARAMS ((const char *));
 int file_exists_p PARAMS ((const char *));
 int file_non_directory_p PARAMS ((const char *));
+long file_size PARAMS ((const char *));
 int make_directory PARAMS ((const char *));
 char *unique_name PARAMS ((const char *));
 char *file_merge PARAMS ((const char *, const char *));
@@ -68,7 +69,9 @@ char *file_merge PARAMS ((const char *, const char *));
 int acceptable PARAMS ((const char *));
 int accdir PARAMS ((const char *s, enum accd));
 char *suffix PARAMS ((const char *s));
-int match_tail PARAMS ((const char *, const char *));
+int match_tail PARAMS ((const char *, const char *, int));
+
+int has_html_suffix_p PARAMS ((const char *));
 
 char *read_whole_line PARAMS ((FILE *));
 struct file_memory *read_file PARAMS ((const char *));
@@ -102,5 +105,8 @@ long wtimer_granularity PARAMS ((void));
 char *html_quote_string PARAMS ((const char *));
 
 int determine_screen_width PARAMS ((void));
+int random_number PARAMS ((int));
+
+int run_with_timeout PARAMS ((long, void (*) (void *), void *));
 
 #endif /* UTILS_H */