diff options
author | David Zeuthen <davidz@redhat.com> | 2008-12-07 17:55:36 -0500 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2008-12-07 17:55:36 -0500 |
commit | 88e43be5fd3cd49a04c3e6a5c75bd3d9e7308cf8 (patch) | |
tree | e0e0fe1e6bbf0169e7f0785ca8c42292e0d995c5 /data | |
parent | f7ee1f5f07831039f23243f8bb92654bfe11d3f6 (diff) | |
download | polkit-88e43be5fd3cd49a04c3e6a5c75bd3d9e7308cf8.tar.gz |
rework AuthorizationClaim to be a GInterface so we can pass it over D-Bus
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.PolicyKit1.Authority.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/data/org.freedesktop.PolicyKit1.Authority.xml b/data/org.freedesktop.PolicyKit1.Authority.xml index d3e2fd5..85826d9 100644 --- a/data/org.freedesktop.PolicyKit1.Authority.xml +++ b/data/org.freedesktop.PolicyKit1.Authority.xml @@ -30,6 +30,16 @@ </annotation> + <!-- User defined struct for AuthorizationClaim --> + <annotation name="org.gtk.EggDBus.DeclareStruct" value="AuthorizationClaim"> + <annotation name="org.gtk.EggDBus.Struct.Signature" value="((sa{sv})sa{ss})"/> + + <!-- element 0: (sa{sv}): subject --> + <!-- element 1: string: action-id --> + <!-- element 2: map<string,string>: attributes --> + + </annotation> + <!-- The error domain used for reporting errors --> <annotation name="org.gtk.EggDBus.DeclareErrorDomain" value="Error"> <annotation name="org.gtk.EggDBus.ErrorDomain.Member" value="org.freedesktop.PolicyKit1.Error.Failed"> @@ -70,5 +80,14 @@ <arg name="action_descriptions" direction="out" type="a(ssssssa{ss})"/> </method> + <method name="CheckClaim"> + <arg name="claim" direction="in" type="((sa{sv})sa{ss})"> + <annotation name="org.gtk.EggDBus.StructType" value="AuthorizationClaim"/> + </arg> + <arg name="result" direction="out" type="i"> + <annotation name="org.gtk.EggDBus.EnumType" value="AuthorizationResult"/> + </arg> + </method> + </interface> </node> |