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

Kristian Høgsberg hoegsberg at gmail.com
Wed Jul 3 15:29:33 PDT 2013


On Mon, Jul 01, 2013 at 05:03:08PM +0200, Quentin Glidic wrote:
> From: Quentin Glidic <sardemff7+git at sardemff7.net>

Yes, thanks, that was part of the plan with the new config parser.
Applied.

Kristian

> 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
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list