afb-hsrv: Add processing of type application/json
[src/app-framework-binder.git] / src / afb-hreq.h
index b501af6..bae178d 100644 (file)
 
 #include "afb-xreq.h"
 
-struct afb_session;
 struct json_object;
+struct json_tokener;
+
+struct afb_session;
 struct hreq_data;
 struct afb_hsrv;
 struct locale_search;
@@ -44,6 +46,7 @@ struct afb_hreq {
        struct MHD_PostProcessor *postform;
        struct hreq_data *data;
        struct json_object *json;
+       struct json_tokener *tokener;
 };
 
 extern int afb_hreq_unprefix(struct afb_hreq *request, const char *prefix, size_t length);