diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-24 22:41:56 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-30 23:16:41 +0200 |
commit | 23a2d2c16a87dc8744b8307bded9fabb503dde13 (patch) | |
tree | 78137ad8dc1e68dfa7e8c37e006d53704d1af3b8 /lib/libalpm/alpm.h | |
parent | 68284da0d72bf27ac3dc5cfc1cd02d16f824130c (diff) | |
download | pacman-23a2d2c16a87dc8744b8307bded9fabb503dde13.tar.gz pacman-23a2d2c16a87dc8744b8307bded9fabb503dde13.tar.xz |
Make alpm_db_get_sigverify_level() public
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index b702c030..76564271 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -382,6 +382,14 @@ int alpm_db_unregister_all(alpm_handle_t *handle); */ const char *alpm_db_get_name(const alpm_db_t *db); +/** Get the signature verification level for a database. + * Will return the default verification level if this database is set up + * with PM_PGP_VERIFY_UNKNOWN. + * @param db pointer to the package database + * @return the signature verification level + */ +pgp_verify_t alpm_db_get_sigverify_level(alpm_db_t *db); + /** Check the validity of a database. * This is most useful for sync databases and verifying signature status. * If invalid, the handle error code will be set accordingly. |