diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-05-05 19:22:55 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-05-11 15:29:49 +0200 |
commit | 1d24a50bda149604760cdc1fd53f65b988c61f0c (patch) | |
tree | e044860a8842375e6ae0d854f9a0e3c5ebdd770b /include/afb/afb-binding-v2.h | |
parent | 22cba30f139a006fadb5fdf521f9c4c5bfbfac4a (diff) |
implement authorisation check
Change-Id: I2ef74b715a115acd11fa13744ba921e875f0bc65
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/afb/afb-binding-v2.h b/include/afb/afb-binding-v2.h index 80e2385d..19bff05a 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 */ - struct afb_auth *auth; /* required authorisation */ + const struct afb_auth *auth; /* required authorisation */ uint32_t session; /* authorisation and session requirements of the verb */ }; |