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 /src/sys-util.h | |
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 'src/sys-util.h')
-rw-r--r-- | src/sys-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys-util.h b/src/sys-util.h index e5376133..b3ae721d 100644 --- a/src/sys-util.h +++ b/src/sys-util.h @@ -24,6 +24,7 @@ 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); +int _gpgme_set_get_inst_type (const char *value); char *_gpgme_get_gpg_path (void); char *_gpgme_get_gpgconf_path (void); |