(mu_stream_vprintf)
(mu_stream_printf, mu_stream_sequential_vprintf) (mu_stream_sequential_printf): New prototypes.
Showing
1 changed file
with
10 additions
and
1 deletions
... | @@ -20,7 +20,7 @@ | ... | @@ -20,7 +20,7 @@ |
20 | # define _MAILUTILS_STREAM_H | 20 | # define _MAILUTILS_STREAM_H |
21 | 21 | ||
22 | #include <stdio.h> | 22 | #include <stdio.h> |
23 | 23 | #include <stdarg.h> | |
24 | #include <mailutils/types.h> | 24 | #include <mailutils/types.h> |
25 | 25 | ||
26 | #ifdef __cplusplus | 26 | #ifdef __cplusplus |
... | @@ -92,6 +92,15 @@ extern int mu_stream_write (mu_stream_t, const char *, size_t, mu_off_t, | ... | @@ -92,6 +92,15 @@ extern int mu_stream_write (mu_stream_t, const char *, size_t, mu_off_t, |
92 | extern int mu_stream_setbufsiz (mu_stream_t stream, size_t size); | 92 | extern int mu_stream_setbufsiz (mu_stream_t stream, size_t size); |
93 | extern int mu_stream_flush (mu_stream_t); | 93 | extern int mu_stream_flush (mu_stream_t); |
94 | 94 | ||
95 | extern int mu_stream_vprintf (mu_stream_t os, mu_off_t *poff, | ||
96 | const char *fmt, va_list ap); | ||
97 | extern int mu_stream_printf (mu_stream_t stream, mu_off_t *off, | ||
98 | const char *fmt, ...) MU_PRINTFLIKE(3,4); | ||
99 | extern int mu_stream_sequential_vprintf (mu_stream_t stream, const char *fmt, | ||
100 | va_list ap); | ||
101 | extern int mu_stream_sequential_printf (mu_stream_t stream, const char *fmt, | ||
102 | ...) MU_PRINTFLIKE(2,3); | ||
103 | |||
95 | #define MU_STREAM_READY_RD 0x1 | 104 | #define MU_STREAM_READY_RD 0x1 |
96 | #define MU_STREAM_READY_WR 0x2 | 105 | #define MU_STREAM_READY_WR 0x2 |
97 | #define MU_STREAM_READY_EX 0x4 | 106 | #define MU_STREAM_READY_EX 0x4 | ... | ... |
-
Please register or sign in to post a comment