summaryrefslogtreecommitdiffstats
path: root/src/strbuf.h
blob: ab0c6a7450388b5c3036d43575946680711cb5f8 (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, ...) __attribute__ ((format (printf, 2, 3)));;
void pa_strbuf_puts(struct pa_strbuf *sb, const char *t);

#endif