diff options
Diffstat (limited to 'strv.h')
-rw-r--r-- | strv.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/strv.h b/strv.h new file mode 100644 index 0000000..553a39c --- /dev/null +++ b/strv.h @@ -0,0 +1,13 @@ +#ifndef STRV_H +#define STRV_H + +#include <stddef.h> + +typedef struct { + const char *s; + size_t n; +} strv_t; + +strv_t strv_head(strv_t ss, int chr, size_t *i); + +#endif |