From 16afdfd8747a1bd5af2d1acb4e0845bf9d0b89e7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 29 Jan 2013 23:36:58 +0100 Subject: ArchivePlugin: move instance methods to class ArchiveFile --- src/ArchivePlugin.hxx | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'src/ArchivePlugin.hxx') diff --git a/src/ArchivePlugin.hxx b/src/ArchivePlugin.hxx index 6d043dfac..13952940f 100644 --- a/src/ArchivePlugin.hxx +++ b/src/ArchivePlugin.hxx @@ -51,28 +51,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 -- cgit v1.2.3