Annotation of embedaddon/php/ext/com_dotnet/php_com_dotnet.h, revision 1.1.1.1

1.1       misho       1: /*
                      2:    +----------------------------------------------------------------------+
                      3:    | PHP Version 5                                                        |
                      4:    +----------------------------------------------------------------------+
                      5:    | Copyright (c) 1997-2012 The PHP Group                                |
                      6:    +----------------------------------------------------------------------+
                      7:    | This source file is subject to version 3.01 of the PHP license,      |
                      8:    | that is bundled with this package in the file LICENSE, and is        |
                      9:    | available through the world-wide-web at the following url:           |
                     10:    | http://www.php.net/license/3_01.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: Wez Furlong <wez@thebrainroom.com>                           |
                     16:    +----------------------------------------------------------------------+
                     17:  */
                     18: 
                     19: /* $Id: php_com_dotnet.h 321634 2012-01-01 13:15:04Z felipe $ */
                     20: 
                     21: #ifndef PHP_COM_DOTNET_H
                     22: #define PHP_COM_DOTNET_H
                     23: 
                     24: extern zend_module_entry com_dotnet_module_entry;
                     25: #define phpext_com_dotnet_ptr &com_dotnet_module_entry
                     26: 
                     27: #ifdef ZTS
                     28: #include "TSRM.h"
                     29: #endif
                     30: 
                     31: PHP_MINIT_FUNCTION(com_dotnet);
                     32: PHP_MSHUTDOWN_FUNCTION(com_dotnet);
                     33: PHP_RINIT_FUNCTION(com_dotnet);
                     34: PHP_RSHUTDOWN_FUNCTION(com_dotnet);
                     35: PHP_MINFO_FUNCTION(com_dotnet);
                     36: 
                     37: ZEND_BEGIN_MODULE_GLOBALS(com_dotnet)
                     38:        zend_bool allow_dcom;
                     39:        zend_bool autoreg_verbose;
                     40:        zend_bool autoreg_on;
                     41:        zend_bool autoreg_case_sensitive;
                     42:        void *dotnet_runtime_stuff; /* opaque to avoid cluttering up other modules */
                     43:        int code_page; /* default code_page if left unspecified */
                     44:        zend_bool rshutdown_started;
                     45: ZEND_END_MODULE_GLOBALS(com_dotnet)
                     46: 
                     47: #ifdef ZTS
                     48: # define COMG(v) TSRMG(com_dotnet_globals_id, zend_com_dotnet_globals *, v)
                     49: #else
                     50: # define COMG(v) (com_dotnet_globals.v)
                     51: #endif
                     52: 
                     53: extern ZEND_DECLARE_MODULE_GLOBALS(com_dotnet);
                     54: 
                     55: #endif /* PHP_COM_DOTNET_H */
                     56: 
                     57: /*
                     58:  * Local variables:
                     59:  * tab-width: 4
                     60:  * c-basic-offset: 4
                     61:  * End:
                     62:  * vim600: noet sw=4 ts=4 fdm=marker
                     63:  * vim<600: noet sw=4 ts=4
                     64:  */

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