diff options
Diffstat (limited to 'src/strbuf.h')
-rw-r--r-- | src/strbuf.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/strbuf.h b/src/strbuf.h new file mode 100644 index 00000000..6ad582a3 --- /dev/null +++ b/src/strbuf.h @@ -0,0 +1,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 |