diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2015-12-10 18:12:57 +0100 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2015-12-10 18:12:57 +0100 |
commit | 446e0a75684131f2f2fec251775db9ee450003ec (patch) | |
tree | d6fe912a7b1824d13b28e7417cf5a3bc14b4d0a6 /include/proto-def.h | |
parent | 8c6965fd4a7b0e301fb842a7c2917001327fcd6b (diff) |
Fix Json Message Structure
Diffstat (limited to 'include/proto-def.h')
-rw-r--r-- | include/proto-def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/proto-def.h b/include/proto-def.h index 3e1d1c38..cc372bf7 100644 --- a/include/proto-def.h +++ b/include/proto-def.h @@ -24,7 +24,7 @@ PUBLIC json_object* apiPingTest(AFB_session *session, AFB_request *request, void* handle); PUBLIC const char* getQueryValue (AFB_request * request, char *name); -PUBLIC const char* getQueryAll(AFB_request * request, char *query, size_t len); +PUBLIC int getQueryAll(AFB_request * request, char *query, size_t len); PUBLIC int doRestApi(struct MHD_Connection *connection, AFB_session *session, const char* url, const char *method |