Back to index

php5  5.3.10
mod_php5.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: Rasmus Lerdorf <rasmus@php.net>                              |
00016    +----------------------------------------------------------------------+
00017  */
00018 /* $Id: mod_php5.h 321634 2012-01-01 13:15:04Z felipe $ */
00019 
00020 #ifndef MOD_PHP5_H
00021 #define MOD_PHP5_H
00022 
00023 #if !defined(WIN32) && !defined(WINNT)
00024 #ifndef MODULE_VAR_EXPORT
00025 #define MODULE_VAR_EXPORT
00026 #endif
00027 #endif
00028 
00029 typedef struct {
00030        long engine;
00031        long last_modified;
00032        long xbithack;
00033        long terminate_child;
00034        zend_bool in_request;
00035 } php_apache_info_struct;
00036 
00037 extern zend_module_entry apache_module_entry;
00038 
00039 #ifdef ZTS
00040 extern int php_apache_info_id;
00041 #define AP(v) TSRMG(php_apache_info_id, php_apache_info_struct *, v)
00042 #else
00043 extern php_apache_info_struct php_apache_info;
00044 #define AP(v) (php_apache_info.v)
00045 #endif
00046 
00047 /* fix for gcc4 visibility patch */
00048 #ifndef PHP_WIN32
00049 # undef MODULE_VAR_EXPORT
00050 # define MODULE_VAR_EXPORT PHPAPI
00051 #endif
00052 
00053 #endif                                           /* MOD_PHP5_H */
00054 
00055 /*
00056  * Local variables:
00057  * tab-width: 4
00058  * c-basic-offset: 4
00059  * End:
00060  */