PipeWire 1.0.6
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#ifndef PIPEWIRE_CONF_H
6#define PIPEWIRE_CONF_H
7
8#include <pipewire/context.h>
9
19int pw_conf_load_conf_for_context(struct pw_properties *props, struct pw_properties *conf);
20int pw_conf_load_conf(const char *prefix, const char *name, struct pw_properties *conf);
21int pw_conf_load_state(const char *prefix, const char *name, struct pw_properties *conf);
22int pw_conf_save_state(const char *prefix, const char *name, const struct pw_properties *conf);
23
24int pw_conf_section_update_props(const struct spa_dict *conf,
25 const char *section, struct pw_properties *props);
26
27int pw_conf_section_for_each(const struct spa_dict *conf, const char *section,
28 int (*callback) (void *data, const char *location, const char *section,
29 const char *str, size_t len),
30 void *data);
31
32int pw_conf_match_rules(const char *str, size_t len, const char *location,
33 const struct spa_dict *props,
34 int (*callback) (void *data, const char *location, const char *action,
35 const char *str, size_t len),
36 void *data);
37
38int pw_conf_section_match_rules(const struct spa_dict *conf, const char *section,
39 const struct spa_dict *props,
40 int (*callback) (void *data, const char *location, const char *action,
41 const char *str, size_t len),
42 void *data);
47#endif /* PIPEWIRE_CONF_H */
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:958
int pw_conf_section_update_props(const struct spa_dict *conf, const char *section, struct pw_properties *props)
Definition conf.c:996
int pw_conf_load_state(const char *prefix, const char *name, struct pw_properties *conf)
Definition conf.c:522
int pw_conf_save_state(const char *prefix, const char *name, const struct pw_properties *conf)
Definition conf.c:350
int pw_conf_load_conf(const char *prefix, const char *name, struct pw_properties *conf)
Definition conf.c:457
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:1195
int pw_conf_load_conf_for_context(struct pw_properties *props, struct pw_properties *conf)
Definition conf.c:1041
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:1121
pipewire/context.h
Definition properties.h:33
Definition dict.h:39