struct file_memory {
char *content;
- wgint length;
+ long length;
int mmap_p;
};
int frontcmp PARAMS ((const char *, const char *));
void fork_to_background PARAMS ((void));
-#ifdef HAVE_STDARG_H
+#ifdef WGET_USE_STDARG
char *aprintf PARAMS ((const char *, ...))
GCC_FORMAT_ATTR (1, 2);
-#else /* not HAVE_STDARG_H */
+char *concat_strings PARAMS ((const char *, ...));
+#else /* not WGET_USE_STDARG */
char *aprintf ();
-#endif /* not HAVE_STDARG_H */
+char *concat_strings ();
+#endif /* not WGET_USE_STDARG */
void touch PARAMS ((const char *, time_t));
int remove_link PARAMS ((const char *));
wgint file_size PARAMS ((const char *));
int make_directory PARAMS ((const char *));
char *unique_name PARAMS ((const char *, int));
+FILE *unique_create PARAMS ((const char *, int, char **));
+FILE *fopen_excl PARAMS ((const char *, int));
char *file_merge PARAMS ((const char *, const char *));
int acceptable PARAMS ((const char *));