Home GnuPG
Diffusion GPGME 1c9694f8d50b

core: New global flags "inst-type".

Description

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.

Details

Provenance
wernerAuthored on Oct 26 2022, 12:10 PM
Parents
rMf1802682c3c8: python: Fix configure generating setup.py.
Branches
Unknown
Tags
Unknown