diff options
author | Max Kellermann <max@duempel.org> | 2013-01-29 23:36:58 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-30 15:30:19 +0100 |
commit | 16afdfd8747a1bd5af2d1acb4e0845bf9d0b89e7 (patch) | |
tree | 39afbcabd53af0000a8b200301bbfc1178fdadd5 /src/ArchivePlugin.hxx | |
parent | 701fff03d27be629f416534744217eadbde11da4 (diff) |
ArchivePlugin: move instance methods to class ArchiveFile
Diffstat (limited to 'src/ArchivePlugin.hxx')
-rw-r--r-- | src/ArchivePlugin.hxx | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/ArchivePlugin.hxx b/src/ArchivePlugin.hxx index 6d043dfa..13952940 100644 --- a/src/ArchivePlugin.hxx +++ b/src/ArchivePlugin.hxx @@ -52,28 +52,6 @@ struct archive_plugin { ArchiveFile *(*open)(const char *path_fs, GError **error_r); /** - * Visit all entries inside this archive. - */ - void (*visit)(ArchiveFile *af, ArchiveVisitor &visitor); - - /** - * Opens an input_stream of a file within the archive. - * - * @param path the path within the archive - * @param error_r location to store the error occurring, or - * NULL to ignore errors - */ - struct input_stream *(*open_stream)(ArchiveFile *af, - const char *path, - Mutex &mutex, Cond &cond, - GError **error_r); - - /** - * closes archive file. - */ - void (*close)(ArchiveFile *); - - /** * suffixes handled by this plugin. * last element in these arrays must always be a NULL */ @@ -84,15 +62,4 @@ ArchiveFile * archive_file_open(const struct archive_plugin *plugin, const char *path, GError **error_r); -void -archive_file_close(ArchiveFile *file); - -void -archive_file_visit(ArchiveFile *file, ArchiveVisitor &visitor); - -struct input_stream * -archive_file_open_stream(ArchiveFile *file, const char *path, - Mutex &mutex, Cond &cond, - GError **error_r); - #endif |