PipeWire 0.3.71
Loading...
Searching...
No Matches
conf.h
Go to the documentation of this file.
1/* PipeWire */
2/* SPDX-FileCopyrightText: Copyright © 2021 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#include <pipewire/context.h>
6
16int pw_conf_load_conf_for_context(struct pw_properties *props, struct pw_properties *conf);
17int pw_conf_load_conf(const char *prefix, const char *name, struct pw_properties *conf);
18int pw_conf_load_state(const char *prefix, const char *name, struct pw_properties *conf);
19int pw_conf_save_state(const char *prefix, const char *name, const struct pw_properties *conf);
20
21int pw_conf_section_update_props(const struct spa_dict *conf,
22 const char *section, struct pw_properties *props);
23
24int pw_conf_section_for_each(const struct spa_dict *conf, const char *section,
25 int (*callback) (void *data, const char *location, const char *section,
26 const char *str, size_t len),
27 void *data);
28
29int pw_conf_match_rules(const char *str, size_t len, const char *location,
30 const struct spa_dict *props,
31 int (*callback) (void *data, const char *location, const char *action,
32 const char *str, size_t len),
33 void *data);
34
35int pw_conf_section_match_rules(const struct spa_dict *conf, const char *section,
36 const struct spa_dict *props,
37 int (*callback) (void *data, const char *location, const char *action,
38 const char *str, size_t len),
39 void *data);
int pw_conf_section_for_each(const struct spa_dict *conf, const char *section, int(*callback)(void *data, const char *location, const char *section, const char *str, size_t len), void *data)
Definition conf.c:936
int pw_conf_section_update_props(const struct spa_dict *conf, const char *section, struct pw_properties *props)
Definition conf.c:974
int pw_conf_load_state(const char *prefix, const char *name, struct pw_properties *conf)
Definition conf.c:518
int pw_conf_save_state(const char *prefix, const char *name, const struct pw_properties *conf)
Definition conf.c:344
int pw_conf_load_conf(const char *prefix, const char *name, struct pw_properties *conf)
Definition conf.c:453
int pw_conf_section_match_rules(const struct spa_dict *conf, const char *section, const struct spa_dict *props, int(*callback)(void *data, const char *location, const char *action, const char *str, size_t len), void *data)
Definition conf.c:1150
int pw_conf_load_conf_for_context(struct pw_properties *props, struct pw_properties *conf)
Definition conf.c:1014
int pw_conf_match_rules(const char *str, size_t len, const char *location, const struct spa_dict *props, int(*callback)(void *data, const char *location, const char *action, const char *str, size_t len), void *data)
[ { matches = [
Definition conf.c:1083
pipewire/context.h
Definition properties.h:33
Definition utils/dict.h:39