stralloc_t Struct Reference
[Dynamic string allocator]

#include <stralloc.h>


Detailed Description

dynamic string allocator tracking data

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


Field Documentation

char* stralloc_t::s

pointer to dynamic string

Definition at line 70 of file stralloc.h.

Referenced by argv_to_str(), stralloc_cat(), stralloc_catb(), stralloc_cmp(), stralloc_copy(), stralloc_copyb(), stralloc_free(), stralloc_init(), stralloc_ready(), stralloc_readyplus(), and whirlpool_digest().

size_t stralloc_t::len

current length of s

Definition at line 71 of file stralloc.h.

Referenced by argv_to_str(), stralloc_cat(), stralloc_catb(), stralloc_cmp(), stralloc_copy(), stralloc_copyb(), stralloc_init(), stralloc_readyplus(), stralloc_zero(), and whirlpool_digest().

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


The documentation for this struct was generated from the following file:
Generated on Sun Dec 3 17:46:16 2006 for lucid by  doxygen 1.5.1