aboutsummaryrefslogtreecommitdiffstats
path: root/include/afb/afb-service-itf.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-05-31 17:20:41 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-06-01 10:20:07 +0200
commit4dc768d67031aa99e2b885a0df7e643fdd1fa80c (patch)
tree8ee2e6a65733166576c6e7c1592c7dba73f2cf4e /include/afb/afb-service-itf.h
parentc9163ac24fa85f6792461790ceaeb919b2e53b45 (diff)
Add backward compatibility and remarks
Change-Id: Ia261e2d9efce399b210f834c1acb679215021edd Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb/afb-service-itf.h')
-rw-r--r--include/afb/afb-service-itf.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/afb/afb-service-itf.h b/include/afb/afb-service-itf.h
new file mode 100644
index 00000000..490d77e7
--- /dev/null
+++ b/include/afb/afb-service-itf.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2016, 2017 "IoT.bzh"
+ * Author: José Bollo <jose.bollo@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.
+ */
+
+#pragma once
+
+#pragma GCC warning "\n\n\
+ This header file <afb/afb-service-itf.h> is OBSOLETE.\n\
+ It is provided for COMPATIBILITY ONLY.\n\n\
+ Please USE <afb/afb-binding.h> and ADAPT YOUR CODE to new names.\n"
+
+#include "afb-binding.h"
+