| PolicyKit Library Reference Manual | ||||
|---|---|---|---|---|
typedef PolKitPolicyFileEntry; PolKitPolicyFileEntry* polkit_policy_file_entry_ref (PolKitPolicyFileEntry *policy_file_entry); void polkit_policy_file_entry_unref (PolKitPolicyFileEntry *policy_file_entry); void polkit_policy_file_entry_debug (PolKitPolicyFileEntry *policy_file_entry); const char* polkit_policy_file_entry_get_id (PolKitPolicyFileEntry *policy_file_entry); const char* polkit_policy_file_entry_get_group_id (PolKitPolicyFileEntry *policy_file_entry); PolKitPolicyDefault* polkit_policy_file_entry_get_default (PolKitPolicyFileEntry *policy_file_entry);
PolKitPolicyFileEntry* polkit_policy_file_entry_ref (PolKitPolicyFileEntry *policy_file_entry);
Increase reference count.
|
the policy file object |
Returns : |
the object |
void polkit_policy_file_entry_unref (PolKitPolicyFileEntry *policy_file_entry);
Decreases the reference count of the object. If it becomes zero, the object is freed. Before freeing, reference counts on embedded objects are decresed by one.
|
the policy file object |
void polkit_policy_file_entry_debug (PolKitPolicyFileEntry *policy_file_entry);
Print debug information about object
|
the entry |
const char* polkit_policy_file_entry_get_id (PolKitPolicyFileEntry *policy_file_entry);
Get the action identifier.
|
the file entry |
Returns : |
A string - caller shall not free this string. |
const char* polkit_policy_file_entry_get_group_id
(PolKitPolicyFileEntry *policy_file_entry);
Get the action group identifier.
|
the file entry |
Returns : |
A string - caller shall not free this string. |
PolKitPolicyDefault* polkit_policy_file_entry_get_default (PolKitPolicyFileEntry *policy_file_entry);
Get the the default policy for this policy.
|
the file entry |
Returns : |
A PolKitPolicyDefault object - caller shall not unref this object. |