diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-05-19 11:12:06 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-05-19 23:04:44 +0200 |
commit | bd4f365ba69281941c14b2c02d58f4b37a22b42d (patch) | |
tree | dc952bf315e4bf2ea66e2aeae9500130f6e7871f /include/afb/afb-binding-v2.h | |
parent | 248ba86f06b1903fff3e0538d7b06c02610b4806 (diff) |
bindings v2: Enforce to explicitely ask for concurrency
Change-Id: Ic20d1eb1c8515cd86444ad62b0daacbcd75e9b7e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb/afb-binding-v2.h')
-rw-r--r-- | include/afb/afb-binding-v2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/afb/afb-binding-v2.h b/include/afb/afb-binding-v2.h index d869dc6e..b949a2d7 100644 --- a/include/afb/afb-binding-v2.h +++ b/include/afb/afb-binding-v2.h @@ -60,6 +60,7 @@ struct afb_binding_v2 int (*init)(struct afb_daemon daemon); int (*start)(struct afb_service service); void (*onevent)(struct afb_service service, const char *event, struct json_object *object); + unsigned concurrent: 1; /* allows concurrent requests to verbs */ }; /* |