|  |  |  | polkit Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
PolkitDetails; PolkitDetails * polkit_details_new (void); const gchar * polkit_details_lookup (PolkitDetails *details,const gchar *key); void polkit_details_insert (PolkitDetails *details,const gchar *key,const gchar *value); gchar ** polkit_details_get_keys (PolkitDetails *details);
typedef struct _PolkitDetails PolkitDetails;
The PolkitDetails struct should not be accessed directly.
PolkitDetails *     polkit_details_new                  (void);
Creates a new PolkitDetails object.
| Returns : | A PolkitDetails object. Free with g_object_unref(). | 
const gchar * polkit_details_lookup (PolkitDetails *details,const gchar *key);
Gets the value for key on details.
| 
 | A PolkitDetails. | 
| 
 | A key. | 
| Returns : | NULLif there is no value forkey, otherwise a string owned bydetails. [allow-none] | 
void polkit_details_insert (PolkitDetails *details,const gchar *key,const gchar *value);
Inserts a copy of key and value on details.
| 
 | A PolkitDetails. | 
| 
 | A key. | 
| 
 | A value. [allow-none] | 
gchar **            polkit_details_get_keys             (PolkitDetails *details);
Gets a list of all keys on details.
| 
 | A PolkitDetails. | 
| Returns : | NULLif there are no keys
otherwise an array of strings that should be freed withg_strfreev(). [transfer full][allow-none] |