File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / com_dotnet / php_com_dotnet.h
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 01:31:38 2013 UTC (11 years ago) by misho
Branches: php, MAIN
CVS tags: v5_4_29p0, v5_4_20p0, v5_4_20, v5_4_17, HEAD
5.4.17

    1: /*
    2:    +----------------------------------------------------------------------+
    3:    | PHP Version 5                                                        |
    4:    +----------------------------------------------------------------------+
    5:    | Copyright (c) 1997-2013 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,v 1.1.1.3 2013/07/22 01:31:38 misho Exp $ */
   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: #ifdef PHP_WIN32
   32: # define PHP_COM_DOTNET_API __declspec(dllexport)
   33: #elif defined(__GNUC__) && __GNUC__ >= 4
   34: # define PHP_COM_DOTNET_API __attribute__ ((visibility("default")))
   35: #else
   36: # define PHP_COM_DOTNET_API
   37: #endif
   38: 
   39: PHP_MINIT_FUNCTION(com_dotnet);
   40: PHP_MSHUTDOWN_FUNCTION(com_dotnet);
   41: PHP_RINIT_FUNCTION(com_dotnet);
   42: PHP_RSHUTDOWN_FUNCTION(com_dotnet);
   43: PHP_MINFO_FUNCTION(com_dotnet);
   44: 
   45: ZEND_BEGIN_MODULE_GLOBALS(com_dotnet)
   46: 	zend_bool allow_dcom;
   47: 	zend_bool autoreg_verbose;
   48: 	zend_bool autoreg_on;
   49: 	zend_bool autoreg_case_sensitive;
   50: 	void *dotnet_runtime_stuff; /* opaque to avoid cluttering up other modules */
   51: 	int code_page; /* default code_page if left unspecified */
   52: 	zend_bool rshutdown_started;
   53: ZEND_END_MODULE_GLOBALS(com_dotnet)
   54: 
   55: #ifdef ZTS
   56: # define COMG(v) TSRMG(com_dotnet_globals_id, zend_com_dotnet_globals *, v)
   57: #else
   58: # define COMG(v) (com_dotnet_globals.v)
   59: #endif
   60: 
   61: extern ZEND_DECLARE_MODULE_GLOBALS(com_dotnet);
   62: 
   63: #endif	/* PHP_COM_DOTNET_H */
   64: 
   65: /*
   66:  * Local variables:
   67:  * tab-width: 4
   68:  * c-basic-offset: 4
   69:  * End:
   70:  * vim600: noet sw=4 ts=4 fdm=marker
   71:  * vim<600: noet sw=4 ts=4
   72:  */

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