X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-auth.h;h=db0840376f61b2192a6a6248eddc19e382be576a;hb=36c7ab15e79d6b0ff6188b61da1061f36b902f8e;hp=75e5d56ee162c983a014290ac37c96f023904dda;hpb=1d24a50bda149604760cdc1fd53f65b988c61f0c;p=src%2Fapp-framework-binder.git diff --git a/src/afb-auth.h b/src/afb-auth.h index 75e5d56e..db084037 100644 --- a/src/afb-auth.h +++ b/src/afb-auth.h @@ -20,4 +20,6 @@ struct afb_auth; struct afb_xreq; -extern int afb_auth_check(const struct afb_auth *auth, struct afb_xreq *xreq); +extern int afb_auth_check(struct afb_xreq *xreq, const struct afb_auth *auth); +extern int afb_auth_has_permission(struct afb_xreq *xreq, const char *permission); +