|  |  |  | polkit Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
PolkitSystemBusName; PolkitSubject * polkit_system_bus_name_new (const gchar *name); const gchar * polkit_system_bus_name_get_name (PolkitSystemBusName *system_bus_name); void polkit_system_bus_name_set_name (PolkitSystemBusName *system_bus_name,const gchar *name); PolkitSubject * polkit_system_bus_name_get_process_sync (PolkitSystemBusName *system_bus_name,GCancellable *cancellable,GError **error);
PolkitSubject *     polkit_system_bus_name_new          (const gchar *name);
Creates a new PolkitSystemBusName for name.
| 
 | A unique system bus name. | 
| Returns : | A PolkitSystemBusName. Free with g_object_unref(). [transfer full] | 
const gchar *       polkit_system_bus_name_get_name     (PolkitSystemBusName *system_bus_name);
Gets the unique system bus name for system_bus_name.
| 
 | A PolkitSystemBusName. | 
| Returns : | The unique system bus name for system_bus_name. Do not
free, this string is owned bysystem_bus_name. | 
void polkit_system_bus_name_set_name (PolkitSystemBusName *system_bus_name,const gchar *name);
Sets the unique system bus name for system_bus_name.
| 
 | A PolkitSystemBusName. | 
| 
 | A unique system bus name. | 
PolkitSubject * polkit_system_bus_name_get_process_sync (PolkitSystemBusName *system_bus_name,GCancellable *cancellable,GError **error);
Synchronously gets a PolkitUnixProcess object for system_bus_name
the calling thread is blocked until a reply is received.
| 
 | A PolkitSystemBusName. | 
| 
 | A GCancellable or NULL. [allow-none] | 
| 
 | Return location for error or NULL. [allow-none] | 
| Returns : | A PolkitUnixProcess object or NULLiferroris set. [allow-none][transfer full] | 
"name" property"name" gchar* : Read / Write / Construct
The unique name on the system message bus.
Default value: NULL