StringBuffer Struct Reference


Data Fields

char * buf
size_t pos
size_t size

Detailed Description

Definition at line 32 of file stringbuffer.c.


Field Documentation

char* buf

The string buffer. The first pos bytes contain the collected string. It's size is at least size bytes.

Definition at line 37 of file stringbuffer.c.

size_t pos

The current length of buf. The invariant pos < size always holds; this means there is always enough room to attach a trailing character.

Definition at line 44 of file stringbuffer.c.

size_t size

The allocation size of buf.

Definition at line 49 of file stringbuffer.c.


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

Generated on Thu Mar 25 23:28:27 2010 for Crossfire Server, Branch 1.12 by  doxygen 1.5.8