aboutsummaryrefslogtreecommitdiffstats
path: root/src/debug.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2010-01-05 04:09:05 +0000
committerMarcus Brinkmann <[email protected]>2010-01-05 04:09:05 +0000
commit28f8339ed1e0a21719dd972cec274732a2d35a91 (patch)
tree25be8e20369a526cb524edb9be87e5be04ba61b2 /src/debug.h
parentAdd comments. (diff)
downloadlibassuan-28f8339ed1e0a21719dd972cec274732a2d35a91.tar.gz
libassuan-28f8339ed1e0a21719dd972cec274732a2d35a91.zip
2010-01-05 Marcus Brinkmann <[email protected]>
* debug.h (TRACE_LOG5): Add macro. * debug.c (_assuan_debug_buffer): Add newline * system.c: Add more debug output (conditioned on the compile-time DEBUG_SYSIO macro).
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h
index 4b4a41d..8d2771e 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -236,6 +236,11 @@ void _assuan_debug_buffer (assuan_context_t ctx, unsigned int cat,
"%s (%s=%p): check: " fmt "\n", \
_assuan_trace_func, _assuan_trace_tagname, \
_assuan_trace_tag, arg1, arg2, arg3, arg4), 0
+#define TRACE_LOG5(fmt, arg1, arg2, arg3, arg4, arg5) \
+ _assuan_debug (_assuan_trace_context, _assuan_trace_level, \
+ "%s (%s=%p): check: " fmt "\n", \
+ _assuan_trace_func, _assuan_trace_tagname, \
+ _assuan_trace_tag, arg1, arg2, arg3, arg4, arg5), 0
#define TRACE_LOG6(fmt, arg1, arg2, arg3, arg4, arg5, arg6) \
_assuan_debug (_assuan_trace_context, _assuan_trace_level, \
"%s (%s=%p): check: " fmt "\n", \