Back to index

php5  5.3.10
php_com_dotnet.h
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | Copyright (c) 1997-2012 The PHP Group                                |
00006    +----------------------------------------------------------------------+
00007    | This source file is subject to version 3.01 of the PHP license,      |
00008    | that is bundled with this package in the file LICENSE, and is        |
00009    | available through the world-wide-web at the following url:           |
00010    | http://www.php.net/license/3_01.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: Wez Furlong <wez@thebrainroom.com>                           |
00016    +----------------------------------------------------------------------+
00017  */
00018 
00019 /* $Id: php_com_dotnet.h 321634 2012-01-01 13:15:04Z felipe $ */
00020 
00021 #ifndef PHP_COM_DOTNET_H
00022 #define PHP_COM_DOTNET_H
00023 
00024 extern zend_module_entry com_dotnet_module_entry;
00025 #define phpext_com_dotnet_ptr &com_dotnet_module_entry
00026 
00027 #ifdef ZTS
00028 #include "TSRM.h"
00029 #endif
00030 
00031 PHP_MINIT_FUNCTION(com_dotnet);
00032 PHP_MSHUTDOWN_FUNCTION(com_dotnet);
00033 PHP_RINIT_FUNCTION(com_dotnet);
00034 PHP_RSHUTDOWN_FUNCTION(com_dotnet);
00035 PHP_MINFO_FUNCTION(com_dotnet);
00036 
00037 ZEND_BEGIN_MODULE_GLOBALS(com_dotnet)
00038        zend_bool allow_dcom;
00039        zend_bool autoreg_verbose;
00040        zend_bool autoreg_on;
00041        zend_bool autoreg_case_sensitive;
00042        void *dotnet_runtime_stuff; /* opaque to avoid cluttering up other modules */
00043        int code_page; /* default code_page if left unspecified */
00044        zend_bool rshutdown_started;
00045 ZEND_END_MODULE_GLOBALS(com_dotnet)
00046 
00047 #ifdef ZTS
00048 # define COMG(v) TSRMG(com_dotnet_globals_id, zend_com_dotnet_globals *, v)
00049 #else
00050 # define COMG(v) (com_dotnet_globals.v)
00051 #endif
00052 
00053 extern ZEND_DECLARE_MODULE_GLOBALS(com_dotnet);
00054 
00055 #endif /* PHP_COM_DOTNET_H */
00056 
00057 /*
00058  * Local variables:
00059  * tab-width: 4
00060  * c-basic-offset: 4
00061  * End:
00062  * vim600: noet sw=4 ts=4 fdm=marker
00063  * vim<600: noet sw=4 ts=4
00064  */