mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pulse-server: manager: add mechanism to query object data
Add `pw_manager_object_get_data()` which can fetch linked data by its id. And use it in the zeroconf-publish module.
This commit is contained in:
parent
fd111da507
commit
987c7fc1e4
3 changed files with 13 additions and 3 deletions
|
|
@ -112,6 +112,7 @@ int pw_manager_for_each_object(struct pw_manager *manager,
|
|||
void *data);
|
||||
|
||||
void *pw_manager_object_add_data(struct pw_manager_object *o, const char *id, size_t size);
|
||||
void *pw_manager_object_get_data(struct pw_manager_object *obj, const char *id);
|
||||
|
||||
bool pw_manager_object_is_client(struct pw_manager_object *o);
|
||||
bool pw_manager_object_is_module(struct pw_manager_object *o);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue