Add support for tab-completion when selecting by rule
[alpine.git] / pico / osdep / mswin_aspell.h
blob623890ad1d997f5d3ddb390bbd8793cb34963a6a
1 /*
2 * ========================================================================
3 * FILE: MSWIN_ASPELL.H
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * ========================================================================
14 typedef struct ASPELLINFO ASPELLINFO;
16 ASPELLINFO *speller_init(char *lang);
17 void speller_close(ASPELLINFO *aspellinfo);
19 const char *speller_get_error_message(ASPELLINFO *aspellinfo);
21 int speller_check_word(ASPELLINFO *aspellinfo, const char *word, int word_size);
22 int speller_add_to_dictionary(ASPELLINFO *aspellinfo, const char *word, int word_size);
23 int speller_ignore_all(ASPELLINFO *aspellinfo, const char *word, int word_size);
24 int speller_replace_word(ASPELLINFO *aspellinfo, const char * mis, int mis_size,
25 const char * cor, int cor_size);
27 int speller_suggestion_init(ASPELLINFO *aspellinfo, const char *word, int word_size);
28 const char *speller_suggestion_getnext(ASPELLINFO *aspellinfo);
29 void speller_suggestion_close(ASPELLINFO *aspellinfo);