Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/be_local.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-07 23:05:21 -0500
committerDan McGee <dan@archlinux.org>2011-06-30 16:05:20 -0500
commit68284da0d72bf27ac3dc5cfc1cd02d16f824130c (patch)
tree8835a9047bd9ebd95d4ea7f72c2fe7e054d23180 /lib/libalpm/be_local.c
parent6633b8e5c290dbb1b0382f3f960e1f7134247a68 (diff)
Add an alpm_db_get_valid() public function
This allows one to check if a database is valid or invalid. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_local.c')
-rw-r--r--lib/libalpm/be_local.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c
index c10c9e3c..63a95bb8 100644
--- a/lib/libalpm/be_local.c
+++ b/lib/libalpm/be_local.c
@@ -915,6 +915,7 @@ int _alpm_local_db_remove(alpm_db_t *db, alpm_pkg_t *info)
}
struct db_operations local_db_ops = {
+ .validate = local_db_validate,
.populate = local_db_populate,
.unregister = _alpm_db_unregister,
};