aboutsummaryrefslogtreecommitdiffstats
path: root/include/proto-def.h
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2015-12-21 02:10:20 +0100
committerFulup Ar Foll <fulup@iot.bzh>2015-12-21 02:10:20 +0100
commit6f22e88cd3e6d502efa7100ad2b129641305fb53 (patch)
tree25932040425599558366363f09e29d12eda39578 /include/proto-def.h
parent0d170147150b90678225b55548215d09d8273e6d (diff)
Post File Working in Most cases
Diffstat (limited to 'include/proto-def.h')
-rw-r--r--include/proto-def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/proto-def.h b/include/proto-def.h
index 4241b4b9..315cecfa 100644
--- a/include/proto-def.h
+++ b/include/proto-def.h
@@ -29,6 +29,7 @@ PUBLIC int getQueryAll(AFB_request * request, char *query, size_t len);
PUBLIC void endPostRequest(AFB_PostHandle *posthandle);
PUBLIC 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);
+PUBLIC AFB_PostHandle* getPostHandle (AFB_request *request);
void initPlugins (AFB_session *session);
@@ -37,6 +38,7 @@ PUBLIC AFB_plugin* tokenRegister ();
PUBLIC AFB_plugin* audioRegister ();
PUBLIC AFB_plugin* helloWorldRegister ();
PUBLIC AFB_plugin* radioRegister ();
+PUBLIC AFB_plugin* samplePostRegister ();
// Session handling
PUBLIC AFB_error sessionCheckdir (AFB_session *session);