⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aspell.h

📁 SpellChecker平写检测程序原代码,希望大家喜欢,他非常好用
💻 H
📖 第 1 页 / 共 3 页
字号:

typedef struct AspellDictInfoEnumeration AspellDictInfoEnumeration;


typedef int (__cdecl * PFUNC_aspell_dict_info_enumeration_at_end)(const struct AspellDictInfoEnumeration * ths);

typedef const struct AspellDictInfo * (__cdecl * PFUNC_aspell_dict_info_enumeration_next)(struct AspellDictInfoEnumeration * ths);

typedef void (__cdecl * PFUNC_delete_aspell_dict_info_enumeration)(struct AspellDictInfoEnumeration * ths);

typedef struct AspellDictInfoEnumeration * (__cdecl * PFUNC_aspell_dict_info_enumeration_clone)(const struct AspellDictInfoEnumeration * ths);

typedef void (__cdecl * PFUNC_aspell_dict_info_enumeration_assign)(struct AspellDictInfoEnumeration * ths, const struct AspellDictInfoEnumeration * other);



/***************************** string list *****************************/


typedef struct AspellStringList AspellStringList;


typedef struct AspellStringList * (__cdecl * PFUNC_new_aspell_string_list)();

typedef int (__cdecl * PFUNC_aspell_string_list_empty)(const struct AspellStringList * ths);

typedef unsigned int (__cdecl * PFUNC_aspell_string_list_size)(const struct AspellStringList * ths);

typedef struct AspellStringEnumeration * (__cdecl * PFUNC_aspell_string_list_elements)(const struct AspellStringList * ths);

typedef int (__cdecl * PFUNC_aspell_string_list_add)(struct AspellStringList * ths, const char * to_add);

typedef int (__cdecl * PFUNC_aspell_string_list_remove)(struct AspellStringList * ths, const char * to_rem);

typedef void (__cdecl * PFUNC_aspell_string_list_clear)(struct AspellStringList * ths);

typedef struct AspellMutableContainer * (__cdecl * PFUNC_aspell_string_list_to_mutable_container)(struct AspellStringList * ths);

typedef void (__cdecl * PFUNC_delete_aspell_string_list)(struct AspellStringList * ths);

typedef struct AspellStringList * (__cdecl * PFUNC_aspell_string_list_clone)(const struct AspellStringList * ths);

typedef void (__cdecl * PFUNC_aspell_string_list_assign)(struct AspellStringList * ths, const struct AspellStringList * other);



/****************************** string map ******************************/


typedef struct AspellStringMap AspellStringMap;


typedef struct AspellStringMap * (__cdecl * PFUNC_new_aspell_string_map)();

typedef int (__cdecl * PFUNC_aspell_string_map_add)(struct AspellStringMap * ths, const char * to_add);

typedef int (__cdecl * PFUNC_aspell_string_map_remove)(struct AspellStringMap * ths, const char * to_rem);

typedef void (__cdecl * PFUNC_aspell_string_map_clear)(struct AspellStringMap * ths);

typedef struct AspellMutableContainer * (__cdecl * PFUNC_aspell_string_map_to_mutable_container)(struct AspellStringMap * ths);

typedef void (__cdecl * PFUNC_delete_aspell_string_map)(struct AspellStringMap * ths);

typedef struct AspellStringMap * (__cdecl * PFUNC_aspell_string_map_clone)(const struct AspellStringMap * ths);

typedef void (__cdecl * PFUNC_aspell_string_map_assign)(struct AspellStringMap * ths, const struct AspellStringMap * other);

typedef int (__cdecl * PFUNC_aspell_string_map_empty)(const struct AspellStringMap * ths);

typedef unsigned int (__cdecl * PFUNC_aspell_string_map_size)(const struct AspellStringMap * ths);

typedef struct AspellStringPairEnumeration * (__cdecl * PFUNC_aspell_string_map_elements)(const struct AspellStringMap * ths);

/* Insert a new element.
 * Will NOT overright an existing entry.
 * Returns false if the element already exists. */
