diff options
Diffstat (limited to 'src/apk_io.h')
-rw-r--r-- | src/apk_io.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/apk_io.h b/src/apk_io.h index 96dc7c9..d9522f6 100644 --- a/src/apk_io.h +++ b/src/apk_io.h @@ -42,11 +42,14 @@ struct apk_istream *apk_gunzip_bstream(struct apk_bstream *); struct apk_istream *apk_istream_from_fd(int fd); struct apk_istream *apk_istream_from_file(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); struct apk_bstream *apk_bstream_from_istream(struct apk_istream *istream); struct apk_bstream *apk_bstream_from_fd(int fd); +struct apk_bstream *apk_bstream_from_file(const char *file); +struct apk_bstream *apk_bstream_from_url(const char *url); struct apk_istream *apk_istream_from_file_gz(const char *file); |