Go to the source code of this file.
Functions | |
int | dstring_init (dstring *s, size_t init_size) |
Initialize a dynamic string. | |
void | dstring_free (dstring *s) |
Free all memory allocated for a dynamic string. | |
int | dstring_add (dstring *s, char *buff, size_t nb_elem) |
Add characters into a given dynamic string. | |
char * | dstring_get_data (dstring *s, size_t *size) |
Return the content of a dynamic string. |
Definition in file dstring.c.
|
Add characters into a given dynamic string.
Definition at line 61 of file dstring.c. References s_dstring::data, s_dstring::nb_car, and s_dstring::size. Referenced by replace_tags(). |
|
Free all memory allocated for a dynamic string.
Definition at line 40 of file dstring.c. References s_dstring::data, s_dstring::nb_car, and s_dstring::size. Referenced by replace_tags(). |
|
Return the content of a dynamic string.
Definition at line 98 of file dstring.c. References s_dstring::data, and s_dstring::nb_car. Referenced by replace_tags(). |
|
Initialize a dynamic string.
Definition at line 21 of file dstring.c. References s_dstring::data, s_dstring::nb_car, and s_dstring::size. Referenced by replace_tags(). |