mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: move parts of client creation
Move some portions of the client creation logic into client.c so that it is easier to keep it in sync with `client_free()`, etc.
This commit is contained in:
parent
9c218b2d08
commit
6d2e6fde75
3 changed files with 26 additions and 13 deletions
|
|
@ -102,6 +102,7 @@ struct client {
|
|||
struct pw_manager_object *prev_default_source;
|
||||
};
|
||||
|
||||
struct client *client_new(struct server *server);
|
||||
bool client_detach(struct client *client);
|
||||
void client_disconnect(struct client *client);
|
||||
void client_free(struct client *client);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue