diff options
author | Werner Koch <[email protected]> | 2010-08-18 19:25:15 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-08-18 19:25:15 +0000 |
commit | 34dde9666975c6c258a5983a5bc334d9b8b80a55 (patch) | |
tree | 35921e17de3f1564e86182755d0ca5fa027652d6 /common/estream.h | |
parent | Auto-start dirmngr. (diff) | |
download | gnupg-34dde9666975c6c258a5983a5bc334d9b8b80a55.tar.gz gnupg-34dde9666975c6c258a5983a5bc334d9b8b80a55.zip |
Fix regression in logging.
Add a registry key to enable catch-all remote debugging for W32.
Replace more stdio stuff by estream.
Diffstat (limited to 'common/estream.h')
-rw-r--r-- | common/estream.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/estream.h b/common/estream.h index f7ef162f5..34ff5ce77 100644 --- a/common/estream.h +++ b/common/estream.h @@ -121,6 +121,8 @@ #define es_free _ESTREAM_PREFIX(es_free) #define es_fprintf _ESTREAM_PREFIX(es_fprintf) #define es_fprintf_unlocked _ESTREAM_PREFIX(es_fprintf_unlocked) +#define es_printf _ESTREAM_PREFIX(es_printf) +#define es_printf_unlocked _ESTREAM_PREFIX(es_printf_unlocked) #define es_vfprintf _ESTREAM_PREFIX(es_vfprint) #define es_vfprintf_unlocked _ESTREAM_PREFIX(es_vfprint_unlocked) #define es_setvbuf _ESTREAM_PREFIX(es_setvbuf) @@ -345,6 +347,11 @@ int es_fprintf_unlocked (estream_t ES__RESTRICT stream, const char *ES__RESTRICT format, ...) _ESTREAM_GCC_A_PRINTF(2,3); +int es_printf (const char *ES__RESTRICT format, ...) + _ESTREAM_GCC_A_PRINTF(1,2); +int es_printf_unlocked (const char *ES__RESTRICT format, ...) + _ESTREAM_GCC_A_PRINTF(1,2); + int es_vfprintf (estream_t ES__RESTRICT stream, const char *ES__RESTRICT format, va_list ap) _ESTREAM_GCC_A_PRINTF(2,0); |