aboutsummaryrefslogtreecommitdiffstats
path: root/common/estream.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-08-05 18:47:25 +0000
committerWerner Koch <[email protected]>2010-08-05 18:47:25 +0000
commitbe622bd2682de468472cd6f12cacb6028069865f (patch)
treee4cc2c5b88c53617bb78921ba34e518d3ee84cb1 /common/estream.h
parentTypo fix (diff)
downloadgnupg-be622bd2682de468472cd6f12cacb6028069865f.tar.gz
gnupg-be622bd2682de468472cd6f12cacb6028069865f.zip
Simplified http.c.
Diffstat (limited to 'common/estream.h')
-rw-r--r--common/estream.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/estream.h b/common/estream.h
index 8f45cce03..f7ef162f5 100644
--- a/common/estream.h
+++ b/common/estream.h
@@ -352,6 +352,11 @@ int es_vfprintf_unlocked (estream_t ES__RESTRICT stream,
const char *ES__RESTRICT format, va_list ap)
_ESTREAM_GCC_A_PRINTF(2,0);
+char *es_asprintf (const char *ES__RESTRICT format, ...)
+ _ESTREAM_GCC_A_PRINTF(1,2);
+char *es_vasprintf (const char *ES__RESTRICT format, va_list ap)
+ _ESTREAM_GCC_A_PRINTF(1,0);
+
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);