#include <stralloc.h>
This struct is used to keep track of the dynamic string state, i.e. its contents, its length and its additionaly allocated memory.
Definition at line 69 of file stralloc.h.
Data Fields | |
char * | s |
size_t | len |
size_t | a |
char* stralloc_t::s |
pointer to dynamic string
Definition at line 70 of file stralloc.h.
Referenced by stralloc_cat(), stralloc_catb(), stralloc_cmp(), stralloc_copy(), stralloc_copyb(), stralloc_finalize(), stralloc_free(), stralloc_init(), stralloc_ready(), and stralloc_readyplus().
size_t stralloc_t::len |
current length of s
Definition at line 71 of file stralloc.h.
Referenced by stralloc_cat(), stralloc_catb(), stralloc_cmp(), stralloc_copy(), stralloc_copyb(), stralloc_finalize(), stralloc_init(), stralloc_readyplus(), stralloc_zero(), and strtok_tostr().
size_t stralloc_t::a |
additional free memory in s
Definition at line 72 of file stralloc.h.
Referenced by stralloc_init(), and stralloc_ready().