stream Struct Reference
[Character Streams]

A generic byte stream. More...

#include <stream.h>

Collaboration diagram for stream:
Collaboration graph
[legend]

Data Fields

struct stream_opsops
 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.

Detailed Description

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.


Field Documentation

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().

Stream backend operations.

Definition at line 72 of file stream.h.

Referenced by stream_priv_commit(), stream_priv_write(), and string_stream_make_room().

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().


The documentation for this struct was generated from the following file:
Generated on Thu Apr 29 15:18:25 2010 for display-training by  doxygen 1.6.3