mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-11-05 18:24:04 +00:00
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 <m.olbrich@pengutronix.de>
This commit is contained in:
parent
d6371b5a6a
commit
4c347b8ee0
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue