core: Extend gpgme_get_dirinfo to return the gpg-wks-client name.
authorWerner Koch <wk@gnupg.org>
Tue, 21 Mar 2017 10:16:16 +0000 (11:16 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 21 Mar 2017 10:16:16 +0000 (11:16 +0100)
commit55ac5eed9f59081283d34098a9e0ada753d61d59
tree6f858ed622b61700934835d92ba08c0a00123899
parentfab8b1a166fff7265d8a7a7acbbf5f30d26cc93c
core: Extend gpgme_get_dirinfo to return the gpg-wks-client name.

* src/dirinfo.c (WANT_GPG_WKS_CLIENT_NAME): New const.
(struct dirinfo): New field 'gpg_wks_client_name'.
(get_gpgconf_item): Build it on demand.
(gpgme_get_dirinfo): New value "gpg-wks-client-name" for WHAT.

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpgme.texi
src/dirinfo.c
tests/t-engine-info.c