The metadata is used to store key/type/value pairs per object id.
More...
|
struct pw_impl_metadata * | pw_context_create_metadata (struct pw_context *context, const char *name, struct pw_properties *properties, size_t user_data_size) |
|
const struct pw_properties * | pw_impl_metadata_get_properties (struct pw_impl_metadata *metadata) |
| Get the metadata properties.
|
|
int | pw_impl_metadata_register (struct pw_impl_metadata *metadata, struct pw_properties *properties) |
|
void | pw_impl_metadata_destroy (struct pw_impl_metadata *metadata) |
|
void * | pw_impl_metadata_get_user_data (struct pw_impl_metadata *metadata) |
|
int | pw_impl_metadata_set_implementation (struct pw_impl_metadata *metadata, struct pw_metadata *impl) |
|
struct pw_metadata * | pw_impl_metadata_get_implementation (struct pw_impl_metadata *metadata) |
|
struct pw_global * | pw_impl_metadata_get_global (struct pw_impl_metadata *metadata) |
| Get the global of this metadata.
|
|
void | pw_impl_metadata_add_listener (struct pw_impl_metadata *metadata, struct spa_hook *listener, const struct pw_impl_metadata_events *events, void *data) |
| Add an event listener.
|
|
int | pw_impl_metadata_set_property (struct pw_impl_metadata *metadata, uint32_t subject, const char *key, const char *type, const char *value) |
| Set a property.
|
|
int | pw_impl_metadata_set_propertyf (struct pw_impl_metadata *metadata, uint32_t subject, const char *key, const char *type, const char *fmt,...) 1(5 |
|
The metadata is used to store key/type/value pairs per object id.
◆ PW_VERSION_IMPL_METADATA_EVENTS
#define PW_VERSION_IMPL_METADATA_EVENTS 0 |
◆ pw_context_create_metadata()
◆ pw_impl_metadata_get_properties()
Get the metadata properties.
◆ pw_impl_metadata_register()
◆ pw_impl_metadata_destroy()
◆ pw_impl_metadata_get_user_data()
◆ pw_impl_metadata_set_implementation()
◆ pw_impl_metadata_get_implementation()
◆ pw_impl_metadata_get_global()
Get the global of this metadata.
◆ pw_impl_metadata_add_listener()
◆ pw_impl_metadata_set_property()
int pw_impl_metadata_set_property |
( |
struct pw_impl_metadata * |
metadata, |
|
|
uint32_t |
subject, |
|
|
const char * |
key, |
|
|
const char * |
type, |
|
|
const char * |
value |
|
) |
| |
◆ pw_impl_metadata_set_propertyf()
int pw_impl_metadata_set_propertyf |
( |
struct pw_impl_metadata * |
metadata, |
|
|
uint32_t |
subject, |
|
|
const char * |
key, |
|
|
const char * |
type, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |