Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove returning token
[src/app-framework-binder.git]
/
src
/
afb-hreq.h
diff --git
a/src/afb-hreq.h
b/src/afb-hreq.h
index
ff394e0
..
1b682c8
100644
(file)
--- 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 <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Author: José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-19,8
+19,10
@@
#include "afb-xreq.h"
#include "afb-xreq.h"
-struct afb_session;
struct json_object;
struct json_object;
+struct json_tokener;
+
+struct afb_session;
struct hreq_data;
struct afb_hsrv;
struct locale_search;
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 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);
};
extern int afb_hreq_unprefix(struct afb_hreq *request, const char *prefix, size_t length);