summaryrefslogtreecommitdiffstats
path: root/include/proto-def.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/proto-def.h')
-rw-r--r--include/proto-def.h8
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);