diff options
Diffstat (limited to 'src/apk_io.h')
-rw-r--r-- | src/apk_io.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apk_io.h b/src/apk_io.h index 5ac6d83..b3bcd08 100644 --- a/src/apk_io.h +++ b/src/apk_io.h @@ -51,7 +51,8 @@ struct apk_istream *apk_istream_from_file(const char *file); struct apk_istream *apk_istream_from_file_gz(const char *file); struct apk_istream *apk_istream_from_url(const char *url); size_t apk_istream_skip(struct apk_istream *istream, size_t size); -size_t apk_istream_splice(void *stream, int fd, size_t size); +size_t apk_istream_splice(void *stream, int fd, size_t size, + apk_progress_cb cb, void *cb_ctx); struct apk_bstream *apk_bstream_from_istream(struct apk_istream *istream); struct apk_bstream *apk_bstream_from_fd(int fd); |