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

struct strbuf;

struct strbuf *strbuf_new(void);
void strbuf_free(struct strbuf *sb);
char *strbuf_tostring(struct strbuf *sb);

int strbuf_printf(struct strbuf *sb, const char *format, ...);
void strbuf_puts(struct strbuf *sb, const char *t);

#endif