blob: 0f05324b61e94c998e9d18cd25d37f2790f2ff23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*
* 汎用の設定ファイルパーザ
*/
#ifndef _ruleparser_h_included_
#define _ruleparser_h_included_
/*
* ファイル名が'/'で始まっていれば絶対パス
* ファイル名が'./'で始まっていればカレントディレクトリ
* ファイル名がNULLならば標準入力
* そうでなければ、ANTHYDIR中のファイルを開ける
*/
int anthy_open_file(const char *fn);/* returns 0 on success */
void anthy_close_file(void);
int anthy_read_line(char ***tokens, int *nr);/* returns 0 on success */
int anthy_get_line_number(void);
void anthy_free_line(void);
#endif
|