Annotation of embedaddon/php/ext/enchant/php_enchant.h, revision 1.1.1.3

1.1       misho       1: /*
                      2:   +----------------------------------------------------------------------+
                      3:   | PHP Version 4                                                        |
                      4:   +----------------------------------------------------------------------+
1.1.1.3 ! misho       5:   | Copyright (c) 1997-2013 The PHP Group                                |
1.1       misho       6:   +----------------------------------------------------------------------+
                      7:   | This source file is subject to version 3.0 of the PHP license,       |
                      8:   | that is bundled with this package in the file LICENSE, and is        |
                      9:   | available at through the world-wide-web at                           |
                     10:   | http://www.php.net/license/3_0.txt.                                  |
                     11:   | If you did not receive a copy of the PHP license and are unable to   |
                     12:   | obtain it through the world-wide-web, please send a note to          |
                     13:   | license@php.net so we can mail you a copy immediately.               |
                     14:   +----------------------------------------------------------------------+
                     15:   | Author: Pierre-Alain Joye <paj@pearfr.org>                           |
                     16:   +----------------------------------------------------------------------+
                     17: 
1.1.1.2   misho      18:   $Id$
1.1       misho      19: */
                     20: 
                     21: #ifndef PHP_ENCHANT_H
                     22: #define PHP_ENCHANT_H
                     23: 
                     24: extern zend_module_entry enchant_module_entry;
                     25: #define phpext_enchant_ptr &enchant_module_entry
                     26: 
                     27: #define PHP_ENCHANT_VERSION "1.1.0"
                     28: 
                     29: #ifdef PHP_WIN32
                     30: #define PHP_ENCHANT_API __declspec(dllexport)
                     31: #else
                     32: #define PHP_ENCHANT_API
                     33: #endif
                     34: 
                     35: #ifdef ZTS
                     36: #include "TSRM.h"
                     37: #endif
                     38: 
                     39: PHP_MINIT_FUNCTION(enchant);
                     40: PHP_MSHUTDOWN_FUNCTION(enchant);
                     41: PHP_MINFO_FUNCTION(enchant);
                     42: 
                     43: PHP_FUNCTION(enchant_broker_init);
                     44: PHP_FUNCTION(enchant_broker_free);
                     45: PHP_FUNCTION(enchant_broker_get_error);
                     46: PHP_FUNCTION(enchant_broker_set_dict_path);
                     47: PHP_FUNCTION(enchant_broker_get_dict_path);
                     48: PHP_FUNCTION(enchant_broker_list_dicts);
                     49: PHP_FUNCTION(enchant_broker_request_dict);
                     50: PHP_FUNCTION(enchant_broker_request_pwl_dict);
                     51: PHP_FUNCTION(enchant_broker_free_dict);
                     52: PHP_FUNCTION(enchant_broker_dict_exists);
                     53: PHP_FUNCTION(enchant_broker_set_ordering);
                     54: PHP_FUNCTION(enchant_broker_describe);
                     55: 
                     56: PHP_FUNCTION(enchant_dict_check);
                     57: PHP_FUNCTION(enchant_dict_suggest);
                     58: PHP_FUNCTION(enchant_dict_add_to_personal);
                     59: PHP_FUNCTION(enchant_dict_add_to_session);
                     60: PHP_FUNCTION(enchant_dict_is_in_session);
                     61: PHP_FUNCTION(enchant_dict_store_replacement);
                     62: PHP_FUNCTION(enchant_dict_get_error);
                     63: PHP_FUNCTION(enchant_dict_describe);
                     64: PHP_FUNCTION(enchant_dict_quick_check);
                     65: 
                     66: #ifdef ZTS
                     67: #define ENCHANT_G(v) TSRMG(enchant_globals_id, zend_enchant_globals *, v)
                     68: #else
                     69: #define ENCHANT_G(v) (enchant_globals.v)
                     70: #endif
                     71: 
                     72: #endif /* PHP_ENCHANT_H */
                     73: 
                     74: 
                     75: /*
                     76:  * Local variables:
                     77:  * tab-width: 4
                     78:  * c-basic-offset: 4
                     79:  * indent-tabs-mode: t
                     80:  * End:
                     81:  */
                     82: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>