str.h revision d56384d5226c8860079d0d0b08b83404e8c42986
ee2633056e67353157bfbce4d9e0d1c3ceaa627aStephan Boschstring_t *str_new(pool_t pool, size_t initial_size);
3fcb3d2d1f3583025ff62bae95ec706920f398b1Stephan Boschconst unsigned char *str_data(const string_t *str);
2f64a4c88de91c483fb378bc80d10e1caa6f2305Stephan Boschvoid str_append(string_t *str, const char *cstr);
2f64a4c88de91c483fb378bc80d10e1caa6f2305Stephan Boschvoid str_append_n(string_t *str, const void *cstr, size_t max_len);
2f64a4c88de91c483fb378bc80d10e1caa6f2305Stephan Boschvoid str_append_str(string_t *dest, const string_t *src);
2f64a4c88de91c483fb378bc80d10e1caa6f2305Stephan Bosch/* Append printf()-like data */
2f64a4c88de91c483fb378bc80d10e1caa6f2305Stephan Boschvoid str_printfa(string_t *str, const char *fmt, ...)
2f64a4c88de91c483fb378bc80d10e1caa6f2305Stephan Boschvoid str_vprintfa(string_t *str, const char *fmt, va_list args);