1 [CCode (cname_prefix = "enchant_", cheader_filename = "enchant.h")]
3 public delegate void BrokerDescribeFn (string provider_name, string provider_desc, string provider_dll_file);
4 public delegate void DictDescribeFn (string lang_tag, string provider_name, string provider_desc, string provider_file);
7 [CCode (free_function = "enchant_broker_free")]
9 [CCode (cname = "enchant_broker_init")]
12 public weak Dict request_dict (string tag);
13 public weak Dict request_pwl_dict (string pwl);
14 public void free_dict (Dict dict);
15 public int dict_exists (string tag);
16 public void set_ordering (string tag, string ordering);
17 public void describe (BrokerDescribeFn fn);
18 public void list_dicts (DictDescribeFn fn);
19 public weak string get_error ();
24 public int check (string word, long len = -1);
25 public weak string[] suggest (string word, long len = -1);
26 public void free_string_list ([CCode (array_length = false)] string[] string_list);
27 public void add_to_session (string word, long len = -1);
28 public int is_in_session (string word, long len = -1);
29 public void store_replacement ( string mis, long mis_len, string cor, long cor_len);
30 public void add_to_pwl ( string word, long len = -1);
31 public void describe (DictDescribeFn fn);
32 public weak string get_error ();