diff options
author | David Zeuthen <davidz@redhat.com> | 2009-01-18 16:14:39 -0500 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2009-01-18 16:14:39 -0500 |
commit | 4653150b07c83d9140893b115699bdc1c238ee1a (patch) | |
tree | a9168a2effd0e3f3b2552cc091f667ec5cb5e2bb /src/polkitbackend/polkitbackendauthority.c | |
parent | f8ce12a6cb950073fab66f6dccbfff4eed85849a (diff) | |
download | polkit-4653150b07c83d9140893b115699bdc1c238ee1a.tar.gz |
rename CheckClaim() to CheckAuthorization()
Also get rid of AuthorizationClaim type and add D-Bus prototypes for a
couple of other methods.
Diffstat (limited to 'src/polkitbackend/polkitbackendauthority.c')
-rw-r--r-- | src/polkitbackend/polkitbackendauthority.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/polkitbackend/polkitbackendauthority.c b/src/polkitbackend/polkitbackendauthority.c index f00cfbe..8dfa873 100644 --- a/src/polkitbackend/polkitbackendauthority.c +++ b/src/polkitbackend/polkitbackendauthority.c @@ -84,13 +84,15 @@ polkit_backend_authority_enumerate_sessions (PolkitBackendAuthority *authority } void -polkit_backend_authority_check_claim (PolkitBackendAuthority *authority, - PolkitAuthorizationClaim *claim, - PolkitBackendPendingCall *pending_call) +polkit_backend_authority_check_authorization (PolkitBackendAuthority *authority, + PolkitSubject *subject, + const gchar *action_id, + PolkitCheckAuthorizationFlags flags, + PolkitBackendPendingCall *pending_call) { PolkitBackendAuthorityClass *klass; klass = POLKIT_BACKEND_AUTHORITY_GET_CLASS (authority); - klass->check_claim (authority, claim, pending_call); + klass->check_authorization (authority, subject, action_id, flags, pending_call); } |