diff options
author | Eduardo Chappa <echappa@gmx.com> | 2013-02-03 00:59:38 -0700 |
---|---|---|
committer | Eduardo Chappa <echappa@gmx.com> | 2013-02-03 00:59:38 -0700 |
commit | 094ca96844842928810f14844413109fc6cdd890 (patch) | |
tree | e60efbb980f38ba9308ccb4fb2b77b87bbc115f3 /pico/osdep/mswin_aspell.h | |
download | alpine-094ca96844842928810f14844413109fc6cdd890.tar.xz |
Initial Alpine Version
Diffstat (limited to 'pico/osdep/mswin_aspell.h')
-rw-r--r-- | pico/osdep/mswin_aspell.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pico/osdep/mswin_aspell.h b/pico/osdep/mswin_aspell.h new file mode 100644 index 00000000..623890ad --- /dev/null +++ b/pico/osdep/mswin_aspell.h @@ -0,0 +1,30 @@ +/*
+ * ========================================================================
+ * FILE: MSWIN_ASPELL.H
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * ========================================================================
+ */
+
+typedef struct ASPELLINFO ASPELLINFO;
+
+ASPELLINFO *speller_init(char *lang);
+void speller_close(ASPELLINFO *aspellinfo);
+
+const char *speller_get_error_message(ASPELLINFO *aspellinfo);
+
+int speller_check_word(ASPELLINFO *aspellinfo, const char *word, int word_size);
+int speller_add_to_dictionary(ASPELLINFO *aspellinfo, const char *word, int word_size);
+int speller_ignore_all(ASPELLINFO *aspellinfo, const char *word, int word_size);
+int speller_replace_word(ASPELLINFO *aspellinfo, const char * mis, int mis_size,
+ const char * cor, int cor_size);
+
+int speller_suggestion_init(ASPELLINFO *aspellinfo, const char *word, int word_size);
+const char *speller_suggestion_getnext(ASPELLINFO *aspellinfo);
+void speller_suggestion_close(ASPELLINFO *aspellinfo);
+
|