Crossfire Server, Trunk
BufferReader Struct Reference
+ Collaboration diagram for BufferReader:

Data Fields

size_t allocated_size
 
char * buf
 
size_t buffer_length
 
char * current_line
 
size_t line_index
 

Detailed Description

Definition at line 21 of file bufferreader.c.

Field Documentation

◆ allocated_size

size_t BufferReader::allocated_size

Allocated size of buf.

Definition at line 24 of file bufferreader.c.

Referenced by bufferreader_init_for_length().

◆ buf

◆ buffer_length

size_t BufferReader::buffer_length

Used size of buf.

Definition at line 25 of file bufferreader.c.

Referenced by bufferreader_data_length(), bufferreader_init_for_length(), and bufferreader_init_from_file().

◆ current_line

char* BufferReader::current_line

Pointer to the next line of the buffer.

Definition at line 27 of file bufferreader.c.

Referenced by bufferreader_get_line(), bufferreader_init_for_length(), and bufferreader_next_line().

◆ line_index

size_t BufferReader::line_index

The documentation for this struct was generated from the following file: