aboutsummaryrefslogtreecommitdiffstats
path: root/ctl-lib/afb-definitions.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-06-14 17:16:56 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 15:02:55 +0100
commit1a1043fcf64dc9b9424b94cbf3bf36758e4c95b9 (patch)
tree639dc2ec787c4da090e4ac9d7f9deae3ac29f03b /ctl-lib/afb-definitions.h
parentdafe914aacac40c87e09a521fc1ffe763afad097 (diff)
Adjust to compile with incoming bindings v3
Change-Id: I0a3a1db6dacf017ecea5b91dc35eb3ec2d86515d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'ctl-lib/afb-definitions.h')
-rw-r--r--ctl-lib/afb-definitions.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ctl-lib/afb-definitions.h b/ctl-lib/afb-definitions.h
index c85bed2..d621f27 100644
--- a/ctl-lib/afb-definitions.h
+++ b/ctl-lib/afb-definitions.h
@@ -28,10 +28,10 @@
#define AFB_BINDING_PREV3
#define AFB_ReqNone NULL
- typedef afb_request* AFB_ReqT;
- typedef afb_dynapi* AFB_ApiT;
+ typedef struct afb_request* AFB_ReqT;
+ typedef struct afb_dynapi* AFB_ApiT;
- typedef afb_eventid* AFB_EventT;
+ typedef struct afb_eventid* AFB_EventT;
#define AFB_EventIsValid(eventid) eventid
#define AFB_EventPush afb_eventid_push
#define AFB_ReqSubscribe afb_request_subscribe
@@ -86,11 +86,11 @@
#define AFB_BINDING_VERSION 2
#include <afb/afb-binding.h>
- typedef afb_req AFB_ReqT;
+ typedef struct afb_req AFB_ReqT;
typedef void* AFB_ApiT;
#define AFB_ReqNone (struct afb_req){0,0}
- typedef afb_event AFB_EventT;
+ typedef struct afb_event AFB_EventT;
#define AFB_EventPush afb_event_push
#define AFB_ReqSubscribe afb_req_subscribe
#define AFB_EventIsValid(event) afb_event_is_valid(event)