summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorVMiklos <vmiklos@frugalware.org>2007-05-31 21:18:24 +0200
committerDan McGee <dan@archlinux.org>2007-06-09 18:58:12 +0200
commitdfc85cb5f516ffbcff557522e9703c5c7d88b047 (patch)
tree69b491d7ae8f8b70804833b893ed6f722276fb4b /lib/libalpm/alpm.h
parent25c5b39d05cdb8856098429d0fa6f8da595d5af6 (diff)
downloadpacman-dfc85cb5f516ffbcff557522e9703c5c7d88b047.tar.gz
pacman-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/alpm.h')
-rw-r--r--lib/libalpm/alpm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 0e545dd1..9f029b2e 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -157,6 +157,7 @@ alpm_list_t *alpm_db_whatprovides(pmdb_t *db, const char *name);
pmgrp_t *alpm_db_readgrp(pmdb_t *db, const char *name);
alpm_list_t *alpm_db_getgrpcache(pmdb_t *db);
+alpm_list_t *alpm_db_test(pmdb_t *db);
alpm_list_t *alpm_db_search(pmdb_t *db, const alpm_list_t* needles);
alpm_list_t *alpm_db_get_upgrades();