summaryrefslogtreecommitdiffstats
path: root/common/estream.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-07-24 15:33:03 +0200
committerWerner Koch <wk@gnupg.org>2010-07-24 15:33:03 +0200
commit57a3538555acc2523703b4afb8c2f88981d62f88 (patch)
tree982d30c538d3093414322366bb47021f87a2bf13 /common/estream.h
parentSome work on the dirmngr (diff)
downloadgnupg2-57a3538555acc2523703b4afb8c2f88981d62f88.tar.xz
gnupg2-57a3538555acc2523703b4afb8c2f88981d62f88.zip
Add new set_binary feature to estream
Diffstat (limited to 'common/estream.h')
-rw-r--r--common/estream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/estream.h b/common/estream.h
index 6eb986fd6..8f45cce03 100644
--- a/common/estream.h
+++ b/common/estream.h
@@ -125,6 +125,7 @@
#define es_vfprintf_unlocked _ESTREAM_PREFIX(es_vfprint_unlocked)
#define es_setvbuf _ESTREAM_PREFIX(es_setvbuf)
#define es_setbuf _ESTREAM_PREFIX(es_setbuf)
+#define es_set_binary _ESTREAM_PREFIX(es_set_binary)
#define es_tmpfile _ESTREAM_PREFIX(es_tmpfile)
#define es_opaque_set _ESTREAM_PREFIX(es_opaque_set)
#define es_opaque_get _ESTREAM_PREFIX(es_opaque_get)
@@ -355,6 +356,9 @@ int es_setvbuf (estream_t ES__RESTRICT stream,
char *ES__RESTRICT buf, int mode, size_t size);
void es_setbuf (estream_t ES__RESTRICT stream, char *ES__RESTRICT buf);
+void es_set_binary (estream_t stream);
+
+
estream_t es_tmpfile (void);
void es_opaque_set (estream_t ES__RESTRICT stream, void *ES__RESTRICT opaque);