[go: up one dir, main page]

Menu

[r1]: / engine / textfile.h  Maximize  Restore  History

Download this file

30 lines (23 with data), 433 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#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