Top |
const gchar *
polkit_action_description_get_action_id
(PolkitActionDescription *action_description
);
Gets the action id for action_description
.
const gchar *
polkit_action_description_get_description
(PolkitActionDescription *action_description
);
Gets the description used for action_description
.
const gchar *
polkit_action_description_get_message (PolkitActionDescription *action_description
);
Gets the message used for action_description
.
const gchar *
polkit_action_description_get_vendor_name
(PolkitActionDescription *action_description
);
Gets the vendor name for action_description
, if any.
const gchar *
polkit_action_description_get_vendor_url
(PolkitActionDescription *action_description
);
Gets the vendor URL for action_description
, if any.
const gchar *
polkit_action_description_get_icon_name
(PolkitActionDescription *action_description
);
Gets the icon name for action_description
, if any.
PolkitImplicitAuthorization
polkit_action_description_get_implicit_any
(PolkitActionDescription *action_description
);
Gets the implicit authorization for action_description
used for
any subject.
PolkitImplicitAuthorization
polkit_action_description_get_implicit_inactive
(PolkitActionDescription *action_description
);
Gets the implicit authorization for action_description
used for
subjects in inactive sessions on a local console.
PolkitImplicitAuthorization
polkit_action_description_get_implicit_active
(PolkitActionDescription *action_description
);
Gets the implicit authorization for action_description
used for
subjects in active sessions on a local console.
const gchar * polkit_action_description_get_annotation (PolkitActionDescription *action_description
,const gchar *key
);
Get the value of the annotation with key
.
NULL
if there is no annoation with key
,
otherwise the annotation value owned by action_description
. Do not
free.
[allow-none]
const gchar * const *
polkit_action_description_get_annotation_keys
(PolkitActionDescription *action_description
);
Gets the keys of annotations defined in action_description
.
const gchar *
polkit_implicit_authorization_to_string
(PolkitImplicitAuthorization implicit_authorization
);
gboolean polkit_implicit_authorization_from_string (const gchar *string
,PolkitImplicitAuthorization *out_implicit_authorization
);
typedef struct _PolkitActionDescription PolkitActionDescription;
The PolkitActionDescription struct should not be accessed directly.
Possible implicit authorizations.