afb-auth: export method to check a single permission
[src/app-framework-binder.git] / src / afb-auth.h
index 786f397..d388e77 100644 (file)
@@ -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);
+