#include #include /**/ #include #include #include #include #include "diclib_inner.h" unsigned int anthy_dic_ntohl(unsigned int a) { return ntohl(a); } unsigned int anthy_dic_htonl(unsigned int a) { return htonl(a); } int anthy_init_diclib() { anthy_do_conf_init(); if (anthy_init_file_dic() == -1) { return -1; } anthy_init_xchar_tab(); anthy_init_xstr(); return 0; } void anthy_quit_diclib() { anthy_quit_allocator(); anthy_quit_xstr(); anthy_conf_free(); }