decoder_api: pass constant path pointers

This commit is contained in:
Max Kellermann
2008-10-31 15:56:43 +01:00
parent 6d6e615825
commit 78448fe1a5
12 changed files with 43 additions and 29 deletions

View File

@@ -86,13 +86,13 @@ struct decoder_plugin {
*
* returns -1 on error, 0 on success
*/
bool (*file_decode)(struct decoder *, char *path);
bool (*file_decode)(struct decoder *, const char *path);
/**
* file should be the full path! Returns NULL if a tag cannot
* be found or read
*/
struct tag *(*tag_dup)(char *file);
struct tag *(*tag_dup)(const char *file);
/* one or more of the INPUT_PLUGIN_STREAM_* values OR'd together */
unsigned char stream_types;