1999-04-07 21:05:13 +00:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2001-12-11 15:32:16 +00:00
|
|
|
| PHP Version 4 |
|
1999-04-07 21:05:13 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2002-12-31 15:59:15 +00:00
|
|
|
| Copyright (c) 1997-2003 The PHP Group |
|
1999-04-07 21:05:13 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2003-06-10 20:04:29 +00:00
|
|
|
| This source file is subject to version 3.0 of the PHP license, |
|
1999-07-16 13:13:16 +00:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
2003-06-10 20:04:29 +00:00
|
|
|
| available through the world-wide-web at the following url: |
|
|
|
|
| http://www.php.net/license/3_0.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$ */
|
|
|
|
|
2003-03-29 04:52:46 +00:00
|
|
|
#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;
|
2000-12-13 13:19:56 +00:00
|
|
|
long terminate_child;
|
2001-05-13 09:03:46 +00:00
|
|
|
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;
|
2000-12-10 23:22:20 +00:00
|
|
|
|
|
|
|
#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)
|
2000-12-10 23:22:20 +00:00
|
|
|
#else
|
1999-04-10 17:39:08 +00:00
|
|
|
extern php_apache_info_struct php_apache_info;
|
2000-12-10 23:22:20 +00:00
|
|
|
#define AP(v) (php_apache_info.v)
|
|
|
|
#endif
|
|
|
|
|
2003-03-29 04:52:46 +00:00
|
|
|
#endif /* MOD_PHP5_H */
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Local variables:
|
|
|
|
* tab-width: 4
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* End:
|
|
|
|
*/
|