diff options
author | Preston Pan <ret2pop@gmail.com> | 2024-12-26 21:18:05 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2024-12-26 21:18:05 -0800 |
commit | fd14f6fbf8206589d2a0ad8f0793845cb8faf1d7 (patch) | |
tree | ac3f8288b9e5e9d5e3acaf7d07694dc04157233a /include/tsv.h | |
parent | e75d6f6b8f4512a5bbfecbfa8c17f0bb687e3d55 (diff) |
stuff
Diffstat (limited to 'include/tsv.h')
-rw-r--r-- | include/tsv.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 <better_string.h> + +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 |