libdacav 0.9.0
|
Buffered string implementation. More...
Go to the source code of this file.
Typedefs | |
typedef struct dstrbuf | dstrbuf_t |
Opaque type for string buffer. | |
Functions | |
dstrbuf_t * | dstrbuf_new (const char *sep, size_t len) |
Constructor that allocates a new (empty) string buffer. | |
void | dstrbuf_insert (dstrbuf_t *strbuf, const char *str, size_t len) |
Insert a string. | |
char * | dstrbuf_read (dstrbuf_t *strbuf) |
Read from buffer. | |
char * | dstrbuf_extract (dstrbuf_t *strbuf) |
Extract from buffer. | |
void | dstrbuf_free (dstrbuf_t *strbuf) |
Destructor for the string buffer. |
Buffered string implementation.