predeclare the structure
[src/app-framework-binder.git] / src / afb-hreq.h
index 5c09e4e..76d1d43 100644 (file)
  * limitations under the License.
  */
 
-struct AFB_session;
+#pragma once
+
 struct AFB_clientCtx;
 struct json_object;
+struct hreq_data;
 
 struct afb_hreq {
        const char *cacheTimeout;
@@ -73,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);