summaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h
diff options
context:
space:
mode:
Diffstat (limited to '4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h')
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h
index f1766ae..d9b4411 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h
@@ -32,6 +32,12 @@ enum ActionOnMixerType {
ACTION_ON_MIXER_ALL_STREAM = 4
};
+// Enum for the type of subscription/subscription
+enum SubscribeUnsubscribeType {
+ SUBSCRIPTION = 1,
+ UNSUBSCRIPTION = 2
+};
+
// HAL controller event handler function
void HalCtlsDispatchApiEvent(AFB_ApiT apiHandle, const char *evtLabel, json_object *eventJ);
@@ -45,5 +51,7 @@ void HalCtlsActionOnPlayback(AFB_ReqT request);
void HalCtlsActionOnCapture(AFB_ReqT request);
void HalCtlsActionOnAllStream(AFB_ReqT request);
void HalCtlsInfo(AFB_ReqT request);
+void HalCtlsSubscribe(AFB_ReqT request);
+void HalCtlsUnsubscribe(AFB_ReqT request);
#endif /* _HALMGR_CB_INCLUDE_ */ \ No newline at end of file