aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-hreq.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-04-27 21:25:54 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-04-27 21:30:01 +0200
commitf262b0f726ac0577f40525038b779185f144873f (patch)
treec6c2e3664cb6082fcb74e7ef26e430ce2371f4fa /src/afb-hreq.h
parent34acb0f8d191593c9761e027424f13ae42831133 (diff)
first add of asynchonous handling
Change-Id: Id9159d33937dc23342d32892f77998fb8cef0000 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hreq.h')
-rw-r--r--src/afb-hreq.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/afb-hreq.h b/src/afb-hreq.h
index 76d1d430..a8df015e 100644
--- a/src/afb-hreq.h
+++ b/src/afb-hreq.h
@@ -20,11 +20,17 @@
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;