summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.h
diff options
context:
space:
mode:
authorVMiklos <vmiklos@frugalware.org>2007-05-31 15:18:24 -0400
committerDan McGee <dan@archlinux.org>2007-06-09 12:58:12 -0400
commitdfc85cb5f516ffbcff557522e9703c5c7d88b047 (patch)
tree69b491d7ae8f8b70804833b893ed6f722276fb4b /lib/libalpm/db.h
parent25c5b39d05cdb8856098429d0fa6f8da595d5af6 (diff)
downloadpacman-dfc85cb5f516ffbcff557522e9703c5c7d88b047.tar.xz
Add a alpm_db_test() function to the backend for checking DB consistency
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r--lib/libalpm/db.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h
index 3c97e580..2597c8c4 100644
--- a/lib/libalpm/db.h
+++ b/lib/libalpm/db.h
@@ -56,6 +56,7 @@ pmdb_t *_alpm_db_register(const char *treename);
/* be.c, backend specific calls */
int _alpm_db_install(pmdb_t *db, const char *dbfile);
+alpm_list_t *_alpm_db_test(pmdb_t *db);
int _alpm_db_open(pmdb_t *db);
void _alpm_db_close(pmdb_t *db);
void _alpm_db_rewind(pmdb_t *db);