#ifndef __TEXTFILE__ #define __TEXTFILE__ #ifdef __cplusplus extern "C" { #endif #include "ithelib.h" struct TF_S { char *block; int size; int lines; char **line; int *linewords; char ***lineword; }; extern void TF_init(struct TF_S *s); extern void TF_load(struct TF_S *s, char *filename); extern void TF_splitwords(struct TF_S *s, char comment); extern void TF_term(struct TF_S *s); #ifdef __cplusplus } #endif #endif