jobs: Switch back to sd_event
[src/app-framework-binder.git] / include / afb / afb-dynapi-itf.h
index dd291ae..979088d 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");
@@ -43,6 +43,9 @@ struct afb_dynapi
 
        /* current verbosity level */
        int verbosity;
+
+       /* the name of the api */
+       const char *apiname;
 };
 
 /*
@@ -128,6 +131,7 @@ struct afb_dynapi_itf
                void *dynapi,
                const char *api,
                const char *info,
+               int noconcurrency,
                int (*preinit)(void*, struct afb_dynapi *),
                void *closure);
 
@@ -140,6 +144,7 @@ struct afb_dynapi_itf
                const char *verb,
                const char *info,
                void (*callback)(struct afb_request *request),
+               void *vcbdata,
                const struct afb_auth *auth,
                uint32_t session);