1999-04-07 21:05:13 +00:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
1999-07-16 13:13:16 +00:00
|
|
|
| PHP version 4.0 |
|
1999-04-07 21:05:13 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2001-02-26 06:11:02 +00:00
|
|
|
| Copyright (c) 1997-2001 The PHP Group |
|
1999-04-07 21:05:13 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2000-05-18 15:34:45 +00:00
|
|
|
| This source file is subject to version 2.02 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 at through the world-wide-web at |
|
2000-05-18 15:34:45 +00:00
|
|
|
| http://www.php.net/license/2_02.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
|
|
|
+----------------------------------------------------------------------+
|
1999-05-28 03:54:15 +00:00
|
|
|
| Authors: Rasmus Lerdorf <rasmus@php.net> |
|
1999-04-07 21:05:13 +00:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
/* $Id$ */
|
|
|
|
|
2000-07-02 23:46:51 +00:00
|
|
|
#ifndef MOD_PHP4_H
|
|
|
|
#define MOD_PHP4_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 {
|
|
|
|
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;
|
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;
|
|
|
|
#define APLS_D php_apache_info_struct *apache_globals
|
|
|
|
#define AP(v) (apache_globals->v)
|
|
|
|
#define APLS_FETCH() APLS_D = ts_resource(php_apache_info_id)
|
|
|
|
#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 APLS_D
|
|
|
|
#define AP(v) (php_apache_info.v)
|
|
|
|
#define APLS_FETCH()
|
|
|
|
#endif
|
|
|
|
|
1999-04-07 21:05:13 +00:00
|
|
|
|
2000-04-30 04:15:26 +00:00
|
|
|
#ifdef WIN32
|
1999-04-07 21:05:13 +00:00
|
|
|
#define S_IXUSR _S_IEXEC
|
|
|
|
#endif
|
|
|
|
|
2000-07-02 23:46:51 +00:00
|
|
|
#endif /* MOD_PHP4_H */
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Local variables:
|
|
|
|
* tab-width: 4
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* End:
|
|
|
|
*/
|