diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-06-22 14:05:28 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2018-06-22 14:05:28 +0200 |
commit | cd6d4492a271951c856ce611b88df0b4cc0ae7f0 (patch) | |
tree | 97b716bc99143f4582bb7b59ff44738ea20d9f2a /src/afb-api-v3.h | |
parent | 211343c77944333d550301da4d757e343e5f5390 (diff) |
api-v3: Add monitoring of faults in preinit functions
Change-Id: I0abea1aa62d86372f07f61b7c5dc2e854137f99a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-api-v3.h')
-rw-r--r-- | src/afb-api-v3.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afb-api-v3.h b/src/afb-api-v3.h index 33649f35..04d9124a 100644 --- a/src/afb-api-v3.h +++ b/src/afb-api-v3.h @@ -46,6 +46,10 @@ extern struct afb_api_v3 *afb_api_v3_from_binding( struct afb_apiset *declare_set, struct afb_apiset * call_set); +extern int afb_api_v3_safe_preinit( + struct afb_api_x3 *api, + int (*preinit)(struct afb_api_x3 *)); + extern int afb_api_v3_set_binding_fields(const struct afb_binding_v3 *desc, struct afb_api_x3 *api); extern struct afb_api_v3 *afb_api_v3_addref(struct afb_api_v3 *api); |