Home GnuPG
Diffusion GPGME 12e490d97f2e

core: Extend gpgme_get_dirinfo to return the gpgtar name

Description

core: Extend gpgme_get_dirinfo to return the gpgtar name

* src/dirinfo.c (WANT_GPGTAR_NAME): New.
(dirinfo): Add field gpgtar_name.
(get_gpgconf_item): Build gpgtar_name on demand and return it.
(_gpgme_get_default_gpgtar_name) : New.
(gpgme_get_dirinfo): New value "gpgtar-name" for WHAT.
* src/util.h (_gpgme_get_default_gpgtar_name): New.
* tests/t-engine-info.c (main): Add gpgtar-name to the output.

Details

Provenance
ikloeckerAuthored on Jan 18 2023, 10:30 AM
Parents
rMfbce7deb3b68: core: Use "goto leave" pattern to clean up resources
Branches
Unknown
Tags
Unknown
Tasks
T6342: GPGME/Kleopatra: Extend gpgme to use gpgtar