diff options
author | Werner Koch <wk@gnupg.org> | 2010-07-24 15:33:03 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2010-07-24 15:33:03 +0200 |
commit | 57a3538555acc2523703b4afb8c2f88981d62f88 (patch) | |
tree | 982d30c538d3093414322366bb47021f87a2bf13 /common/estream.h | |
parent | Some work on the dirmngr (diff) | |
download | gnupg2-57a3538555acc2523703b4afb8c2f88981d62f88.tar.xz gnupg2-57a3538555acc2523703b4afb8c2f88981d62f88.zip |
Add new set_binary feature to estream
Diffstat (limited to 'common/estream.h')
-rw-r--r-- | common/estream.h | 4 |
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); |