diff options
author | Werner Koch <[email protected]> | 2009-02-25 10:58:56 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-02-25 10:58:56 +0000 |
commit | 618afc4231521cfcf74c667c9edf6fdc47b8ffe1 (patch) | |
tree | 3468662f7fe8946795ed4ded198b53f21f458b79 /jnlib/logging.h | |
parent | Better debug output. (diff) | |
download | gnupg-618afc4231521cfcf74c667c9edf6fdc47b8ffe1.tar.gz gnupg-618afc4231521cfcf74c667c9edf6fdc47b8ffe1.zip |
Fixed a nasty bug in scdaemon which led to a card reset if the card was
inserted during scdaemon startup and a connection was made before the
ticker had a chance to run. Add some stuff for better debugging.
Diffstat (limited to 'jnlib/logging.h')
-rw-r--r-- | jnlib/logging.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jnlib/logging.h b/jnlib/logging.h index 9da46e29e..0b96108a8 100644 --- a/jnlib/logging.h +++ b/jnlib/logging.h @@ -33,6 +33,7 @@ int log_get_errorcount (int clear); void log_inc_errorcount (void); void log_set_file( const char *name ); void log_set_fd (int fd); +void log_set_get_tid_callback (unsigned long (*cb)(void)); void log_set_prefix (const char *text, unsigned int flags); const char *log_get_prefix (unsigned int *flags); int log_test_fd (int fd); |