summaryrefslogtreecommitdiffstats
path: root/src/afb-hreq.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-04-08 15:14:59 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-04-08 15:14:59 +0200
commit56f9ef4581d567248b6f83a3b15f39a0aca42895 (patch)
tree607fddaf6c62515126768b86d3e7e7df1112153a /src/afb-hreq.h
parent6ea1d50ab6571551e1d0379940349911956c97ee (diff)
refactoring req interface
Change-Id: I6fc9246099c34f62c82e060cf014a63b0e8f63d8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hreq.h')
-rw-r--r--src/afb-hreq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afb-hreq.h b/src/afb-hreq.h
index 37bda99e..41f499d0 100644
--- a/src/afb-hreq.h
+++ b/src/afb-hreq.h
@@ -17,6 +17,7 @@
struct AFB_session;
struct AFB_clientCtx;
+struct json_object;
struct afb_hreq {
const char *cacheTimeout;
@@ -30,6 +31,7 @@ struct afb_hreq {
struct MHD_PostProcessor *postform;
struct AFB_clientCtx *context;
struct hreq_data *data;
+ struct json_object *json;
int upgrade;
};