From 1fd608288ee47c2c560817f12f14b21069fed2f6 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sat, 28 Dec 2024 16:47:43 -0800 Subject: makefile and directory structure change completely to build client and server --- src/include/tsv.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/include/tsv.h (limited to 'src/include/tsv.h') 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 -- cgit