From 84efbe69c7452fc4fce5f84b5adc4f770aa7613a Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 22 Aug 2007 20:36:33 +0000 Subject: Fixed creation of private keys under W32. Minor code cleanups. --- jnlib/logging.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'jnlib') 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); -- cgit v1.2.3