Commit 2fb0e5e5 authored by Michael Olbrich's avatar Michael Olbrich Committed by Pekka Paalanen

config-parser: export functions to open a config file

The in-tree clients can access the functions via libshared, but they are
currently not available for external clients, such as custom shell helper
applications similar to weston-desktop-shell or
weston-ivi-shell-user-interface.
The functions to read the content of the config are already exported.
Signed-off-by: Michael Olbrich's avatarMichael Olbrich <m.olbrich@pengutronix.de>
parent 91d0f08b
Pipeline #17690 passed with stage
in 5 minutes and 52 seconds
......@@ -326,6 +326,7 @@ weston_config_section_get_bool(struct weston_config_section *section,
return 0;
}
WL_EXPORT
const char *
weston_config_get_name_from_env(void)
{
......@@ -387,6 +388,7 @@ section_add_entry(struct weston_config_section *section,
return entry;
}
WL_EXPORT
struct weston_config *
weston_config_parse(const char *name)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment