69
67
DynBuf_Trim(DynBuf *b); // IN
72
DynBuf_GetSize(DynBuf const *b); // IN
75
DynBuf_SetSize(DynBuf *b, // IN
79
DynBuf_GetAllocatedSize(DynBuf const *b); // IN
82
70
DynBuf_Copy(DynBuf *src, // IN
83
71
DynBuf *dest); // OUT
75
*-----------------------------------------------------------------------------
79
* Retrieve a pointer to the data contained in a dynamic buffer --hpreg
82
* The pointer to the data
87
*-----------------------------------------------------------------------------
91
DynBuf_Get(DynBuf const *b) // IN
100
*-----------------------------------------------------------------------------
104
* Returns the current size of the dynamic buffer --hpreg
107
* The current size of the dynamic buffer
112
*-----------------------------------------------------------------------------
116
DynBuf_GetSize(DynBuf const *b) // IN
125
*-----------------------------------------------------------------------------
129
* Set the current size of a dynamic buffer --hpreg
137
*-----------------------------------------------------------------------------
141
DynBuf_SetSize(DynBuf *b, // IN
145
ASSERT(size <= b->allocated);
152
*-----------------------------------------------------------------------------
154
* DynBuf_GetAllocatedSize --
156
* Returns the current allocated size of the dynamic buffer --hpreg
159
* The current allocated size of the dynamic buffer
164
*-----------------------------------------------------------------------------
168
DynBuf_GetAllocatedSize(DynBuf const *b) // IN
87
177
*----------------------------------------------------------------------------
89
179
* DynBuf_AppendString --