diff options
author | Max Kellermann <max@duempel.org> | 2009-12-16 16:40:22 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-12-16 17:10:19 +0100 |
commit | 71fee0974402702c16b40dc6791196c46fb038bb (patch) | |
tree | 4e6270b610d56092970ea31193d09adf59490ae6 /src/archive_plugin.h | |
parent | f9af1a445efedc049a6a608a76088578e3cca4b3 (diff) | |
download | mpd-71fee0974402702c16b40dc6791196c46fb038bb.tar.gz mpd-71fee0974402702c16b40dc6791196c46fb038bb.tar.xz mpd-71fee0974402702c16b40dc6791196c46fb038bb.zip |
archive_plugin: use GError in the open() method
Diffstat (limited to '')
-rw-r--r-- | src/archive_plugin.h | 5 |
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); |