summaryrefslogtreecommitdiffstats
path: root/ahl-binding/afb-binding-common.h
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-06-29 10:51:21 +0200
committerLoïc Collignon <loic.collignon@iot.bzh>2018-06-29 10:53:51 +0200
commit4189cc2339a723eedba5a9e53929a45d9f0ad5e9 (patch)
tree421063c14fa8298d869e22c2b0d77cbc3354e7ea /ahl-binding/afb-binding-common.h
parent99c48b7bd407f061e22c6a14d94b0f880941e593 (diff)
Fix build for migration to the binder from master
Some definitions changed between eel and master versions of the app-framework-binder. Change-Id: I92d6f4af3193a693580d421adbd4331fcb249392 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'ahl-binding/afb-binding-common.h')
-rw-r--r--ahl-binding/afb-binding-common.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/ahl-binding/afb-binding-common.h b/ahl-binding/afb-binding-common.h
new file mode 100644
index 0000000..61118db
--- /dev/null
+++ b/ahl-binding/afb-binding-common.h
@@ -0,0 +1,33 @@
+#pragma once
+
+/*
+ * Copyright (C) 2018 "IoT.bzh"
+ * Author Loïc Collignon <loic.collignon@iot.bzh>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define AFB_BINDING_VERSION 0
+#define AFB_BINDING_WANT_DYNAPI
+#include <afb/afb-binding.h>
+#include <string.h>
+#include <ctl-config.h>
+
+#ifdef __cplusplus
+}
+#endif
+