aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/samples
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 /bindings/samples
parentc9163ac24fa85f6792461790ceaeb919b2e53b45 (diff)
Add backward compatibility and remarks
Change-Id: Ia261e2d9efce399b210f834c1acb679215021edd Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'bindings/samples')
-rw-r--r--bindings/samples/AuthLogin.c1
-rw-r--r--bindings/samples/DemoContext.c1
-rw-r--r--bindings/samples/DemoPost.c1
-rw-r--r--bindings/samples/tic-tac-toe.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/bindings/samples/AuthLogin.c b/bindings/samples/AuthLogin.c
index 62205176..298834f2 100644
--- a/bindings/samples/AuthLogin.c
+++ b/bindings/samples/AuthLogin.c
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <json-c/json.h>
+#define AFB_BINDING_VERSION 1
#include <afb/afb-binding.h>
// Dummy sample of Client Application Context
diff --git a/bindings/samples/DemoContext.c b/bindings/samples/DemoContext.c
index 26677949..a2fec750 100644
--- a/bindings/samples/DemoContext.c
+++ b/bindings/samples/DemoContext.c
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <json-c/json.h>
+#define AFB_BINDING_VERSION 1
#include <afb/afb-binding.h>
typedef struct {
diff --git a/bindings/samples/DemoPost.c b/bindings/samples/DemoPost.c
index bed5d444..c5d6ff7f 100644
--- a/bindings/samples/DemoPost.c
+++ b/bindings/samples/DemoPost.c
@@ -20,6 +20,7 @@
#include <string.h>
#include <json-c/json.h>
+#define AFB_BINDING_VERSION 1
#include <afb/afb-binding.h>
diff --git a/bindings/samples/tic-tac-toe.c b/bindings/samples/tic-tac-toe.c
index fb5eb926..ee76bca0 100644
--- a/bindings/samples/tic-tac-toe.c
+++ b/bindings/samples/tic-tac-toe.c
@@ -20,6 +20,7 @@
#include <string.h>
#include <json-c/json.h>
+#define AFB_BINDING_VERSION 1
#include <afb/afb-binding.h>
/*