diff options
Diffstat (limited to 'src-worddic/dic_personality.h')
-rw-r--r-- | src-worddic/dic_personality.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src-worddic/dic_personality.h b/src-worddic/dic_personality.h new file mode 100644 index 0000000..00d6fc1 --- /dev/null +++ b/src-worddic/dic_personality.h @@ -0,0 +1,20 @@ +/* + * 辞書側でのパーソナリティの管理 + * リファレンスカウントなどはフロントエンドがやる。 + */ +#ifndef _dic_personality_h_included_ +#define _dic_personality_h_included_ + +extern struct mem_dic *anthy_current_personal_dic_cache; +extern struct record_stat *anthy_current_record; + +/* record */ +void anthy_init_record(void); +struct record_stat *anthy_create_record(const char *id); +void anthy_release_record(struct record_stat *); + +/* dic_cache */ +struct dic_cache *anthy_create_dic_cache(const char *id); +void anthy_release_dic_cache(struct dic_cache *); + +#endif |