summaryrefslogtreecommitdiffstats
path: root/include/afb/afb-binding.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-03-30 19:02:06 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-03-30 19:02:06 +0200
commitc9ba2ce49808a19a4ef982280a46256797b830ae (patch)
tree8e62a2bd8276a80642c2b2a5e2f52d6961fdc3de /include/afb/afb-binding.h
parentc710a0da4ebcc126275c42a0387ff85b2557e3ae (diff)
Start to implement the bindings V2
More work has to be done for merging common code. Change-Id: I72b01901f978854843967c12bfcb3cc59cc10310 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb/afb-binding.h')
-rw-r--r--include/afb/afb-binding.h22
1 files changed, 2 insertions, 20 deletions
diff --git a/include/afb/afb-binding.h b/include/afb/afb-binding.h
index 8df08ded..c8f96a39 100644
--- a/include/afb/afb-binding.h
+++ b/include/afb/afb-binding.h
@@ -38,27 +38,9 @@
#include "afb-event-itf.h"
#include "afb-req-itf.h"
+#include "afb-service-itf.h"
#include "afb-binding-v1.h"
-
-/*
- * Definition of the type+versions of the binding.
- * The definition uses hashes.
- */
-enum afb_binding_type
-{
- AFB_BINDING_VERSION_1 = 123456789 /* version 1 */
-};
-
-/*
- * Description of a binding
- */
-struct afb_binding
-{
- enum afb_binding_type type; /* type of the binding */
- union {
- struct afb_binding_desc_v1 v1; /* description of the binding of type 1 */
- };
-};
+#include "afb-binding-v2.h"
/*
* config mode