summaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-03-19 16:44:59 +0100
committerWerner Koch <wk@gnupg.org>2007-03-19 16:44:59 +0100
commit9e95c2dff6374fea6007711635063d8c1ab4fb2b (patch)
tree257f186fed764c911913911ff35037a28ff11532 /common/util.h
parentChanges to let the key listing use estream to help systems without (diff)
downloadgnupg2-9e95c2dff6374fea6007711635063d8c1ab4fb2b.tar.xz
gnupg2-9e95c2dff6374fea6007711635063d8c1ab4fb2b.zip
Allow export to work on systems without funopen/fopencookie.
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h
index 324fbb265..2cf6e6cbe 100644
--- a/common/util.h
+++ b/common/util.h
@@ -185,6 +185,8 @@ 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_hexstring (FILE *fp, const void *buffer, size_t length,
+ int reserved);
char *make_printable_string (const void *p, size_t n, int delim);
int is_file_compressed (const char *s, int *ret_rc);