aboutsummaryrefslogtreecommitdiffstats
path: root/src/monitor-api.inc
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-05-19 12:05:29 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-05-19 23:04:44 +0200
commit66451a0d658eabab18f37995659d81d429e0138e (patch)
treefecd83413ee9cf673cecc21c794e8dcd8272a69b /src/monitor-api.inc
parentbd4f365ba69281941c14b2c02d58f4b37a22b42d (diff)
Bindings V2: rename init functions
The new naming is closer to the functionnal design and closer to V1 names. Change-Id: I8970338056a30564b84eaa1a7da6df3a9e6aa579 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/monitor-api.inc')
-rw-r--r--src/monitor-api.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor-api.inc b/src/monitor-api.inc
index 71c2a029..30d1ede6 100644
--- a/src/monitor-api.inc
+++ b/src/monitor-api.inc
@@ -65,8 +65,8 @@ static const struct afb_binding_v2 _afb_binding_v2_monitor = {
.api = "monitor",
.specification = _afb_description_v2_monitor,
.verbs = _afb_verbs_v2_monitor,
+ .preinit = NULL,
.init = NULL,
- .start = NULL,
.onevent = NULL,
};