summaryrefslogtreecommitdiffstats
path: root/src/strbuf.h
blob: bb972044769236f9ab628329b5a6d3d21ad210c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef foostrbufhfoo
#define foostrbufhfoo

struct pa_strbuf;

struct pa_strbuf *pa_strbuf_new(void);
void pa_strbuf_free(struct pa_strbuf *sb);
char *pa_strbuf_tostring(struct pa_strbuf *sb);
char *pa_strbuf_tostring_free(struct pa_strbuf *sb);

int pa_strbuf_printf(struct pa_strbuf *sb, const char *format, ...);
void pa_strbuf_puts(struct pa_strbuf *sb, const char *t);

#endif