remote: add get_properties method

This commit is contained in:
Wim Taymans 2018-01-30 14:50:46 +01:00
parent 0a8e6b5dba
commit 8882b2316e
2 changed files with 8 additions and 0 deletions

View file

@ -317,6 +317,11 @@ struct pw_core *pw_remote_get_core(struct pw_remote *remote)
return remote->core;
}
const struct pw_properties *pw_remote_get_properties(struct pw_remote *remote)
{
return remote->properties;
}
void *pw_remote_get_user_data(struct pw_remote *remote)
{
return remote->user_data;

View file

@ -157,6 +157,9 @@ void pw_remote_destroy(struct pw_remote *remote);
/** Get the core used to construct this remote */
struct pw_core *pw_remote_get_core(struct pw_remote *remote);
/** Get the remote properties */
const struct pw_properties *pw_remote_get_properties(struct pw_remote *remote);
/** Get the user_data. The size was given in \ref pw_remote_new */
void *pw_remote_get_user_data(struct pw_remote *remote);