From a1d214bb39912efb5c11442d1d93cb61efb2a2b0 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 21 Feb 2017 11:58:20 +0000 Subject: [PATCH] config-parser: Export weston_config_next_section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This symbol wasn’t exported from the weston binary, most likely due to an oversight in 6e2c12496bbef3cc913cfe9d5f0aeb4d8b23b368, and because internal modules can link against libshared.la directly it hasn’t been found ever since. This commit makes it possible for external modules to iterate over the configuration file. Signed-off-by: Emmanuel Gil Peyrot Reviewed-by: Pekka Paalanen Acked-by: Bryce Harrington --- shared/config-parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/config-parser.c b/shared/config-parser.c index e2b5fa25..2a595b1f 100644 --- a/shared/config-parser.c +++ b/shared/config-parser.c @@ -490,6 +490,7 @@ weston_config_get_full_path(struct weston_config *config) return config == NULL ? NULL : config->path; } +WL_EXPORT int weston_config_next_section(struct weston_config *config, struct weston_config_section **section,