Back to index

php5  5.3.10
php_enchant.h
Go to the documentation of this file.
00001 /*
00002   +----------------------------------------------------------------------+
00003   | PHP Version 4                                                        |
00004   +----------------------------------------------------------------------+
00005   | Copyright (c) 1997-2012 The PHP Group                                |
00006   +----------------------------------------------------------------------+
00007   | This source file is subject to version 3.0 of the PHP license,       |
00008   | that is bundled with this package in the file LICENSE, and is        |
00009   | available at through the world-wide-web at                           |
00010   | http://www.php.net/license/3_0.txt.                                  |
00011   | If you did not receive a copy of the PHP license and are unable to   |
00012   | obtain it through the world-wide-web, please send a note to          |
00013   | license@php.net so we can mail you a copy immediately.               |
00014   +----------------------------------------------------------------------+
00015   | Author: Pierre-Alain Joye <paj@pearfr.org>                           |
00016   +----------------------------------------------------------------------+
00017 
00018   $Id: php_enchant.h 321634 2012-01-01 13:15:04Z felipe $
00019 */
00020 
00021 #ifndef PHP_ENCHANT_H
00022 #define PHP_ENCHANT_H
00023 
00024 extern zend_module_entry enchant_module_entry;
00025 #define phpext_enchant_ptr &enchant_module_entry
00026 
00027 #define PHP_ENCHANT_VERSION "1.1.0"
00028 
00029 #ifdef PHP_WIN32
00030 #define PHP_ENCHANT_API __declspec(dllexport)
00031 #else
00032 #define PHP_ENCHANT_API
00033 #endif
00034 
00035 #ifdef ZTS
00036 #include "TSRM.h"
00037 #endif
00038 
00039 PHP_MINIT_FUNCTION(enchant);
00040 PHP_MSHUTDOWN_FUNCTION(enchant);
00041 PHP_MINFO_FUNCTION(enchant);
00042 
00043 PHP_FUNCTION(enchant_broker_init);
00044 PHP_FUNCTION(enchant_broker_free);
00045 PHP_FUNCTION(enchant_broker_get_error);
00046 PHP_FUNCTION(enchant_broker_set_dict_path);
00047 PHP_FUNCTION(enchant_broker_get_dict_path);
00048 PHP_FUNCTION(enchant_broker_list_dicts);
00049 PHP_FUNCTION(enchant_broker_request_dict);
00050 PHP_FUNCTION(enchant_broker_request_pwl_dict);
00051 PHP_FUNCTION(enchant_broker_free_dict);
00052 PHP_FUNCTION(enchant_broker_dict_exists);
00053 PHP_FUNCTION(enchant_broker_set_ordering);
00054 PHP_FUNCTION(enchant_broker_describe);
00055 
00056 PHP_FUNCTION(enchant_dict_check);
00057 PHP_FUNCTION(enchant_dict_suggest);
00058 PHP_FUNCTION(enchant_dict_add_to_personal);
00059 PHP_FUNCTION(enchant_dict_add_to_session);
00060 PHP_FUNCTION(enchant_dict_is_in_session);
00061 PHP_FUNCTION(enchant_dict_store_replacement);
00062 PHP_FUNCTION(enchant_dict_get_error);
00063 PHP_FUNCTION(enchant_dict_describe);
00064 PHP_FUNCTION(enchant_dict_quick_check);
00065 
00066 #ifdef ZTS
00067 #define ENCHANT_G(v) TSRMG(enchant_globals_id, zend_enchant_globals *, v)
00068 #else
00069 #define ENCHANT_G(v) (enchant_globals.v)
00070 #endif
00071 
00072 #endif /* PHP_ENCHANT_H */
00073 
00074 
00075 /*
00076  * Local variables:
00077  * tab-width: 4
00078  * c-basic-offset: 4
00079  * indent-tabs-mode: t
00080  * End:
00081  */
00082