From bbe18a624f4961165cf52d7f4c25de6f3a7ec012 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Fri, 1 Apr 2016 16:20:12 +0200 Subject: work in progress MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3df95def03bb26ca4d1a52f7cd94b0fb67375d4c Signed-off-by: José Bollo --- include/proto-def.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include/proto-def.h') 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); -- cgit 1.2.3-korg