From 71fee0974402702c16b40dc6791196c46fb038bb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 16 Dec 2009 16:40:22 +0100 Subject: archive_plugin: use GError in the open() method --- src/archive_plugin.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/archive_plugin.h') 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); -- cgit v1.2.3