From fd14f6fbf8206589d2a0ad8f0793845cb8faf1d7 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Thu, 26 Dec 2024 21:18:05 -0800 Subject: stuff --- include/tsv.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/tsv.h (limited to 'include/tsv.h') diff --git a/include/tsv.h b/include/tsv.h new file mode 100644 index 0000000..5f6a9f6 --- /dev/null +++ b/include/tsv.h @@ -0,0 +1,16 @@ +#ifndef TSV_H +#define TSV_H + +#include + +typedef struct { + char *source; + unsigned int i; + char c; +} tsv_t; + +tsv_t *init_tsv(char *source); + +string_t *next_tsv(tsv_t *tsv); + +#endif -- cgit