aboutsummaryrefslogtreecommitdiff
path: root/src/ArchivePlugin.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-29 21:11:04 +0100
committerMax Kellermann <max@duempel.org>2013-01-29 21:11:04 +0100
commita42f9fd4e2ccb164c0634571da9903e6a2aa507a (patch)
tree104cd2ac6598f1529f03e18c8f77135998b1a55d /src/ArchivePlugin.hxx
parente66005563efb24cdeb0c034a680f6a5556265c09 (diff)
ArchivePlugin: scan_next() returns const string
Diffstat (limited to 'src/ArchivePlugin.hxx')
-rw-r--r--src/ArchivePlugin.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ArchivePlugin.hxx b/src/ArchivePlugin.hxx
index 66ec6d83..448a1941 100644
--- a/src/ArchivePlugin.hxx
+++ b/src/ArchivePlugin.hxx
@@ -62,7 +62,7 @@ struct archive_plugin {
* (as pathnames) and move read index to next file. When there is no
* next file it return NULL.
*/
- char *(*scan_next)(struct archive_file *);
+ const char *(*scan_next)(struct archive_file *);
/**
* Opens an input_stream of a file within the archive.
@@ -98,7 +98,7 @@ archive_file_close(struct archive_file *file);
void
archive_file_scan_reset(struct archive_file *file);
-char *
+const char *
archive_file_scan_next(struct archive_file *file);
struct input_stream *