From 78448fe1a517aa7734ae14a6959d3f7e0182308e Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Fri, 31 Oct 2008 15:56:43 +0100
Subject: decoder_api: pass constant path pointers

---
 src/decoder_api.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/decoder_api.h')

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;
-- 
cgit v1.2.3