summaryrefslogtreecommitdiff
path: root/shared/config-parser.c
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2013-07-01 17:03:08 +0200
committerKristian Høgsberg <krh@bitplanet.net>2013-07-03 18:28:59 -0400
commit6e2c12496bbef3cc913cfe9d5f0aeb4d8b23b368 (patch)
treefb90895b93cd574b54d789b40a75bcb42e782ffe /shared/config-parser.c
parent442a5faa844537416de6c579812833721ec2a4b6 (diff)
shared: Export configuration functions
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'shared/config-parser.c')
-rw-r--r--shared/config-parser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/config-parser.c b/shared/config-parser.c
index 0ff96eeb..4e6cf7fb 100644
--- a/shared/config-parser.c
+++ b/shared/config-parser.c
@@ -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,