24 #ifndef STRING_BUFFER_INCLUDED
25 #define STRING_BUFFER_INCLUDED
void string_buffer_free_all(string_buffer *)
free string buffer structure and force string freeing
void string_buffer_append_c_string_buffer(const string_buffer, string_buffer, int)
put string buffer as a C-string definition of the string buffer, including external double-quotes.
void string_buffer_append_sb(string_buffer, const string_buffer)
append the string buffer sb2 to string buffer sb.
void string_buffer_append(string_buffer, const string)
append string s (if non empty) to string buffer sb, the duplication is done if needed according to th...
size_t string_buffer_size(const string_buffer)
return the size of the string in string_buffer sb
void string_buffer_printf(string_buffer, const string,...)
append a formatted string to sb
string string_buffer_to_string(const string_buffer)
return malloc'ed string from string buffer sb
void string_buffer_to_file(const string_buffer, FILE *)
put string buffer into file.
void string_buffer_free(string_buffer *)
free string buffer structure, also free string contents according to the dup field
void string_buffer_printf_alist(string_buffer, const string, va_list *)
formatted alist version
void string_buffer_reset(string_buffer)
remove stack contents
struct __string_buffer_head * string_buffer
minimal a la java StringBuffer...
string_buffer string_buffer_make(bool dup)
allocate a new string buffer
void string_buffer_append_list(string_buffer, const list)
append a list of string to a string buffer.
bool string_buffer_empty_p(const string_buffer)
return whether string_buffer sb is empty.
string string_buffer_to_string_reverse(const string_buffer)
return malloc'ed string from string buffer sb going from bottom to top
void string_buffer_cat(string_buffer, const string,...)
append a NULL terminated list of string to sb.
void string_buffer_append_xml_text(string_buffer, const string, bool)
append a string with XML escapes
internally defined structure.
The structure used to build lists in NewGen.