jobs: Switch back to sd_event
[src/app-framework-binder.git] / src / afb-api-dyn.h
index 61180e2..107d944 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016, 2017 "IoT.bzh"
+ * Copyright (C) 2016, 2017, 2018 "IoT.bzh"
  * Author: José Bollo <jose.bollo@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -36,7 +36,13 @@ struct afb_api_dyn_verb
 
 struct afb_api_dyn;
 
-extern int afb_api_dyn_add(struct afb_apiset *apiset, const char *name, const char *info, int (*preinit)(void*, struct afb_dynapi*), void *closure);
+extern int afb_api_dyn_add(
+               struct afb_apiset *apiset,
+               const char *name,
+               const char *info,
+               int noconcurrency,
+               int (*preinit)(void*, struct afb_dynapi*),
+               void *closure);
 
 extern void afb_api_dyn_set_verbs_v2(
                struct afb_api_dyn *dynapi,