1 #ifndef MC__EDIT_ASPELL_H 2 #define MC__EDIT_ASPELL_H 3 4 #include "lib/global.h" /* include <glib.h> */ 5 6 /*** typedefs(not structures) and defined constants **********************************************/ 7 8 /*** enums ***************************************************************************************/ 9 10 /*** structures declarations (and typedefs of structures)*****************************************/ 11 12 /*** global variables defined in .c file *********************************************************/ 13 14 /*** declarations of public functions ************************************************************/ 15 16 void aspell_init (void); 17 void aspell_clean (void); 18 gboolean aspell_check (const char *word, const int word_size); 19 unsigned int aspell_suggest (GArray * suggest, const char *word, const int word_size); 20 void aspell_array_clean (GArray * array); 21 unsigned int aspell_get_lang_list (GArray * lang_list); 22 const char *aspell_get_lang (void); 23 gboolean aspell_set_lang (const char *lang); 24 gboolean aspell_add_to_dict (const char *word, const int word_size); 25 26 /*** inline functions ****************************************************************************/ 27 28 #endif /* MC__EDIT_ASPELL_H */