From 6ace5e14c0efa9ceb846bfac54b29eaeec410be5 Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Thu, 15 Dec 2011 16:07:26 +0200 Subject: Marked xine_get_autoplay_mrls() and get_autoplay_list()'s return value const --- include/xine.h | 6 +++--- include/xine/input_plugin.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/xine.h b/include/xine.h index d6f54b7d9..c04e270c2 100644 --- a/include/xine.h +++ b/include/xine.h @@ -1105,9 +1105,9 @@ xine_mrl_t **xine_get_browse_mrls (xine_t *self, const char *const *xine_get_autoplay_input_plugin_ids (xine_t *self) XINE_PROTECTED; /* get autoplay MRL list from input plugin named */ -char **xine_get_autoplay_mrls (xine_t *self, - const char *plugin_id, - int *num_mrls) XINE_PROTECTED; +const char * const *xine_get_autoplay_mrls (xine_t *self, + const char *plugin_id, + int *num_mrls) XINE_PROTECTED; /* get a list of file extensions for file types supported by xine * the list is separated by spaces diff --git a/include/xine/input_plugin.h b/include/xine/input_plugin.h index 1d2e0bb43..ca7ec73fa 100644 --- a/include/xine/input_plugin.h +++ b/include/xine/input_plugin.h @@ -72,7 +72,7 @@ struct input_class_s { * generate autoplay list, optional: may be NULL * return value: list of MRLs */ - char ** (*get_autoplay_list) (input_class_t *this, int *num_files); + const char * const * (*get_autoplay_list) (input_class_t *this, int *num_files); /* * close down, free all resources -- cgit v1.2.3