diff options
Diffstat (limited to 'src/archive_api.h')
-rw-r--r-- | src/archive_api.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/archive_api.h b/src/archive_api.h index 3c9e979f6..a3761bf93 100644 --- a/src/archive_api.h +++ b/src/archive_api.h @@ -70,11 +70,12 @@ struct archive_plugin { char *(*scan_next)(struct archive_file *); /** - * this is used to setup input stream handle, to be able to read - * from archive. open method of inputstream can be the used to - * extract particular file + * Opens an input_stream of a file within the archive. + * + * @param path the path within the archive */ - void (*setup_stream)(struct archive_file *, struct input_stream *is); + bool (*open_stream)(struct archive_file *, struct input_stream *is, + const char *path); /** * closes archive file. |