diff options
author | Werner Koch <wk@gnupg.org> | 2007-08-22 22:36:33 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2007-08-22 22:36:33 +0200 |
commit | 84efbe69c7452fc4fce5f84b5adc4f770aa7613a (patch) | |
tree | f20057c44d67c70925afcee9f0fd9f0ab53e744b /jnlib | |
parent | Updated estream. (diff) | |
download | gnupg2-84efbe69c7452fc4fce5f84b5adc4f770aa7613a.tar.xz gnupg2-84efbe69c7452fc4fce5f84b5adc4f770aa7613a.zip |
Fixed creation of private keys under W32.
Minor code cleanups.
Diffstat (limited to 'jnlib')
-rw-r--r-- | jnlib/logging.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jnlib/logging.h b/jnlib/logging.h index a54e2d50d..9da46e29e 100644 --- a/jnlib/logging.h +++ b/jnlib/logging.h @@ -71,6 +71,11 @@ void log_error( const char *fmt, ... ) JNLIB_GCC_A_PRINTF(1,2); void log_info( const char *fmt, ... ) JNLIB_GCC_A_PRINTF(1,2); void log_debug( const char *fmt, ... ) JNLIB_GCC_A_PRINTF(1,2); void log_printf( const char *fmt, ... ) JNLIB_GCC_A_PRINTF(1,2); + +/* Print a hexdump of BUFFER. With TEXT passes as NULL print just the + raw dump, with TEXT being an empty string, print a trailing + linefeed, otherwise print an entire debug line with TEXT followed + by the hexdump and a final LF. */ void log_printhex (const char *text, const void *buffer, size_t length); |