aboutsummaryrefslogtreecommitdiff
path: root/src/include/tsv.h
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2024-12-28 16:47:43 -0800
committerPreston Pan <ret2pop@gmail.com>2024-12-28 16:47:43 -0800
commit1fd608288ee47c2c560817f12f14b21069fed2f6 (patch)
treee6460b92dba5bb0d089c8c2a4e794e3504098359 /src/include/tsv.h
parent63f11aaec8d21844a07fd27003a992c102a3a297 (diff)
makefile and directory structure change completely to build client and server
Diffstat (limited to 'src/include/tsv.h')
-rw-r--r--src/include/tsv.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/tsv.h b/src/include/tsv.h
new file mode 100644
index 0000000..57bb70a
--- /dev/null
+++ b/src/include/tsv.h
@@ -0,0 +1,16 @@
+#ifndef TSV_H
+#define TSV_H
+
+#include "better_string.h"
+
+typedef struct {
+ char *source;
+ unsigned int i;
+ char c;
+} tsv_t;
+
+tsv_t *init_tsv(char *source);
+
+string_t *tsv_next(tsv_t *tsv);
+
+#endif