aboutsummaryrefslogtreecommitdiff
path: root/src/archive_plugin.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-16 16:40:22 +0100
committerMax Kellermann <max@duempel.org>2009-12-16 17:10:19 +0100
commit71fee0974402702c16b40dc6791196c46fb038bb (patch)
tree4e6270b610d56092970ea31193d09adf59490ae6 /src/archive_plugin.h
parentf9af1a445efedc049a6a608a76088578e3cca4b3 (diff)
archive_plugin: use GError in the open() method
Diffstat (limited to 'src/archive_plugin.h')
-rw-r--r--src/archive_plugin.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/archive_plugin.h b/src/archive_plugin.h
index 1c35293d..52629f2e 100644
--- a/src/archive_plugin.h
+++ b/src/archive_plugin.h
@@ -48,7 +48,7 @@ struct archive_plugin {
* returns pointer to handle used is all operations with this archive
* or NULL when opening fails
*/
- struct archive_file *(*open)(const char *path_fs);
+ struct archive_file *(*open)(const char *path_fs, GError **error_r);
/**
* reset routine will move current read index in archive to default
@@ -90,7 +90,8 @@ struct archive_plugin {
};
struct archive_file *
-archive_file_open(const struct archive_plugin *plugin, const char *path);
+archive_file_open(const struct archive_plugin *plugin, const char *path,
+ GError **error_r);
void
archive_file_close(struct archive_file *file);