summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-07-21 17:59:08 +0300
committerTimo Teras <timo.teras@iki.fi>2009-07-21 17:59:08 +0300
commit2345548e4522a988024426432d0ed0e421599eba (patch)
treeb648020137e6c69b539a2df171fc54c654b1b12f /src/apk_database.h
parent812483515ad95c84de9c49de28fbd5ee769facfc (diff)
downloadapk-tools-2345548e4522a988024426432d0ed0e421599eba.tar.gz
apk-tools-2345548e4522a988024426432d0ed0e421599eba.tar.bz2
apk-tools-2345548e4522a988024426432d0ed0e421599eba.tar.xz
apk-tools-2345548e4522a988024426432d0ed0e421599eba.zip
index: read also new style index files
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index 4cf8b14..0edf4f2 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -140,6 +140,7 @@ struct apk_package *apk_db_get_pkg(struct apk_database *db, struct apk_checksum
struct apk_package *apk_db_get_file_owner(struct apk_database *db, apk_blob_t filename);
int apk_db_index_read(struct apk_database *db, struct apk_bstream *bs, int repo);
+int apk_db_index_read_file(struct apk_database *db, const char *file, int repo);
int apk_db_index_write(struct apk_database *db, struct apk_ostream *os);
int apk_db_add_repository(apk_database_t db, apk_blob_t repository);