A generic byte stream. More...
#include <stream.h>

Data Fields | |
| struct stream_ops * | ops |
| Stream backend operations. | |
| struct ring_head | ring |
| Character ring buffer state. | |
| const unsigned int | ring_mask |
| Size of the ring buffer minus one. | |
| char * | data |
| Character data storage. | |
A generic byte stream.
A byte stream is a queue of byte-size characters. This structure keeps track of the current stream state and allows safe insertion and extraction of characters.
Definition at line 70 of file stream.h.
| char* stream::data |
Character data storage.
Definition at line 78 of file stream.h.
Referenced by snprintf(), sprintf(), stream_buf_extract_char(), stream_buf_insert_char(), and stream_priv_write().
| struct stream_ops* stream::ops |
Stream backend operations.
Definition at line 72 of file stream.h.
Referenced by stream_priv_commit(), stream_priv_write(), and string_stream_make_room().
| struct ring_head stream::ring |
Character ring buffer state.
Definition at line 74 of file stream.h.
Referenced by stream_buf_extract_char(), stream_buf_has_data(), stream_buf_head(), stream_buf_insert_char(), stream_buf_is_full(), stream_buf_tail(), stream_buf_unused(), stream_buf_unused_before_end(), stream_buf_used(), stream_buf_used_before_end(), and stream_priv_write().
| const unsigned int stream::ring_mask |
Size of the ring buffer minus one.
Definition at line 76 of file stream.h.
Referenced by stream_buf_size().
1.6.3