Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-12-07 11:58:24 -0600
committerDan McGee <dan@archlinux.org>2011-03-23 03:16:29 -0500
commit39c75c70001eac9362d70141372f3e26c254680b (patch)
tree32e21d71f7616685e7fb115a12dc3d2cf9004db6 /lib/libalpm/alpm.h
parent061948597dd0fc4fda4197b7bfca6f730c43b9c8 (diff)
Integrate GPGME into libalpm
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h10
1 files changed, 9 insertions, 1 deletions
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;