X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fafb-hreq.h;h=a8df015e098f53121f554b2d4e0ca0187cceb327;hb=82adb27966eace72f810716c19c660efd7c8b15a;hp=5c09e4e63b14ffccd890918e6fc49062a1de502b;hpb=fcef933b69ccc363ad10d9f7308f02c5dc474ff6;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hreq.h b/src/afb-hreq.h index 5c09e4e6..a8df015e 100644 --- a/src/afb-hreq.h +++ b/src/afb-hreq.h @@ -15,14 +15,22 @@ * limitations under the License. */ -struct AFB_session; +#pragma once + struct AFB_clientCtx; struct json_object; +struct hreq_data; +struct afb_hsrv; struct afb_hreq { + struct afb_hsrv *hsrv; const char *cacheTimeout; struct MHD_Connection *connection; int method; + int reqid; + int scanned; + int suspended; + int replied; const char *version; const char *url; size_t lenurl; @@ -73,3 +81,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);