X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fproto-def.h;h=315cecfafcb00429c08e64ce7f2e0ced3c77a667;hb=6f22e88cd3e6d502efa7100ad2b129641305fb53;hp=d8001142d097980a3bb66884a007bec9c019e338;hpb=4e43e3b53482bff8cb835271eb3207aeaf593812;p=src%2Fapp-framework-binder.git diff --git a/include/proto-def.h b/include/proto-def.h index d8001142..315cecfa 100644 --- a/include/proto-def.h +++ b/include/proto-def.h @@ -29,14 +29,16 @@ 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); typedef AFB_plugin* (*AFB_pluginCB)(); -PUBLIC AFB_plugin* afsvRegister (); -PUBLIC AFB_plugin* dbusRegister (); -PUBLIC AFB_plugin* alsaRegister (); -PUBLIC AFB_plugin* radioRegister (AFB_session *session); +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);