aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-31 15:56:43 +0100
committerMax Kellermann <max@duempel.org>2008-10-31 15:56:43 +0100
commit78448fe1a517aa7734ae14a6959d3f7e0182308e (patch)
treeb221a3953ee761305b318877ddd5efb42d5f44e4 /src/decoder_api.h
parent6d6e615825022647650df5cb88a05e3cd2dc42de (diff)
downloadmpd-78448fe1a517aa7734ae14a6959d3f7e0182308e.tar.gz
mpd-78448fe1a517aa7734ae14a6959d3f7e0182308e.tar.xz
mpd-78448fe1a517aa7734ae14a6959d3f7e0182308e.zip
decoder_api: pass constant path pointers
Diffstat (limited to 'src/decoder_api.h')
-rw-r--r--src/decoder_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder_api.h b/src/decoder_api.h
index a48718846..1400f52c2 100644
--- a/src/decoder_api.h
+++ b/src/decoder_api.h
@@ -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;