Top |
PolkitDetails * | polkit_details_new () |
const gchar * | polkit_details_lookup () |
void | polkit_details_insert () |
gchar ** | polkit_details_get_keys () |
PolkitDetails *
polkit_details_new (void
);
Creates a new PolkitDetails object.
const gchar * polkit_details_lookup (PolkitDetails *details
,const gchar *key
);
Gets the value for key
on details
.
void polkit_details_insert (PolkitDetails *details
,const gchar *key
,const gchar *value
);
Inserts a copy of key
and value
on details
.
If value
is NULL
, the key will be removed.
gchar **
polkit_details_get_keys (PolkitDetails *details
);
Gets a list of all keys on details
.
NULL
if there are no keys
otherwise an array of strings that should be freed with
g_strfreev()
.
[transfer full][allow-none]
typedef struct _PolkitDetails PolkitDetails;
The PolkitDetails struct should not be accessed directly.