Go to the documentation of this file.
21 #ifndef VLC_MEMSTREAM_H
22 # define VLC_MEMSTREAM_H 1
49 const void *ptr,
size_t len);
67 const char *str,
size_t len)
71 # define vlc_memstream_puts(ms,s) \
72 (__builtin_constant_p(__builtin_strlen(s)) ? \
73 vlc_memstream_puts_len(ms,s,__builtin_strlen(s)) : \
74 vlc_memstream_puts(ms,s))
#define VLC_FORMAT(x, y)
Definition: vlc_common.h:100
#define VLC_API
Definition: fourcc_gen.c:30
Definition: vlc_memstream.h:27
char * ptr
Definition: vlc_memstream.h:51
int error
Definition: vlc_memstream.h:66
size_t length
Definition: vlc_memstream.h:52
size_t vlc_memstream_write(struct vlc_memstream *ms, const void *ptr, size_t len)
Definition: memstream.c:126
int vlc_memstream_flush(struct vlc_memstream *ms)
Definition: memstream.c:114
int vlc_memstream_putc(struct vlc_memstream *ms, int c)
Definition: memstream.c:144
FILE * stream
Definition: vlc_memstream.h:65
int vlc_memstream_puts(struct vlc_memstream *ms, const char *str)
Definition: memstream.c:149
int vlc_memstream_printf(struct vlc_memstream *s, const char *fmt,...)
Definition: memstream.c:184
int vlc_memstream_close(struct vlc_memstream *ms)
Definition: memstream.c:119
#define VLC_USED
Definition: fourcc_gen.c:31
int vlc_memstream_vprintf(struct vlc_memstream *ms, const char *fmt, va_list args)
Definition: memstream.c:155
int vlc_memstream_open(struct vlc_memstream *ms)
Definition: memstream.c:104