aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-03-15 11:15:45 +0000
committerWerner Koch <[email protected]>2010-03-15 11:15:45 +0000
commitfb2ba98963beea249474f5d6d7345cf9b4b7f570 (patch)
tree3c9b25d63f90a71caec5685fca945341d54bef9d /common/util.h
parentUse a custom log handler for libassuan. (diff)
downloadgnupg-fb2ba98963beea249474f5d6d7345cf9b4b7f570.tar.gz
gnupg-fb2ba98963beea249474f5d6d7345cf9b4b7f570.zip
Finished the bulk of changes to use estream in most places instead of
stdio.
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/util.h b/common/util.h
index 32d4085e7..6deee38e1 100644
--- a/common/util.h
+++ b/common/util.h
@@ -278,9 +278,8 @@ char *xtryasprintf (const char *fmt, ...) JNLIB_GCC_A_PRINTF(1,2);
const char *print_fname_stdout (const char *s);
const char *print_fname_stdin (const char *s);
-void print_string (FILE *fp, const byte *p, size_t n, int delim);
-void print_utf8_string2 ( FILE *fp, const byte *p, size_t n, int delim);
-void print_utf8_string (FILE *fp, const byte *p, size_t n);
+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_hexstring (FILE *fp, const void *buffer, size_t length,
int reserved);
char *make_printable_string (const void *p, size_t n, int delim);