diff options
Diffstat (limited to 'shared/config-parser.h')
-rw-r--r-- | shared/config-parser.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/config-parser.h b/shared/config-parser.h index 1ecc8cc2..9b766193 100644 --- a/shared/config-parser.h +++ b/shared/config-parser.h @@ -27,6 +27,8 @@ extern "C" { #endif +#define WESTON_CONFIG_FILE_ENV_VAR "WESTON_CONFIG_FILE" + enum config_key_type { CONFIG_KEY_INTEGER, /* typeof data = int */ CONFIG_KEY_UNSIGNED_INTEGER, /* typeof data = unsigned int */ @@ -95,6 +97,9 @@ weston_config_section_get_bool(struct weston_config_section *section, const char * weston_config_get_libexec_dir(void); +const char * +weston_config_get_name_from_env(void); + struct weston_config * weston_config_parse(const char *name); |