aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-17 11:04:49 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-07-17 11:04:49 +0200
commitb8a340f81bd9a833ef96fd180c6637b1fe95b25a (patch)
tree88b906978d4b31a6949b067a069442dd0af38827
parentc9ec9b1a76ce90048974476b1a5aa1be89b58536 (diff)
Missing member on new binding v2 struct.
Change-Id: I5fc248d0fcbf3fb8d8cb25138778b11da7cd039a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--docs/afb-binding-references.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/afb-binding-references.md b/docs/afb-binding-references.md
index 7cc5ba8b..a90adf36 100644
--- a/docs/afb-binding-references.md
+++ b/docs/afb-binding-references.md
@@ -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 */
};
```