common/strbuf.c: attach function.
This commit is contained in:
parent
3abbb2b63e
commit
9fbe9cfc23
2 changed files with 12 additions and 0 deletions
|
|
@ -33,6 +33,8 @@ char* strbuf_release(strbuf_t *s);
|
|||
|
||||
void strbuf_free(strbuf_t *s);
|
||||
|
||||
void strbuf_attach(strbuf_t *s, void *str, size_t len, size_t alloc_size);
|
||||
|
||||
void strbuf_append(strbuf_t *s, const void *ptr, size_t len);
|
||||
|
||||
void strbuf_append_str(strbuf_t *s, const char *str);
|
||||
|
|
|
|||
Reference in a new issue