PipeWire  0.3.33
properties.h File Reference

Go to the source code of this file.

Data Structures

struct  pw_properties
 

Macros

#define PW_PROPERTIES_FLAG_NL   (1<<0)
 

Functions

struct pw_propertiespw_properties_new (const char *key,...) 1
 Make a new properties object. More...
 
struct pw_propertiespw_properties_new_dict (const struct spa_dict *dict)
 Make a new properties object from the given dictionary. More...
 
struct pw_propertiespw_properties_new_string (const char *args)
 Make a new properties object from the given str. More...
 
struct pw_propertiespw_properties_copy (const struct pw_properties *properties)
 Copy a properties object. More...
 
int pw_properties_update_keys (struct pw_properties *props, const struct spa_dict *dict, const char *const keys[])
 Copy multiple keys from one property to another. More...
 
int pw_properties_update_ignore (struct pw_properties *props, const struct spa_dict *dict, const char *const ignore[])
 
int pw_properties_update (struct pw_properties *props, const struct spa_dict *dict)
 Update properties. More...
 
int pw_properties_update_string (struct pw_properties *props, const char *str, size_t size)
 Update the properties from the given string, overwriting any existing keys with the new values from str. More...
 
int pw_properties_add (struct pw_properties *oldprops, const struct spa_dict *dict)
 Add properties. More...
 
int pw_properties_add_keys (struct pw_properties *oldprops, const struct spa_dict *dict, const char *const keys[])
 Add keys. More...
 
void pw_properties_clear (struct pw_properties *properties)
 Clear a properties object. More...
 
void pw_properties_free (struct pw_properties *properties)
 Free a properties object. More...
 
int pw_properties_set (struct pw_properties *properties, const char *key, const char *value)
 Set a property value. More...
 
int pw_properties_setf (struct pw_properties *properties, const char *key, const char *format,...) 1(3
 
int int pw_properties_setva (struct pw_properties *properties, const char *key, const char *format, va_list args) 1(3
 
int int const char * pw_properties_get (const struct pw_properties *properties, const char *key)
 Get a property. More...
 
const char * pw_properties_iterate (const struct pw_properties *properties, void **state)
 Iterate property values. More...
 
int pw_properties_serialize_dict (FILE *f, const struct spa_dict *dict, uint32_t flags)