aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-auth.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-09-04 10:30:26 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-09-07 09:43:13 +0200
commit2f0f452807a35a01d879659adb217e1d9234585d (patch)
tree3881e402e7a5e15b31b49b5d5967224599b1e50e /src/afb-auth.h
parent718de20a3cf830ba2da0a6c37e4588e4df251f1d (diff)
afb-auth: export method to check a single permission
Change-Id: I45c4872f34ff8f25c14872d7b3610fa15f48062e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-auth.h')
-rw-r--r--src/afb-auth.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afb-auth.h b/src/afb-auth.h
index 786f3970..d388e777 100644
--- a/src/afb-auth.h
+++ b/src/afb-auth.h
@@ -21,3 +21,5 @@ struct afb_auth;
struct afb_xreq;
extern int afb_auth_check(struct afb_xreq *xreq, const struct afb_auth *auth);
+extern int afb_auth_check_permission(struct afb_xreq *xreq, const char *permission);
+