Home GnuPG
Diffusion GPGME c62b79a1d6e5

Add gpgme_set_global_flag to help debugging
c62b79a1d6e5Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add gpgme_set_global_flag to help debugging

* src/gpgme.c (gpgme_set_global_flag): New.
* src/gpgme.h.in (gpgme_set_global_flag): New.
* src/gpgme.def, src/libgpgme.vers: Add new public function.
* src/debug.c (envvar_override): New.:
(_gpgme_debug_set_debug_envvar): New.
(debug_init): Take ENVVAR_OVERRIDE in account.

On Android envvars can't be used, thus we need another way to enable
GPGME debugging. The new function allows this and may be used in the
future to implement similar things.

Details

Provenance
wernerAuthored on Sep 25 2012, 3:38 PM
Parents
rM139e798c8782: Remove all trailing whitespace from source files
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rMc62b79a1d6e5: Add gpgme_set_global_flag to help debugging (authored by Werner Koch <wk@gnupg.org>).Sep 25 2012, 3:38 PM