PipeWire  0.3.33
impl-client.c File Reference

Data Structures

struct  error_data
 

Macros

#define NAME   "client"
 

Functions

struct pw_impl_client * pw_context_create_client (struct pw_impl_core *core, struct pw_protocol *protocol, struct pw_properties *properties, size_t user_data_size)
 Make a new client object. More...
 
int pw_impl_client_register (struct pw_impl_client *client, struct pw_properties *properties)
 Finish configuration and register a client. More...
 
struct pw_context * pw_impl_client_get_context (struct pw_impl_client *client)
 Get the context used to create this client. More...
 
struct pw_protocol * pw_impl_client_get_protocol (struct pw_impl_client *client)
 Get the protocol used to create this client. More...
 
struct pw_resource * pw_impl_client_get_core_resource (struct pw_impl_client *client)
 Get the client core resource. More...
 
struct pw_resource * pw_impl_client_find_resource (struct pw_impl_client *client, uint32_t id)
 Get a resource with the given id. More...
 
struct pw_global * pw_impl_client_get_global (struct pw_impl_client *client)
 Get the global associated with this client. More...
 
const struct pw_propertiespw_impl_client_get_properties (struct pw_impl_client *client)
 Get the client properties. More...
 
void * pw_impl_client_get_user_data (struct pw_impl_client *client)
 Get the client user data. More...
 
void pw_impl_client_destroy (struct pw_impl_client *client)
 Destroy a client object. More...
 
void pw_impl_client_add_listener (struct pw_impl_client *client, struct spa_hook *listener, const struct pw_impl_client_events *events, void *data)
 listen to events from this client More...
 
const struct pw_client_infopw_impl_client_get_info (struct pw_impl_client *client)
 Get the client information. More...
 
int pw_impl_client_update_properties (struct pw_impl_client *client, const struct spa_dict *dict)
 Update client properties. More...
 
int pw_impl_client_update_permissions (struct pw_impl_client *client, uint32_t n_permissions, const struct pw_permission *permissions)
 Update the client permissions. More...
 
void pw_impl_client_set_busy (struct pw_impl_client *client, bool busy)
 Mark the client busy. More...
 
int pw_impl_client_check_permissions (struct pw_impl_client *client, uint32_t global_id, uint32_t permissions)
 check if a client has permissions for global_id, Since 0.3.9 More...
 

Macro Definition Documentation

◆ NAME

#define NAME   "client"