diff options
Diffstat (limited to 'src/afb-export.h')
-rw-r--r-- | src/afb-export.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/afb-export.h b/src/afb-export.h index 853fc5d4..9bd08204 100644 --- a/src/afb-export.h +++ b/src/afb-export.h @@ -24,8 +24,9 @@ struct afb_service; struct afb_binding_data_v2; struct afb_binding_interface_v1; -extern struct afb_export *afb_export_create_v1(const char *apiname, int (*init)(struct afb_service), void (*onevent)(const char*, struct json_object*)); -extern struct afb_export *afb_export_create_v2(const char *apiname, struct afb_binding_data_v2 *data, int (*init)(), void (*onevent)(const char*, struct json_object*)); +extern struct afb_export *afb_export_create_v1(struct afb_apiset *apiset, const char *apiname, int (*init)(struct afb_service), void (*onevent)(const char*, struct json_object*)); +extern struct afb_export *afb_export_create_v2(struct afb_apiset *apiset, const char *apiname, struct afb_binding_data_v2 *data, int (*init)(), void (*onevent)(const char*, struct json_object*)); + extern void afb_export_destroy(struct afb_export *export); extern const char *afb_export_apiname(const struct afb_export *export); |