aboutsummaryrefslogtreecommitdiff
path: root/src/include/tsv.h
blob: 57bb70a4182e143778e82fb6c16ba24fc18ce0ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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