diff options
author | Werner Koch <[email protected]> | 2012-09-25 13:38:26 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2012-09-25 13:38:26 +0000 |
commit | c62b79a1d6e576d94e08cb81c2f5dbcb42ecf8cf (patch) | |
tree | 0c659d95d2a93943c65f86e2d8e626ad335081c8 /src/libgpgme.vers | |
parent | Remove all trailing whitespace from source files (diff) | |
download | gpgme-c62b79a1d6e576d94e08cb81c2f5dbcb42ecf8cf.tar.gz gpgme-c62b79a1d6e576d94e08cb81c2f5dbcb42ecf8cf.zip |
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.
Diffstat (limited to 'src/libgpgme.vers')
-rw-r--r-- | src/libgpgme.vers | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libgpgme.vers b/src/libgpgme.vers index 3477d318..d59571e1 100644 --- a/src/libgpgme.vers +++ b/src/libgpgme.vers @@ -1,5 +1,5 @@ # libgpgme.vers - List of symbols to export. -# Copyright (C) 2002, 2004, 2005, 2009 g10 Code GmbH +# Copyright (C) 2002, 2004, 2005, 2009, 2012 g10 Code GmbH # # This file is part of GPGME. # @@ -79,6 +79,8 @@ GPGME_1.1 { gpgme_op_passwd_start; gpgme_op_passwd; + + gpgme_set_global_flag; }; |