summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/signing.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-24 04:56:54 +0100
committerDan McGee <dan@archlinux.org>2011-03-24 04:56:54 +0100
commit9a3325a56db87cc8c6336225162daefcd190208f (patch)
treeb0c4b0b25aeb98719050fda363e4a96f9819d7d1 /lib/libalpm/signing.h
parented6fda2f98bdcde56a67e43a6bcf644c549892a2 (diff)
downloadpacman-9a3325a56db87cc8c6336225162daefcd190208f.tar.gz
pacman-9a3325a56db87cc8c6336225162daefcd190208f.tar.xz
Refactor signature loading code into common function
We can use this for both standalone package signatures as well as standalone database signatures. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/signing.h')
-rw-r--r--lib/libalpm/signing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/signing.h b/lib/libalpm/signing.h
index 07773780..b37abf0f 100644
--- a/lib/libalpm/signing.h
+++ b/lib/libalpm/signing.h
@@ -32,6 +32,7 @@ struct __pmpgpsig_t {
};
int _alpm_gpgme_checksig(const char *path, const pmpgpsig_t *sig);
+int _alpm_load_signature(const char *sigfile, pmpgpsig_t *pgpsig);
#endif /* _ALPM_SIGNING_H */