php-src/sapi/apache/mod_php5.h

61 lines
1.9 KiB
C
Raw Normal View History

1999-04-07 21:05:13 +00:00
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
1999-04-07 21:05:13 +00:00
+----------------------------------------------------------------------+
2015-01-15 15:26:37 +00:00
| Copyright (c) 1997-2015 The PHP Group |
1999-04-07 21:05:13 +00:00
+----------------------------------------------------------------------+
2006-01-01 12:51:34 +00:00
| This source file is subject to version 3.01 of the PHP license, |
1999-07-16 13:13:16 +00:00
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
2006-01-01 12:51:34 +00:00
| http://www.php.net/license/3_01.txt |
1999-07-16 13:13:16 +00:00
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
1999-04-07 21:05:13 +00:00
+----------------------------------------------------------------------+
2002-02-28 08:29:35 +00:00
| Author: Rasmus Lerdorf <rasmus@php.net> |
1999-04-07 21:05:13 +00:00
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef MOD_PHP5_H
#define MOD_PHP5_H
1999-04-07 21:05:13 +00:00
#if !defined(WIN32) && !defined(WINNT)
#ifndef MODULE_VAR_EXPORT
#define MODULE_VAR_EXPORT
#endif
#endif
typedef struct {
2001-08-31 22:03:24 +00:00
long engine;
long last_modified;
1999-04-10 16:25:23 +00:00
long xbithack;
long terminate_child;
zend_bool in_request;
1999-04-10 17:39:08 +00:00
} php_apache_info_struct;
2000-02-08 18:03:19 +00:00
extern zend_module_entry apache_module_entry;
#ifdef ZTS
extern int php_apache_info_id;
2001-09-17 12:22:35 +00:00
#define AP(v) TSRMG(php_apache_info_id, php_apache_info_struct *, v)
#else
1999-04-10 17:39:08 +00:00
extern php_apache_info_struct php_apache_info;
#define AP(v) (php_apache_info.v)
#endif
/* fix for gcc4 visibility patch */
#ifndef PHP_WIN32
# undef MODULE_VAR_EXPORT
# define MODULE_VAR_EXPORT PHPAPI
#endif
#endif /* MOD_PHP5_H */
1999-04-07 21:05:13 +00:00
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
*/