diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-04-01 16:20:12 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-04-01 16:20:12 +0200 |
commit | bbe18a624f4961165cf52d7f4c25de6f3a7ec012 (patch) | |
tree | 8167fa621fbcdcd91e11988ce6d8c9cf4072fc48 /include/proto-def.h | |
parent | c95f72616f59a317f72c58c0e5664992504a48e5 (diff) |
work in progress
Change-Id: I3df95def03bb26ca4d1a52f7cd94b0fb67375d4c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/proto-def.h')
-rw-r--r-- | include/proto-def.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/proto-def.h b/include/proto-def.h index c364035a..e2190eb1 100644 --- a/include/proto-def.h +++ b/include/proto-def.h @@ -21,7 +21,7 @@ // helper-api extern const char* getQueryValue (const AFB_request * request, const char *name); -extern int getQueryAll(AFB_request * request, char *query, size_t len); +extern size_t getQueryAll(AFB_request * request, char *query, size_t len); /* extern json_object* getPostFile (AFB_request *request, AFB_PostItem *item, char* destination) ; extern char* getPostPath (AFB_request *request); @@ -29,12 +29,6 @@ extern char* getPostPath (AFB_request *request); extern json_object *jsonNewMessage (AFB_error level, char* format, ...); -// rest-api -extern void endPostRequest(AFB_PostHandle *posthandle); -extern int doRestApi(struct MHD_Connection *connection, AFB_session *session, const char* url, const char *method - , const char *upload_data, size_t *upload_data_size, void **con_cls); - - // Httpd server extern AFB_error httpdStart (AFB_session *session); |