aboutsummaryrefslogtreecommitdiffstats
path: root/include/proto-def.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2015-12-21 18:03:51 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2015-12-21 18:03:51 +0100
commit7c2a0b5d080742c1d85a48b261b6949d0ccd1f11 (patch)
tree10bfbdef6e7700646f793d1040ffefe2896f40ea /include/proto-def.h
parent923ae026828a5cd325cb0dc658c78f50d029b1bf (diff)
improved use of const qualifier
Change-Id: I371bfb6fdbaec91c14c0f3e2f2a45952252f8e27
Diffstat (limited to 'include/proto-def.h')
-rw-r--r--include/proto-def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/proto-def.h b/include/proto-def.h
index ac4f21b9..df26ce1b 100644
--- a/include/proto-def.h
+++ b/include/proto-def.h
@@ -21,7 +21,7 @@
// helper-api
PUBLIC json_object* getPingTest(AFB_request *request);
-PUBLIC const char* getQueryValue (AFB_request * request, char *name);
+PUBLIC const char* getQueryValue (const AFB_request * request, const char *name);
PUBLIC int getQueryAll(AFB_request * request, char *query, size_t len);
PUBLIC AFB_PostHandle* getPostHandle (AFB_request *request);
PUBLIC json_object* getPostFile (AFB_request *request, AFB_PostItem *item, char* destination) ;