aboutsummaryrefslogtreecommitdiff
path: root/src/download.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/download.h')
-rw-r--r--src/download.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/download.h b/src/download.h
index 3c7f0aa..ff188cc 100644
--- a/src/download.h
+++ b/src/download.h
@@ -2,7 +2,11 @@
#define DOWNLOAD_H
struct Buffer;
-int download_to_buffer(const char *url, struct Buffer *buffer);
-int is_header_response_ok(const char *url);
+typedef struct fallback fallback;
+
+/* |fall| can be NULL */
+int download_to_buffer(const char *url, struct Buffer *buffer, fallback *fall);
+/* |fall| can be NULL */
+int is_header_response_ok(const char *url, fallback *fall);
#endif