typedef int (__cdecl * PFUNC_aspell_string_map_insert)(struct AspellStringMap * ths, const char * key, const char * value);

/* Insert a new element.
 * Will overright an existing entry.
 * Always returns true. */
typedef int (__cdecl * PFUNC_aspell_string_map_replace)(struct AspellStringMap * ths, const char * key, const char * value);

/* Looks up an element.
 * Returns null if the element did not exist.
 * Returns an empty string if the element exists but has a null value.
 * Otherwises returns the value */
typedef const char * (__cdecl * PFUNC_aspell_string_map_lookup)(const struct AspellStringMap * ths, const char * key);



/***************************** string pair *****************************/


struct AspellStringPair {

  const char * first;

  const char * second;

};


typedef struct AspellStringPair AspellStringPair;


/*********************** string pair enumeration ***********************/


typedef struct AspellStringPairEnumeration AspellStringPairEnumeration;


typedef int (__cdecl * PFUNC_aspell_string_pair_enumeration_at_end)(const struct AspellStringPairEnumeration * ths);

typedef struct AspellStringPair (__cdecl * PFUNC_aspell_string_pair_enumeration_next)(struct AspellStringPairEnumeration * ths);

typedef void (__cdecl * PFUNC_delete_aspell_string_pair_enumeration)(struct AspellStringPairEnumeration * ths);

typedef struct AspellStringPairEnumeration * (__cdecl * PFUNC_aspell_string_pair_enumeration_clone)(const struct AspellStringPairEnumeration * ths);

typedef void (__cdecl * PFUNC_aspell_string_pair_enumeration_assign)(struct AspellStringPairEnumeration * ths, const struct AspellStringPairEnumeration * other);



#ifdef __cplusplus
}
#endif


