summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-12-07 20:12:33 +0100
committerDan McGee <dan@archlinux.org>2011-03-23 09:16:29 +0100
commit4ae902ec5fb286a7826214f73f718a41cdf82ddb (patch)
tree93dde96133c67e8b849aef8999d798bf1295c5e1 /lib/libalpm/alpm.h
parent39ce9b3afc6a544c2a5137bb58012d32723096e3 (diff)
downloadpacman-4ae902ec5fb286a7826214f73f718a41cdf82ddb.tar.gz
pacman-4ae902ec5fb286a7826214f73f718a41cdf82ddb.tar.xz
Add signature directory as option on libalpm handle
This will serve as the home directory we pass to GPGME when making calls so we can have a libalpm-utilized keyring. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index fb438404..faba1330 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -127,6 +127,9 @@ int alpm_option_set_logfile(const char *logfile);
const char *alpm_option_get_lockfile(void);
/* no set_lockfile, path is determined from dbpath */
+const char *alpm_option_get_signaturedir(void);
+int alpm_option_set_signaturedir(const char *signaturedir);
+
int alpm_option_get_usesyslog(void);
void alpm_option_set_usesyslog(int usesyslog);