blob: d4c7b939913e6301744f60de469a0f6dda2682a7 (
plain)
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
30
31
32
|
#ifndef CSV_H
#define CSV_H
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "def.h"
typedef struct csvlist_str
{
char *path;
char *top_p;
long size;
char **list;
int lnum;
} csvlist_t;
BEGIN_C
csvlist_t *csvlist_open (const char *);
void csvlist_close (csvlist_t *);
int csvlist_search_keyword (csvlist_t *, int, const char *);
char * csvlist_get_word (csvlist_t *, int);
int csvlist_get_max (csvlist_t *);
END_C
#endif /* CSV_H */
|