diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-07 23:05:21 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-30 16:05:20 -0500 |
commit | 68284da0d72bf27ac3dc5cfc1cd02d16f824130c (patch) | |
tree | 8835a9047bd9ebd95d4ea7f72c2fe7e054d23180 /lib/libalpm/db.h | |
parent | 6633b8e5c290dbb1b0382f3f960e1f7134247a68 (diff) | |
download | pacman-68284da0d72bf27ac3dc5cfc1cd02d16f824130c.tar.xz |
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/db.h')
-rw-r--r-- | lib/libalpm/db.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index 7dce006f..0f00f683 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -51,6 +51,7 @@ enum _alpm_dbstatus_t { }; struct db_operations { + int (*validate) (alpm_db_t *); int (*populate) (alpm_db_t *); void (*unregister) (alpm_db_t *); }; |