diff options
author | Dave Reisner <d@falconindy.com> | 2011-03-25 21:40:16 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-20 19:42:01 -0500 |
commit | 6760ec2b770e65f2aae9cfd39135cefd49961195 (patch) | |
tree | 1cff3dd732c5a4e6a7c262c8163e32e52eb7f6d5 /lib/libalpm/alpm.h | |
parent | 2c8c763723b43ddcb865aab325afc9c76907cb64 (diff) | |
download | pacman-6760ec2b770e65f2aae9cfd39135cefd49961195.tar.xz |
Allow VerifySig to act as a default verification in [options]
* add _alpm_db_get_sigverify_level
* add alpm_option_{get,set}_default_sigverify
And set the default verification level to OPTIONAL if not set otherwise.
Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index ca696250..fefb9c57 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -225,6 +225,9 @@ int alpm_option_set_usedelta(int usedelta); int alpm_option_get_checkspace(void); int alpm_option_set_checkspace(int checkspace); +pgp_verify_t alpm_option_get_default_sigverify(void); +int alpm_option_set_default_sigverify(pgp_verify_t level); + /** @} */ /** @addtogroup alpm_api_databases Database Functions |