aboutsummaryrefslogtreecommitdiffstats
path: root/ahl-binding/afb-binding-common.h
diff options
context:
space:
mode:
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
+