1 [CCode (cheader_filename = "enchant.h")]
3 public unowned string get_version ();
5 public delegate void BrokerDescribeFn (string provider_name, string provider_desc, string provider_dll_file);
6 public delegate void DictDescribeFn (string lang_tag, string provider_name, string provider_desc, string provider_file);
9 [CCode (free_function = "enchant_broker_free")]
11 [CCode (cname = "enchant_broker_init")]
14 public unowned Dict request_dict (string tag);
15 public unowned Dict request_pwl_dict (string pwl);
16 public void free_dict (Dict dict);
17 public int dict_exists (string tag);
18 public void set_ordering (string tag, string ordering);
19 public void describe (BrokerDescribeFn fn);
20 public void list_dicts (DictDescribeFn fn);
21 public unowned string get_error ();
26 public int check (string word, long len = -1);
27 [CCode (array_length_type = "size_t")]
28 public unowned string[] suggest (string word, long len = -1);
29 public void free_string_list ([CCode (array_length = false)] string[] string_list);
30 public void add_to_session (string word, long len = -1);
31 public int is_in_session (string word, long len = -1);
32 public void store_replacement ( string mis, long mis_len, string cor, long cor_len);
33 public void add_to_pwl ( string word, long len = -1);
34 public void describe (DictDescribeFn fn);
35 public unowned string get_error ();