diff options
author | Werner Koch <[email protected]> | 2021-09-22 08:18:30 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-11-25 10:40:59 +0000 |
commit | eb37d6469e722ae5ff187962c216474b5ec476de (patch) | |
tree | c9ecc5acf3c81c7eeeee5577bc05edbcb0ca9b80 /lang/cpp/src | |
parent | posix: Use poll instead, when available, removing use of select. (diff) | |
download | gpgme-eb37d6469e722ae5ff187962c216474b5ec476de.tar.gz gpgme-eb37d6469e722ae5ff187962c216474b5ec476de.zip |
core: Support dirinfo("socketdir")
* src/dirinfo.c (WANT_SOCKETDIR): New.
(dirinfo): Add field socketdir.
(parse_output): Support "socketdir".
(get_gpgconf_item): Return socketdir.
* tests/t-engine-info.c (main): Add socketdir to the output.
* src/w32-util.c (_gpgme_create_process_utf8): Fix indentation.
--
GnuPG-bug-id: 5613
This is not strictly necessary because we could deduce this from one
of the other socket info items but it is more clean to have a
dedicated info item. The socketdir item is available for 5 years now
(GnuPG commit 8e3fa5a4b205c534de2142e5d071712f957cf06a)
Diffstat (limited to 'lang/cpp/src')
-rw-r--r-- | lang/cpp/src/global.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/cpp/src/global.h b/lang/cpp/src/global.h index 7d9f9d66..d7430e2b 100644 --- a/lang/cpp/src/global.h +++ b/lang/cpp/src/global.h @@ -91,7 +91,7 @@ GPGMEPP_EXPORT EngineInfo engineInfo(Engine engine); homedir, sysconfdir, bindir, libexecdir, libdir, datadir, localedir, agent-socket, agent-ssh-socket, dirmngr-socket, uiserver-socket, gpgconf-name, gpg-name, -gpgsm-name, g13-name +gpgsm-name, g13-name, socketdir. This may be extended in the future. */ |