From 0ac87a14cdac53497ded93e5609c5a4646a7cf32 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 1 Feb 2022 16:30:43 +0100 Subject: [PATCH] context: move context method to right header file. --- src/pipewire/conf.h | 2 -- src/pipewire/context.h | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pipewire/conf.h b/src/pipewire/conf.h index dbd570e16..459b3b6a8 100644 --- a/src/pipewire/conf.h +++ b/src/pipewire/conf.h @@ -37,8 +37,6 @@ int pw_conf_load_conf(const char *prefix, const char *name, struct pw_properties int pw_conf_load_state(const char *prefix, const char *name, struct pw_properties *conf); int pw_conf_save_state(const char *prefix, const char *name, const struct pw_properties *conf); -int pw_context_parse_conf_section(struct pw_context *context, - struct pw_properties *conf, const char *section); /** * \} diff --git a/src/pipewire/context.h b/src/pipewire/context.h index 630a047d5..d83388b90 100644 --- a/src/pipewire/context.h +++ b/src/pipewire/context.h @@ -110,6 +110,9 @@ int pw_context_update_properties(struct pw_context *context, const struct spa_di /** Get a config section for this context. Since 0.3.22 */ const char *pw_context_get_conf_section(struct pw_context *context, const char *section); +/** Parse a config section for this context. Since 0.3.22 */ +int pw_context_parse_conf_section(struct pw_context *context, + struct pw_properties *conf, const char *section); /** update properties from section into props. Since 0.3.45 */ int pw_context_conf_update_props(struct pw_context *context, const char *section,