ArchivePlugin: scan_next() returns const string

This commit is contained in:
Max Kellermann
2013-01-29 21:11:04 +01:00
parent e66005563e
commit a42f9fd4e2
6 changed files with 18 additions and 16 deletions

View File

@@ -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 *