summary refs log tree commit diff
path: root/buf.h
diff options
context:
space:
mode:
authorwrmr2024-11-09 02:04:33 -0500
committerwrmr2024-11-09 02:04:33 -0500
commit38987f3f5a3919ac81ba419e05ac8610c269faff (patch)
treedc76c691f0e7d8385224ede708b9390b50b68dff /buf.h
parent12d5d0df5c4b958bbb5cc339a9e556c50136a974 (diff)
rename buf_t to str_t, and consolidate str.c/h with strv.c/h
Diffstat (limited to 'buf.h')
-rw-r--r--buf.h19
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