X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hreq.h;h=b511f230fb6abee241a3636a87b89cfdf7edca1c;hb=65353dce81a629e042800bb7b86fcd869a76727e;hp=ff394e03579ad4fe4bb7ff5679a1f45441225661;hpb=7e674cc7202abfae0dd07df8805a0dea743bf4be;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hreq.h b/src/afb-hreq.h index ff394e03..b511f230 100644 --- a/src/afb-hreq.h +++ b/src/afb-hreq.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 "IoT.bzh" + * Copyright (C) 2015-2020 "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);