diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-07-20 11:13:03 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-07-20 11:13:03 +0300 |
commit | eca9c22205105eba20e1e28ddae8ad9da81c5323 (patch) | |
tree | 3a31082b2a5082c10047249a0348478f77c93cf7 /src/archive.c | |
parent | 99be653f141f57e1474bd645efd770aa3e3bd68f (diff) | |
download | apk-tools-eca9c22205105eba20e1e28ddae8ad9da81c5323.tar.gz apk-tools-eca9c22205105eba20e1e28ddae8ad9da81c5323.tar.bz2 apk-tools-eca9c22205105eba20e1e28ddae8ad9da81c5323.tar.xz apk-tools-eca9c22205105eba20e1e28ddae8ad9da81c5323.zip |
db: signed index loading (ref #46)
prefer index in the new format as signed .tar.gz.
Diffstat (limited to 'src/archive.c')
-rw-r--r-- | src/archive.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/archive.c b/src/archive.c index 717c67c..b069f2d 100644 --- a/src/archive.c +++ b/src/archive.c @@ -104,12 +104,17 @@ static size_t tar_entry_read(void *stream, void *ptr, size_t size) return size; } +static void tar_entry_close(void *stream) +{ +} + int apk_tar_parse(struct apk_istream *is, apk_archive_entry_parser parser, void *ctx) { struct apk_file_info entry; struct apk_tar_entry_istream teis = { .is.read = tar_entry_read, + .is.close = tar_entry_close, .tar_is = is, }; struct tar_header buf; |