diff options
Diffstat (limited to 'buf.h')
-rw-r--r-- | buf.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/buf.h b/buf.h deleted file mode 100644 index e7fb6b7..0000000 --- a/buf.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef BUF_H -#define BUF_H - -#include <stddef.h> -#include "strv.h" - -typedef struct buf { - size_t sz, cap; - char *buf; -} buf_t; - -void buf_init(buf_t *, size_t); -void buf_grow(buf_t *, size_t); -void buf_free(buf_t *); - -void buf_cat(buf_t *b, strv_t s); -void buf_catc(buf_t *b, char c); - -#endif |