[PATCH weston sdk v2 8/8] shared: Export configuration functions

Quentin Glidic sardemff7+wayland at sardemff7.net
Mon Jul 1 08:03:08 PDT 2013


From: Quentin Glidic <sardemff7+git at sardemff7.net>

Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
---
 shared/config-parser.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/shared/config-parser.c b/shared/config-parser.c
index 0ff96ee..4e6cf7f 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,
-- 
1.8.3.1



More information about the wayland-devel mailing list