summaryrefslogtreecommitdiffstats
path: root/src/apk_io.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-07-14 09:33:32 +0300
committerTimo Teras <timo.teras@iki.fi>2009-07-14 09:33:47 +0300
commit4562f44f9bac793b8397fdf35491da5d7ef815fa (patch)
treeee3b623f6ba2324909abdef26d41aabce7a9d434 /src/apk_io.h
parente69b81f5259f532d5f5ae9c0a0f9bbd81240fbaf (diff)
downloadapk-tools-4562f44f9bac793b8397fdf35491da5d7ef815fa.tar.bz2
apk-tools-4562f44f9bac793b8397fdf35491da5d7ef815fa.tar.xz
bstream: make tokenizable and load index using bstream
some fixes on index reading code too.
Diffstat (limited to 'src/apk_io.h')
-rw-r--r--src/apk_io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_io.h b/src/apk_io.h
index 629729a..0ebf467 100644
--- a/src/apk_io.h
+++ b/src/apk_io.h
@@ -35,7 +35,7 @@ struct apk_istream {
};
struct apk_bstream {
- size_t (*read)(void *stream, void **ptr);
+ apk_blob_t (*read)(void *stream, apk_blob_t token);
void (*close)(void *stream, size_t *size);
};