predeclare the structure
[src/app-framework-binder.git] / src / afb-hreq.h
index aa2cf11..76d1d43 100644 (file)
@@ -19,6 +19,7 @@
 
 struct AFB_clientCtx;
 struct json_object;
+struct hreq_data;
 
 struct afb_hreq {
        const char *cacheTimeout;
@@ -74,3 +75,4 @@ extern void afb_hreq_reply_free(struct afb_hreq *hreq, unsigned status, size_t s
 
 extern void afb_hreq_reply_empty(struct afb_hreq *hreq, unsigned status, ...);
 
+extern int afb_hreq_init_download_path(const char *directory);