Implement afb_req_has_permission
[src/app-framework-binder.git] / src / afb-auth.h
index d388e77..db08403 100644 (file)
@@ -21,5 +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);
+extern int afb_auth_has_permission(struct afb_xreq *xreq, const char *permission);