Missing member on new binding v2 struct. 13/10213/1 3.99.3 4.0.0 dab/3.99.3 dab/4.0.0 dab_3.99.3 dab_4.0.0
authorRomain Forlot <romain.forlot@iot.bzh>
Mon, 17 Jul 2017 09:04:49 +0000 (11:04 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 17 Jul 2017 13:44:53 +0000 (13:44 +0000)
Change-Id: I5fc248d0fcbf3fb8d8cb25138778b11da7cd039a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
docs/afb-binding-references.md

index 7cc5ba8..a90adf3 100644 (file)
@@ -19,6 +19,7 @@ struct afb_binding_v2
 {
         const char *api;                       /* api name for the binding */
         const char *specification;             /* textual openAPIv3 specification of the binding */
+       const char *info;                       /* some info about the api, can be NULL */
         const struct afb_verb_v2 *verbs;       /* array of descriptions of verbs terminated by a NULL name */
         int (*preinit)();                       /* callback at load of the binding */
         int (*init)();                          /* callback for starting the service */
@@ -42,6 +43,7 @@ struct afb_verb_v2
         const char *verb;                       /* name of the verb */
         void (*callback)(struct afb_req req);   /* callback function implementing the verb */
         const struct afb_auth *auth;               /* required authorization */
+       const char *info;                       /* some info about the verb, can be NULL */
         uint32_t session;                       /* authorization and session requirements of the verb */
 };
 ```