summaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-05-26 19:42:50 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:51:00 +0200
commitbb13f7376e40119d08bb4c2b6a291f49a3432e59 (patch)
treebb7305c03de6ba1853a627c0b02762e9bf6e97e8 /4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h
parentb1734993fee173ca854dc4396c85c0766d01bbb8 (diff)
Parse controller config to get halmixer json object
Parse controller configuration to get halmixer json object, this object is inside 'halmixer' section of controller configuration file. Use streams defined in this 'halmixer' section to get available streams of this hal, store them, and declare them as hal api verbs. Change-Id: I47adb2756f89f2a84c8d651ba38ecea5b84079c3 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
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.h7
1 files changed, 7 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 7bd6434..765001e 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.h
@@ -23,6 +23,13 @@
#define AFB_BINDING_VERSION dyn
#include <afb/afb-binding.h>
+#include <ctl-config.h>
+
+// HAL controllers sections parsing functions
+int HalCtlsHalMixerConfig(afb_dynapi *apiHandle, CtlSectionT *section, json_object *MixerJ);
+
+// HAL controllers verbs functions
+void HalCtlsActionOnStream(afb_request *request);
void HalCtlsListVerbs(afb_request *request);
#endif /* _HALMGR_CB_INCLUDE_ */ \ No newline at end of file