summaryrefslogtreecommitdiffstats
path: root/common/logging.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-05-21 15:00:00 +0200
committerWerner Koch <wk@gnupg.org>2013-05-22 09:56:45 +0200
commitcb6a64bb78296c8e9f72df0c482ff847e89a1541 (patch)
treea7ae8bac97bd9c639c2984c6f3ddeb7f42b07601 /common/logging.c
parentagent: Fix length detection of canonical formatted openpgp keys. (diff)
downloadgnupg2-cb6a64bb78296c8e9f72df0c482ff847e89a1541.tar.xz
gnupg2-cb6a64bb78296c8e9f72df0c482ff847e89a1541.zip
New debug functions log_printcanon and log_printsexp.
* common/sexputil.c (sexp_to_string, canon_sexp_to_string): New. (log_printcanon, log_printsexp): New. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'common/logging.c')
-rw-r--r--common/logging.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/common/logging.c b/common/logging.c
index cdfd6597c..73b0dbe59 100644
--- a/common/logging.c
+++ b/common/logging.c
@@ -857,6 +857,19 @@ log_printhex (const char *text, const void *buffer, size_t length)
}
+/*
+void
+log_printcanon () {}
+is found in sexputils.c
+*/
+
+/*
+void
+log_printsexp () {}
+is found in sexputils.c
+*/
+
+
void
log_clock (const char *string)
{