aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive_plugin.h
diff options
context:
space:
mode:
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 1c35293d1..52629f2e1 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);