mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 16:58:01 +02:00
shared: Export configuration functions
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
442a5faa84
commit
6e2c12496b
1 changed files with 5 additions and 0 deletions
|
|
@ -260,6 +260,7 @@ config_section_get_entry(struct weston_config_section *section,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
WL_EXPORT
|
||||
struct weston_config_section *
|
||||
weston_config_get_section(struct weston_config *config, const char *section,
|
||||
const char *key, const char *value)
|
||||
|
|
@ -282,6 +283,7 @@ weston_config_get_section(struct weston_config *config, const char *section,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
WL_EXPORT
|
||||
int
|
||||
weston_config_section_get_int(struct weston_config_section *section,
|
||||
const char *key,
|
||||
|
|
@ -307,6 +309,7 @@ weston_config_section_get_int(struct weston_config_section *section,
|
|||
return 0;
|
||||
}
|
||||
|
||||
WL_EXPORT
|
||||
int
|
||||
weston_config_section_get_uint(struct weston_config_section *section,
|
||||
const char *key,
|
||||
|
|
@ -332,6 +335,7 @@ weston_config_section_get_uint(struct weston_config_section *section,
|
|||
return 0;
|
||||
}
|
||||
|
||||
WL_EXPORT
|
||||
int
|
||||
weston_config_section_get_string(struct weston_config_section *section,
|
||||
const char *key,
|
||||
|
|
@ -354,6 +358,7 @@ weston_config_section_get_string(struct weston_config_section *section,
|
|||
return 0;
|
||||
}
|
||||
|
||||
WL_EXPORT
|
||||
int
|
||||
weston_config_section_get_bool(struct weston_config_section *section,
|
||||
const char *key,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue