diff options
| author | Werner Koch <[email protected]> | 2015-10-28 15:24:30 +0000 | 
|---|---|---|
| committer | Werner Koch <[email protected]> | 2015-10-28 15:28:48 +0000 | 
| commit | bb600aa8fd2f9575ee7afc64c978e3e7523b1173 (patch) | |
| tree | e266bea2dccd3dcabe2080a5bf2096ca6b061d06 /doc | |
| parent | cleanup: Fix type mismatch around gpgme_error_t. (diff) | |
| download | gpgme-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 'doc')
| -rw-r--r-- | doc/gpgme.texi | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/doc/gpgme.texi b/doc/gpgme.texi index a764ce42..1c680b51 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -701,6 +701,16 @@ directory part is used as the default installation directory; the  @code{.exe} suffix is added by GPGME.  Use forward slashed even under  Windows. +@item "w32-inst-dir" +On Windows GPGME needs to know its installation directory to find its +spawn helper.  This is in general no problem because a DLL has this +information.  Some applications however link statically to GPGME and +thus GPGME can only figure out the installation directory of this +application which may be wrong in certain cases.  By supplying an +installation directory as value to this flag, GPGME will assume that +that directory is the installation directory.  This flag has no effect +on non-Windows platforms. +  @end table  This function returns @code{0} on success.  In contrast to other | 
