summaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-manager/4a-hal-manager-cb.h
diff options
context:
space:
mode:
Diffstat (limited to '4a-hal/4a-hal-manager/4a-hal-manager-cb.h')
-rw-r--r--4a-hal/4a-hal-manager/4a-hal-manager-cb.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-cb.h b/4a-hal/4a-hal-manager/4a-hal-manager-cb.h
index 728191d..4213196 100644
--- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.h
+++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.h
@@ -20,19 +20,18 @@
#include <stdio.h>
-#define AFB_BINDING_VERSION dyn
-#include <afb/afb-binding.h>
+#include <afb-definitions.h>
// Event handler
-void HalMgrDispatchApiEvent(afb_dynapi *apiHandle, const char *evtLabel, json_object *eventJ);
+void HalMgrDispatchApiEvent(AFB_ApiT apiHandle, const char *evtLabel, json_object *eventJ);
// Exported verbs callbacks
-void HalMgrPing(afb_request *request);
+void HalMgrPing(AFB_ReqT request);
-void HalMgrLoaded(afb_request *request);
-void HalMgrLoad(afb_request *request);
-void HalMgrUnload(afb_request *request);
-void HalMgrSubscribeEvent(afb_request *request);
-void HalMgrUnsubscribeEvent(afb_request *request);
+void HalMgrLoaded(AFB_ReqT request);
+void HalMgrLoad(AFB_ReqT request);
+void HalMgrUnload(AFB_ReqT request);
+void HalMgrSubscribeEvent(AFB_ReqT request);
+void HalMgrUnsubscribeEvent(AFB_ReqT request);
#endif /* _HALMGR_CB_INCLUDE_ */ \ No newline at end of file