aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-07-20 15:20:17 +0000
committerWerner Koch <[email protected]>2017-07-20 16:13:40 +0000
commitbddc2e04f1ddc18be20efc0f0508be401b345f42 (patch)
treeb9fb9c1a21a6bc43492c8b989e17b5d8df6920f3 /common/util.h
parentdoc: Comment fixes and one trailing comma fix. (diff)
downloadgnupg-bddc2e04f1ddc18be20efc0f0508be401b345f42.tar.gz
gnupg-bddc2e04f1ddc18be20efc0f0508be401b345f42.zip
common: New function print_utf9_string.
* common/miscellaneous.c (print_utf8_string): New. -- This is a simple convenience function. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h
index c0aa57a1e..5b712d3e9 100644
--- a/common/util.h
+++ b/common/util.h
@@ -302,6 +302,7 @@ void print_utf8_buffer3 (estream_t fp, const void *p, size_t n,
const char *delim);
void print_utf8_buffer2 (estream_t fp, const void *p, size_t n, int delim);
void print_utf8_buffer (estream_t fp, const void *p, size_t n);
+void print_utf8_string (estream_t stream, const char *p);
void print_hexstring (FILE *fp, const void *buffer, size_t length,
int reserved);
char *try_make_printable_string (const void *p, size_t n, int delim);