summaryrefslogtreecommitdiffstats
path: root/include/afb/afb-binding-v2.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-05-04 16:45:54 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-05-04 16:45:54 +0200
commit863d6041e2ff2daa97fb1befb79dc3a69093e112 (patch)
tree6fe447b861e98b27ceb08d36b3714e1aeffad9e2 /include/afb/afb-binding-v2.h
parent4be084408c6d3d7b7f90a2493829c8ce0cebb397 (diff)
Prepare permission for binding version 2
Change-Id: I38c1291b3c11a9b436d00ef6dab4f7efb86e4996 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb/afb-binding-v2.h')
-rw-r--r--include/afb/afb-binding-v2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/afb/afb-binding-v2.h b/include/afb/afb-binding-v2.h
index 17adb02e..80e2385d 100644
--- a/include/afb/afb-binding-v2.h
+++ b/include/afb/afb-binding-v2.h
@@ -43,7 +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 char * permissions; /* required permissions */
+ struct afb_auth *auth; /* required authorisation */
uint32_t session; /* authorisation and session requirements of the verb */
};