diff options
Diffstat (limited to 'src/include/tsv.h')
-rw-r--r-- | src/include/tsv.h | 16 |
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 |