summaryrefslogtreecommitdiff
path: root/anthy/textdict.h
blob: 6d79bee1bee5fcfb00a90f845ac3557da57ba99c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _textdict_h_included_
#define _textdict_h_included_

struct textdict;

struct textdict *anthy_textdict_open(const char *fn, int create);
void anthy_textdict_close(struct textdict *td);
/**/
void anthy_textdict_scan(struct textdict *td, int offset, void *ptr,
			 int (*fn)(void *, int, const char *, const char *));
int anthy_textdict_insert_line(struct textdict *td,
			       int offset, const char *line);
int anthy_textdict_delete_line(struct textdict *td, int offset);

#endif