aboutsummaryrefslogtreecommitdiffstats
path: root/src/sys-util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-10-28 15:24:30 +0000
committerWerner Koch <[email protected]>2015-10-28 15:28:48 +0000
commitbb600aa8fd2f9575ee7afc64c978e3e7523b1173 (patch)
treee266bea2dccd3dcabe2080a5bf2096ca6b061d06 /src/sys-util.h
parentcleanup: Fix type mismatch around gpgme_error_t. (diff)
downloadgpgme-bb600aa8fd2f9575ee7afc64c978e3e7523b1173.tar.gz
gpgme-bb600aa8fd2f9575ee7afc64c978e3e7523b1173.zip
w32: Add new global flag "w32-inst-dir".
* src/gpgme.c (gpgme_set_global_flag): Add flag "w32-inst-dir"; * src/posix-util.c (_gpgme_set_override_inst_dir): New stub. * src/w32-util.c (override_inst_dir): New var. (_gpgme_get_inst_dir): Return this var is set. (_gpgme_set_override_inst_dir): New. -- See https://lists.gnupg.org/pipermail/gnupg-devel/2015-September/030267.html for background. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--src/sys-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys-util.h b/src/sys-util.h
index 589634b2..541c5575 100644
--- a/src/sys-util.h
+++ b/src/sys-util.h
@@ -23,6 +23,7 @@
/*-- {posix,w32}-util.c --*/
int _gpgme_set_default_gpg_name (const char *name);
int _gpgme_set_default_gpgconf_name (const char *name);
+int _gpgme_set_override_inst_dir (const char *dir);
char *_gpgme_get_gpg_path (void);
char *_gpgme_get_gpgconf_path (void);