Differences From Artifact [768e2d2979]:
- File
src/stream.h
— part of check-in
[2cee5ea2d5]
at
2012-09-30 01:01:37
on branch trunk
— Add cfw_stream_read_line().
This also adds a caching infrastructure to cfw_stream. (user: js, size: 2132) [annotate] [blame] [check-ins using]
To Artifact [677d5c6a56]:
- File src/stream.h — part of check-in [168ba16eda] at 2012-09-30 01:02:03 on branch trunk — Add cfw_stream_write_line(). (user: js, size: 2187) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
48 49 50 51 52 53 54 55 56 57 | } CFWStream; extern CFWClass *cfw_stream; extern ssize_t cfw_stream_read(void*, void*, size_t); extern CFWString* cfw_stream_read_line(void*); extern bool cfw_stream_write(void*, const void*, size_t); extern bool cfw_stream_write_string(void*, const char*); extern bool cfw_stream_eof(void*); extern void cfw_stream_close(void*); #endif | > | 48 49 50 51 52 53 54 55 56 57 58 | } CFWStream; extern CFWClass *cfw_stream; extern ssize_t cfw_stream_read(void*, void*, size_t); extern CFWString* cfw_stream_read_line(void*); extern bool cfw_stream_write(void*, const void*, size_t); extern bool cfw_stream_write_string(void*, const char*); extern bool cfw_stream_write_line(void*, const char*); extern bool cfw_stream_eof(void*); extern void cfw_stream_close(void*); #endif |