extern PFUNC_aspell_mutable_container_add                  aspell_mutable_container_add;
extern PFUNC_aspell_mutable_container_remove               aspell_mutable_container_remove;
extern PFUNC_aspell_mutable_container_clear                aspell_mutable_container_clear;
extern PFUNC_aspell_mutable_container_to_mutable_container aspell_mutable_container_to_mutable_container;
extern PFUNC_aspell_key_info_enumeration_at_end            aspell_key_info_enumeration_at_end;
extern PFUNC_aspell_key_info_enumeration_next              aspell_key_info_enumeration_next;
extern PFUNC_delete_aspell_key_info_enumeration            delete_aspell_key_info_enumeration;
extern PFUNC_aspell_key_info_enumeration_clone             aspell_key_info_enumeration_clone;
extern PFUNC_aspell_key_info_enumeration_assign            aspell_key_info_enumeration_assign;
extern PFUNC_new_aspell_config                             new_aspell_config;
extern PFUNC_delete_aspell_config                          delete_aspell_config;
extern PFUNC_aspell_config_clone                           aspell_config_clone;
extern PFUNC_aspell_config_assign                          aspell_config_assign;
extern PFUNC_aspell_config_error_number                    aspell_config_error_number;
extern PFUNC_aspell_config_error_message                   aspell_config_error_message;
extern PFUNC_aspell_config_error                           aspell_config_error;
extern PFUNC_aspell_config_set_extra                       aspell_config_set_extra;
extern PFUNC_aspell_config_keyinfo                         aspell_config_keyinfo;
extern PFUNC_aspell_config_possible_elements               aspell_config_possible_elements;
extern PFUNC_aspell_config_get_default                     aspell_config_get_default;
extern PFUNC_aspell_config_elements                        aspell_config_elements;
extern PFUNC_aspell_config_replace                         aspell_config_replace;
extern PFUNC_aspell_config_remove                          aspell_config_remove;
extern PFUNC_aspell_config_have                            aspell_config_have;
extern PFUNC_aspell_config_retrieve                        aspell_config_retrieve;
extern PFUNC_aspell_config_retrieve_list                   aspell_config_retrieve_list;
extern PFUNC_aspell_config_retrieve_bool                   aspell_config_retrieve_bool;
extern PFUNC_aspell_config_retrieve_int                    aspell_config_retrieve_int;
extern PFUNC_aspell_error_number                           aspell_error_number;
extern PFUNC_aspell_error_message                          aspell_error_message;
extern PFUNC_aspell_error                                  aspell_error;
extern PFUNC_delete_aspell_can_have_error                  delete_aspell_can_have_error;
extern PFUNC_new_aspell_speller                            new_aspell_speller;
extern PFUNC_to_aspell_speller                             to_aspell_speller;
extern PFUNC_delete_aspell_speller                         delete_aspell_speller;
extern PFUNC_aspell_speller_error_number                   aspell_speller_error_number;
extern PFUNC_aspell_speller_error_message                  aspell_speller_error_message;
extern PFUNC_aspell_speller_error                          aspell_speller_error;
extern PFUNC_aspell_speller_config                         aspell_speller_config;
extern PFUNC_aspell_speller_check                          aspell_speller_check;
extern PFUNC_aspell_speller_add_to_personal                aspell_speller_add_to_personal;
extern PFUNC_aspell_speller_add_to_session                 aspell_speller_add_to_session;
extern PFUNC_aspell_speller_personal_word_list             aspell_speller_personal_word_list;
extern PFUNC_aspell_speller_session_word_list              aspell_speller_session_word_list;
extern PFUNC_aspell_speller_main_word_list                 aspell_speller_main_word_list;
extern PFUNC_aspell_speller_save_all_word_lists            aspell_speller_save_all_word_lists;
extern PFUNC_aspell_speller_clear_session                  aspell_speller_clear_session;
extern PFUNC_aspell_speller_suggest                        aspell_speller_suggest;
extern PFUNC_aspell_speller_store_replacement              aspell_speller_store_replacement;
extern PFUNC_delete_aspell_filter                          delete_aspell_filter;
extern PFUNC_aspell_filter_error_number                    aspell_filter_error_number;
extern PFUNC_aspell_filter_error_message                   aspell_filter_error_message;
extern PFUNC_aspell_filter_error                           aspell_filter_error;
extern PFUNC_to_aspell_filter                              to_aspell_filter;
extern PFUNC_delete_aspell_document_checker                delete_aspell_document_checker;
extern PFUNC_aspell_document_checker_error_number          aspell_document_checker_error_number;
extern PFUNC_aspell_document_checker_error_message         aspell_document_checker_error_message;
extern PFUNC_aspell_document_checker_error                 aspell_document_checker_error;
extern PFUNC_new_aspell_document_checker                   new_aspell_document_checker;
extern PFUNC_to_aspell_document_checker                    to_aspell_document_checker;
extern PFUNC_aspell_document_checker_reset                 aspell_document_checker_reset;
extern PFUNC_aspell_document_checker_process               aspell_document_checker_process;
extern PFUNC_aspell_document_checker_next_misspelling      aspell_document_checker_next_misspelling;
extern PFUNC_aspell_document_checker_filter                aspell_document_checker_filter;
extern PFUNC_aspell_word_list_empty                        aspell_word_list_empty;
extern PFUNC_aspell_word_list_size                         aspell_word_list_size;
extern PFUNC_aspell_word_list_elements                     aspell_word_list_elements;
extern PFUNC_delete_aspell_string_enumeration              delete_aspell_string_enumeration;
extern PFUNC_aspell_string_enumeration_clone               aspell_string_enumeration_clone;
extern PFUNC_aspell_string_enumeration_assign              aspell_string_enumeration_assign;
extern PFUNC_aspell_string_enumeration_at_end              aspell_string_enumeration_at_end;
extern PFUNC_aspell_string_enumeration_next                aspell_string_enumeration_next;
extern PFUNC_get_aspell_module_info_list                   get_aspell_module_info_list;
extern PFUNC_aspell_module_info_list_empty                 aspell_module_info_list_empty;
extern PFUNC_aspell_module_info_list_size                  aspell_module_info_list_size;
extern PFUNC_aspell_module_info_list_elements              aspell_module_info_list_elements;
extern PFUNC_get_aspell_dict_info_list                     get_aspell_dict_info_list;
extern PFUNC_aspell_dict_info_list_empty                   aspell_dict_info_list_empty;
extern PFUNC_aspell_dict_info_list_size                    aspell_dict_info_list_size;
extern PFUNC_aspell_dict_info_list_elements                aspell_dict_info_list_elements;
extern PFUNC_aspell_module_info_enumeration_at_end         aspell_module_info_enumeration_at_end;
extern PFUNC_aspell_module_info_enumeration_next           aspell_module_info_enumeration_next;
extern PFUNC_delete_aspell_module_info_enumeration         delete_aspell_module_info_enumeration;
extern PFUNC_aspell_module_info_enumeration_clone          aspell_module_info_enumeration_clone;
extern PFUNC_aspell_module_info_enumeration_assign         aspell_module_info_enumeration_assign;
extern PFUNC_aspell_dict_info_enumeration_at_end           aspell_dict_info_enumeration_at_end;
extern PFUNC_aspell_dict_info_enumeration_next             aspell_dict_info_enumeration_next;
extern PFUNC_delete_aspell_dict_info_enumeration           delete_aspell_dict_info_enumeration;
extern PFUNC_aspell_dict_info_enumeration_clone            aspell_dict_info_enumeration_clone;
extern PFUNC_aspell_dict_info_enumeration_assign           aspell_dict_info_enumeration_assign;
extern PFUNC_new_aspell_string_list                        new_aspell_string_list;
extern PFUNC_aspell_string_list_empty                      aspell_string_list_empty;
extern PFUNC_aspell_string_list_size                       aspell_string_list_size;
extern PFUNC_aspell_string_list_elements                   aspell_string_list_elements;
extern PFUNC_aspell_string_list_add                        aspell_string_list_add;
extern PFUNC_aspell_string_list_remove                     aspell_string_list_remove;
extern PFUNC_aspell_string_list_clear                      aspell_string_list_clear;
extern PFUNC_aspell_string_list_to_mutable_container       aspell_string_list_to_mutable_container;
extern PFUNC_delete_aspell_string_list                     delete_aspell_string_list;
extern PFUNC_aspell_string_list_clone                      aspell_string_list_clone;
extern PFUNC_aspell_string_list_assign                     aspell_string_list_assign;
extern PFUNC_new_aspell_string_map                         new_aspell_string_map;
extern PFUNC_aspell_string_map_add                         aspell_string_map_add;
extern PFUNC_aspell_string_map_remove                      aspell_string_map_remove;
extern PFUNC_aspell_string_map_clear                       aspell_string_map_clear;
extern PFUNC_aspell_string_map_to_mutable_container        aspell_string_map_to_mutable_container;
extern PFUNC_delete_aspell_string_map                      delete_aspell_string_map;
extern PFUNC_aspell_string_map_clone                       aspell_string_map_clone;
extern PFUNC_aspell_string_map_assign                      aspell_string_map_assign;
extern PFUNC_aspell_string_map_empty                       aspell_string_map_empty;
extern PFUNC_aspell_string_map_size                        aspell_string_map_size;
extern PFUNC_aspell_string_map_elements                    aspell_string_map_elements;
extern PFUNC_aspell_string_map_insert                      aspell_string_map_insert;
extern PFUNC_aspell_string_map_replace                     aspell_string_map_replace;
extern PFUNC_aspell_string_map_lookup                      aspell_string_map_lookup;
extern PFUNC_aspell_string_pair_enumeration_at_end         aspell_string_pair_enumeration_at_end;
extern PFUNC_aspell_string_pair_enumeration_next           aspell_string_pair_enumeration_next;
extern PFUNC_delete_aspell_string_pair_enumeration         delete_aspell_string_pair_enumeration;
extern PFUNC_aspell_string_pair_enumeration_clone          aspell_string_pair_enumeration_clone;
extern PFUNC_aspell_string_pair_enumeration_assign         aspell_string_pair_enumeration_assign;
                                               


#endif /* ASPELL_ASPELL__H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -