summaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-config.h
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-08-16 17:56:23 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-08-20 16:06:43 +0200
commit4386ec54f811f19a14d0f60688321d4a1a69b78a (patch)
tree7ac0dec659f66b13e292811138b99c65e489a4b7 /ctl-lib/ctl-config.h
parent789a8ae5080bc91ab9ec3bd7760f88b5d214001c (diff)
Migration to v3
This makes controller fully compatible with binding v3 and also keeps the compatibility with the Pre-V3 + DYNAPI bindings. Change-Id: Iaa47e51b9cb964bbe2f050784fca355c780673f8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-config.h')
-rw-r--r--ctl-lib/ctl-config.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ctl-lib/ctl-config.h b/ctl-lib/ctl-config.h
index 914b8e5..b2f1e2f 100644
--- a/ctl-lib/ctl-config.h
+++ b/ctl-lib/ctl-config.h
@@ -110,11 +110,8 @@ extern int CtlLoadSections(AFB_ApiT apiHandle, CtlConfigT *ctlHandle, CtlSection
// ctl-event.c
extern int EventConfig(AFB_ApiT apihandle, CtlSectionT *section, json_object *actionsJ);
-#ifdef AFB_BINDING_PREV3
extern void CtrlDispatchApiEvent (AFB_ApiT apiHandle, const char *evtLabel, struct json_object *eventJ);
-#else
extern void CtrlDispatchV2Event(const char *evtLabel, json_object *eventJ);
-#endif
// ctl-control.c
extern int ControlConfig(AFB_ApiT apiHandle, CtlSectionT *section, json_object *actionsJ);