diff options
Diffstat (limited to 'src/afb-api-so.c')
-rw-r--r-- | src/afb-api-so.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/afb-api-so.c b/src/afb-api-so.c index 9756b0e0..b741b13a 100644 --- a/src/afb-api-so.c +++ b/src/afb-api-so.c @@ -53,6 +53,11 @@ static int api_timeout = 15; static const char plugin_register_function_v1[] = "pluginAfbV1Register"; +void afb_api_so_set_timeout(int to) +{ + api_timeout = to; +} + static int afb_api_so_event_broadcast(struct api_so_desc *desc, const char *name, struct json_object *object) { size_t length; |