diff options
| author | Werner Koch <[email protected]> | 2022-10-26 10:10:57 +0000 | 
|---|---|---|
| committer | Werner Koch <[email protected]> | 2022-10-26 10:10:57 +0000 | 
| commit | 1c9694f8d50b1236d2e4f2acbe23f972da36e437 (patch) | |
| tree | 29133c6c07794eda364e9b198f433012ac520b25 /doc/gpgme.texi | |
| parent | python: Fix configure generating setup.py. (diff) | |
| download | gpgme-1c9694f8d50b1236d2e4f2acbe23f972da36e437.tar.gz gpgme-1c9694f8d50b1236d2e4f2acbe23f972da36e437.zip | |
core: New global flags "inst-type".
* src/gpgme.c (gpgme_set_global_flag): Add flag "inst-type".
* src/w32-util.c (_gpgme_set_get_inst_type): New.
(INST_TYPE_GPG4WIN_DIR): New.
(INST_TYPE_GPGDESK_DIR): New.
(_gpgme_get_gpgconf_path): Implement this flag.  Replace fixed strings
by the macros.
* src/posix-util.c (_gpgme_set_get_inst_type): New dummy.
--
This is intended for use by Kleopatra to reliable find the expected
GnuPG installation.
Diffstat (limited to '')
| -rw-r--r-- | doc/gpgme.texi | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/doc/gpgme.texi b/doc/gpgme.texi index a616e335..b707b93f 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -727,6 +727,13 @@ is not met, GPGME fails early instead of trying to use the existent  version.  The given version must be a string with major, minor, and  micro number.  Example: "2.1.0". +@item inst-type +The installation type is used to prefer a certain GnuPG installation. +The value is interpreted as an integer: A value of 0 is ignored, a +value of 1 indicates an installation scheme as used by Gpg4win, a +value of 2 indicates an installation scheme as used by GnuPG Desktop +on Windows.  All other values are reserved. +  @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 | 
