diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-06 18:13:10 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-06 18:13:10 +0000 |
commit | 6c4cd36cc5ced530a387327c4f6c576074424c6c (patch) | |
tree | 335cf36c9732583e317983a126ec508e2d08ce0b /src/input/input_plugin.h | |
parent | 75dc355377ef3cc01cfec10a1872ad64eee154ae (diff) | |
download | xine-lib-6c4cd36cc5ced530a387327c4f6c576074424c6c.tar.gz xine-lib-6c4cd36cc5ced530a387327c4f6c576074424c6c.tar.bz2 |
introduce "const"
fix some input plugins that would not copy the mrl on open
CVS patchset: 2623
CVS date: 2002/09/06 18:13:10
Diffstat (limited to 'src/input/input_plugin.h')
-rw-r--r-- | src/input/input_plugin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h index 0131e211c..039f11962 100644 --- a/src/input/input_plugin.h +++ b/src/input/input_plugin.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_plugin.h,v 1.29 2002/09/05 22:18:55 mroi Exp $ + * $Id: input_plugin.h,v 1.30 2002/09/06 18:13:11 mroi Exp $ */ #ifndef HAVE_INPUT_PLUGIN_H @@ -150,7 +150,7 @@ struct input_plugin_s /* * open input MRL - return 1 if succ */ - int (*open) (input_plugin_t *this, char *mrl); + int (*open) (input_plugin_t *this, const char *mrl); /* @@ -199,7 +199,7 @@ struct input_plugin_s * ls function * return value: NULL => filename is a file, **char=> filename is a dir */ - xine_mrl_t** (*get_dir) (input_plugin_t *this, char *filename, int *nFiles); + const xine_mrl_t *const * (*get_dir) (input_plugin_t *this, const char *filename, int *nFiles); /* @@ -246,7 +246,7 @@ struct input_plugin_s * generate autoplay list * return value: list of MRLs */ - char** (*get_autoplay_list) (input_plugin_t *this, int *nFiles); + const char *const * (*get_autoplay_list) (input_plugin_t *this, int *nFiles); /* |