aboutsummaryrefslogtreecommitdiff
path: root/sb.h
diff options
context:
space:
mode:
Diffstat (limited to 'sb.h')
-rw-r--r--sb.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sb.h b/sb.h
new file mode 100644
index 0000000..4ab78b7
--- /dev/null
+++ b/sb.h
@@ -0,0 +1,13 @@
+#ifndef __SB_H__
+#define __SB_H__
+
+typedef struct sb sb;
+typedef struct sbnode sbnode;
+
+sb* newsb(size_t sz);
+
+void insstr(sb* buf, char* str);
+
+char* decompose(sb* buf);
+
+#endif