PipeWire  0.1.5.1
global.c File Reference
Include dependency graph for global.c:

Functions

uint32_t pw_global_get_permissions (struct pw_global *global, struct pw_client *client)
 Get the permissions of the global for a given client. More...
 
struct pw_corepw_global_get_core (struct pw_global *global)
 Get the core object of this global. More...
 
struct pw_clientpw_global_get_owner (struct pw_global *global)
 Get the owner of the global. More...
 
struct pw_globalpw_global_get_parent (struct pw_global *global)
 Get the parent of a global. More...
 
uint32_t pw_global_get_type (struct pw_global *global)
 Get the global type. More...
 
uint32_t pw_global_get_version (struct pw_global *global)
 Get the global version. More...
 
void * pw_global_get_object (struct pw_global *global)
 Get the object associated with the global. More...
 
uint32_t pw_global_get_id (struct pw_global *global)
 Get the unique id of the global. More...
 

Function Documentation

◆ pw_global_get_core()

struct pw_core* pw_global_get_core ( struct pw_global global)

Get the core object of this global.

◆ pw_global_get_id()

uint32_t pw_global_get_id ( struct pw_global global)

Get the unique id of the global.

◆ pw_global_get_object()

void* pw_global_get_object ( struct pw_global global)

Get the object associated with the global.

This depends on the type of the global

◆ pw_global_get_owner()

struct pw_client* pw_global_get_owner ( struct pw_global global)

Get the owner of the global.

This can be NULL when the core is owner

◆ pw_global_get_parent()

struct pw_global* pw_global_get_parent ( struct pw_global global)

Get the parent of a global.

◆ pw_global_get_permissions()

uint32_t pw_global_get_permissions ( struct pw_global global,
struct pw_client client 
)

Get the permissions of the global for a given client.

References PW_PERM_RWX.

Referenced by pw_core::pw_core_add_global(), and pw_global::pw_global_destroy().

◆ pw_global_get_type()

uint32_t pw_global_get_type ( struct pw_global global)

Get the global type.

◆ pw_global_get_version()

uint32_t pw_global_get_version ( struct pw_global global)

Get the global version.