static uint32_t int int res
Definition: core.h:326
#define pw_log_error(...)
Log an error message.
SPA_EXPORT struct pw_properties * pw_properties_new_string(const char *object)
Make a new properties object from the given str.
Definition: properties.c:196
SPA_EXPORT char ** pw_split_strv(const char *str, const char *delimiter, int max_tokens, int *n_tokens)
Split a string based on delimiters.
Definition: utils.c:71
SPA_EXPORT int pw_conf_save_state(const char *prefix, const char *name, struct pw_properties *conf)
Definition: conf.c:183
#define NAME
Definition: conf.c:48
struct spa_dict dict
dictionary of key/values
Definition: properties.h:46
#define pw_log_info(...)
Log an info message.
SPA_EXPORT int pw_context_parse_conf_section(struct pw_context *context, struct pw_properties *conf, const char *section)
Definition: conf.c:530
SPA_EXPORT struct pw_impl_module * pw_context_load_module(struct pw_context *context, const char *name, const char *args, struct pw_properties *properties)
Load a module.
Definition: impl-module.c:157
#define pw_log_debug(...)
Log a debug message.
#define pw_log_warn(...)
Log a warning message.
int pw_context_parse_conf_section(struct pw_context *context, struct pw_properties *conf, const char *section)
Definition: conf.c:530
void * pw_impl_factory_create_object(struct pw_impl_factory *factory, struct pw_resource *resource, const char *type, uint32_t version, struct pw_properties *properties, uint32_t new_id)
Definition: impl-factory.c:261
static uint32_t int int const char va_list args
Definition: core.h:327
int pw_conf_load_conf(const char *prefix, const char *name, struct pw_properties *conf)
Definition: conf.c:265
int pw_conf_save_state(const char *prefix, const char *name, const struct pw_properties *conf)
int pw_properties_update_string(struct pw_properties *props, const char *str, size_t size)
Definition: properties.c:149
SPA_EXPORT struct pw_impl_factory * pw_context_find_factory(struct pw_context *context, const char *name)
Find a factory by name.
Definition: impl-factory.c:287
SPA_EXPORT const char * pw_properties_get(const struct pw_properties *properties, const char *key)
Get a property.
Definition: properties.c:501
int pw_conf_load_state(const char *prefix, const char *name, struct pw_properties *conf)
Definition: conf.c:271
int pw_context_add_spa_lib(struct pw_context *context, const char *factory_regex, const char *lib)
add a spa library for the given factory_name regex
SPA_EXPORT int pw_conf_load_state(const char *prefix, const char *name, struct pw_properties *conf)
Definition: conf.c:271
SPA_EXPORT void pw_free_strv(char **str)
Free a NULL terminated array of strings.
Definition: utils.c:105
PipeWire factory interface.
SPA_EXPORT int pw_conf_load_conf(const char *prefix, const char *name, struct pw_properties *conf)
Definition: conf.c:265
A collection of key/value pairs.
Definition: properties.h:45