index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-12-07 11:58:24 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-23 03:16:29 -0500 |
commit | 39c75c70001eac9362d70141372f3e26c254680b (patch) | |
tree | 32e21d71f7616685e7fb115a12dc3d2cf9004db6 /lib/libalpm/alpm.h | |
parent | 061948597dd0fc4fda4197b7bfca6f730c43b9c8 (diff) |
-rw-r--r-- | lib/libalpm/alpm.h | 10 |
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 1c8d232e..150730ce 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -246,6 +246,12 @@ off_t alpm_pkg_download_size(pmpkg_t *newpkg); alpm_list_t *alpm_pkg_unused_deltas(pmpkg_t *pkg); /* + * Signatures + */ + +int alpm_pkg_check_pgp_signature(pmpkg_t *pkg); + +/* * Deltas */ @@ -527,6 +533,7 @@ enum _pmerrno_t { PM_ERR_PKG_INVALID_ARCH, PM_ERR_PKG_REPO_NOT_FOUND, /* Signatures */ + PM_ERR_SIG_MISSINGDIR, PM_ERR_SIG_INVALID, PM_ERR_SIG_UNKNOWN, /* Deltas */ @@ -543,7 +550,8 @@ enum _pmerrno_t { /* External library errors */ PM_ERR_LIBARCHIVE, PM_ERR_LIBCURL, - PM_ERR_EXTERNAL_DOWNLOAD + PM_ERR_EXTERNAL_DOWNLOAD, + PM_ERR_GPGME }; extern enum _pmerrno_t pm_errno; |