135 stream->
flush = flush;
136 stream->
close = close;
void * ws_calloc(size_t num, size_t size)
WsUInt32 buffer[WS_STREAM_BUFFER_SIZE]
#define WS_STREAM_BUFFER_SIZE
WsBool ws_stream_getc(WsStream *stream, WsUInt32 *ch_return)
WsStream * ws_stream_new(void *context, WsStreamIOProc io, WsStreamFlushProc flush, WsStreamCloseProc close)
void ws_stream_close(WsStream *stream)
void ws_stream_ungetc(WsStream *stream, WsUInt32 ch)
size_t(* WsStreamIOProc)(void *context, WsUInt32 *buf, size_t buflen)
WsBool ws_stream_flush(WsStream *stream)
void(* WsStreamCloseProc)(void *context)
WsBool(* WsStreamFlushProc)(void *context)