Code indentation.
[midnight-commander.git] / src / editor / spell.h
blob393f1985b914e84b209d86c83a2bf68be4dcfe0b
1 #ifndef MC__EDIT_ASPELL_H
2 #define MC__EDIT_ASPELL_H
4 #include "lib/global.h" /* include <glib.h> */
6 /*** typedefs(not structures) and defined constants **********************************************/
8 /*** enums ***************************************************************************************/
10 /*** structures declarations (and typedefs of structures)*****************************************/
12 /*** global variables defined in .c file *********************************************************/
14 /*** declarations of public functions ************************************************************/
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);
26 /*** inline functions ****************************************************************************/
28 #endif /* MC__EDIT_ASPELL_H */