summaryrefslogtreecommitdiffstats
path: root/ucs2-afb/ucs_binding.h
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-07-19 15:35:39 +0200
committerFulup Ar Foll <fulup@iot.bzh>2017-07-19 15:35:39 +0200
commit07b52f2a1a51a0715e03346229d72bb3c7154b2b (patch)
treee9baa38e830caf4db162905bfee692ae5d150940 /ucs2-afb/ucs_binding.h
parentffbadf58291dd1c66acc7b17add759291e14f311 (diff)
First Compilation in V2 (work in Progress)
Diffstat (limited to 'ucs2-afb/ucs_binding.h')
-rw-r--r--ucs2-afb/ucs_binding.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ucs2-afb/ucs_binding.h b/ucs2-afb/ucs_binding.h
index 5b74730..082f6cc 100644
--- a/ucs2-afb/ucs_binding.h
+++ b/ucs2-afb/ucs_binding.h
@@ -18,6 +18,9 @@
#ifndef UCS2BINDING_H
#define UCS2BINDING_H
+// Use Version of AGL Application Framework API
+#define AFB_BINDING_VERSION 2
+
#ifndef PUBLIC
#define PUBLIC
#endif
@@ -25,7 +28,6 @@
#include <json-c/json.h>
#include <afb/afb-binding.h>
-#include <afb/afb-service-itf.h>
#include "ucs_interface.h"
@@ -41,7 +43,7 @@ extern const struct afb_binding_interface *afbIface;
extern struct afb_service afbSrv;
// API verbs prototype
-PUBLIC void ucs2Init (struct afb_req request);
+PUBLIC void ucs2Configure (struct afb_req request);
PUBLIC void ucs2SetVol (struct afb_req request);