w32: Add new global flag "w32-inst-dir".
authorWerner Koch <wk@gnupg.org>
Wed, 28 Oct 2015 15:24:30 +0000 (16:24 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 28 Oct 2015 15:28:48 +0000 (16:28 +0100)
commitbb600aa8fd2f9575ee7afc64c978e3e7523b1173
treee266bea2dccd3dcabe2080a5bf2096ca6b061d06
parent0d9d0a6b5b0c6f474a079bbaef11078c5df5f3b5
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 <wk@gnupg.org>
doc/gpgme.texi
src/gpgme.c
src/posix-util.c
src/sys-util.h
src/w32-util.c