summaryrefslogtreecommitdiffstats
path: root/src/apk_io.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-01-15 12:55:26 +0200
committerTimo Teras <timo.teras@iki.fi>2009-01-15 12:55:26 +0200
commitcfdef51bee5f2c4ccb95e3bb3c929df13b9fc54a (patch)
tree52ed75c5332c861194d4e7c1a3613ec471a9f803 /src/apk_io.h
parent4c7f1e0deca0a48bd398d332e3a3c42ce527d04a (diff)
downloadapk-tools-cfdef51bee5f2c4ccb95e3bb3c929df13b9fc54a.tar.bz2
apk-tools-cfdef51bee5f2c4ccb95e3bb3c929df13b9fc54a.tar.xz
db: index file location is a URL
Diffstat (limited to 'src/apk_io.h')
-rw-r--r--src/apk_io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_io.h b/src/apk_io.h
index b3bcd08..8ee80f8 100644
--- a/src/apk_io.h
+++ b/src/apk_io.h
@@ -50,6 +50,7 @@ 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_file_gz(const char *file);
struct apk_istream *apk_istream_from_url(const char *url);
+struct apk_istream *apk_istream_from_url_gz(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,
apk_progress_cb cb, void *cb_ctx);