X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hreq.h;h=1b682c87eaabe3b88512febe4182ae39ec0e2e69;hb=f3d1f19ae308cc0559728c0ccf6281cbce5ee37c;hp=ff394e03579ad4fe4bb7ff5679a1f45441225661;hpb=7e674cc7202abfae0dd07df8805a0dea743bf4be;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hreq.h b/src/afb-hreq.h index ff394e03..1b682c87 100644 --- a/src/afb-hreq.h +++ b/src/afb-hreq.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 "IoT.bzh" + * Copyright (C) 2016-2019 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -19,8 +19,10 @@ #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);