aboutsummaryrefslogtreecommitdiff
path: root/sb.h
diff options
context:
space:
mode:
Diffstat (limited to 'sb.h')
-rw-r--r--sb.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sb.h b/sb.h
new file mode 100644
index 0000000..e3785fd
--- /dev/null
+++ b/sb.h
@@ -0,0 +1,11 @@
+#ifndef _SB_INCLUDE
+#define _SB_INCLUDE
+
+typedef struct node node;
+node* newsb(size_t cap);
+node* extendsb(node* tail);
+node* appendsb(node* tail, const char* str);
+char* tostr(node* head);
+int lensb(node* head);
+
+#endif