type represents an expandable memory buffer for holding
NUL-terminated strings. The
field points to the beginnning of the string, the length of which is given by the
field. The current size of memory allocated is given by the
field. It is not recommended that the fields of a buffer are manipulated directly. The
pointer may change when the buffer is modified.
A buffer is created using
ne_buffer_ncreate, and destroyed using
ne_buffer_finish. The functions
are used to append data to a buffer.
If the string referenced by the
pointer is modified directly (rather than using one of the functions listed above),
must be called.