summaryrefslogtreecommitdiffstats
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2008-11-28 13:15:06 +0200
committerTimo Teras <timo.teras@iki.fi>2008-11-28 13:15:06 +0200
commit545a915fafbecbda0e278dfcc881984bd7a8b19b (patch)
treec58aa72a15a6a8f1330ecc903641b63ba685dcc1 /src/apk_database.h
parenta96572fba84573e81f6b363f1aee0243c7829729 (diff)
downloadapk-tools-545a915fafbecbda0e278dfcc881984bd7a8b19b.tar.bz2
apk-tools-545a915fafbecbda0e278dfcc881984bd7a8b19b.tar.xz
db: rework 'files' to 'installed'
Make the db of installed packages more similar to index file and reuse the code. Also rename the database file.
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index b0b84d6..7914a03 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -96,7 +96,6 @@ void apk_db_close(struct apk_database *db);
int apk_db_pkg_add_file(struct apk_database *db, const char *file);
struct apk_package *apk_db_get_pkg(struct apk_database *db, csum_t sum);
-int apk_db_index_read(struct apk_database *db, struct apk_istream *is, int repo);
void apk_db_index_write(struct apk_database *db, int fd);
int apk_db_add_repository(apk_database_t db, apk_blob_t repository);