summaryrefslogtreecommitdiffstats
path: root/common/estream.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-08-23 21:26:05 +0200
committerWerner Koch <wk@gnupg.org>2010-08-23 21:26:05 +0200
commitd9791119d0967717e7690e85a69bac830ddf65f4 (patch)
treead09c31d1d2842e6c5f47e27d28c812b391383cb /common/estream.h
parentReworked the posix and w32 exechelpers. (diff)
downloadgnupg2-d9791119d0967717e7690e85a69bac830ddf65f4.tar.xz
gnupg2-d9791119d0967717e7690e85a69bac830ddf65f4.zip
gpgconf does now work for Wince.
Diffstat (limited to 'common/estream.h')
-rw-r--r--common/estream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/estream.h b/common/estream.h
index c5dc19c07..5c5e216e0 100644
--- a/common/estream.h
+++ b/common/estream.h
@@ -87,6 +87,7 @@
#define es_freopen _ESTREAM_PREFIX(es_freopen)
#define es_fopencookie _ESTREAM_PREFIX(es_fopencookie)
#define es_fclose _ESTREAM_PREFIX(es_fclose)
+#define es_onclose _ESTREAM_PREFIX(es_onclose)
#define es_fileno _ESTREAM_PREFIX(es_fileno)
#define es_fileno_unlocked _ESTREAM_PREFIX(es_fileno_unlocked)
#define es_flockfile _ESTREAM_PREFIX(es_flockfile)
@@ -281,6 +282,8 @@ estream_t es_fopencookie (void *ES__RESTRICT cookie,
const char *ES__RESTRICT mode,
es_cookie_io_functions_t functions);
int es_fclose (estream_t stream);
+int es_onclose (estream_t stream, int mode,
+ void (*fnc) (estream_t, void*), void *fnc_value);
int es_fileno (estream_t stream);
int es_fileno_unlocked (estream_t stream);
int es_syshd (estream_t stream, es_syshd_t *syshd);