php-src/sapi/apache/mod_php4.h

63 lines
1.9 KiB
C
Raw Normal View History

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
+----------------------------------------------------------------------+
| Copyright (c) 1997, 1998, 1999, 2000 The PHP Group |
1999-04-07 21:05:13 +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 |
| 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$ */
#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;
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;
#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;
#define APLS_D
#define AP(v) (php_apache_info.v)
#define APLS_FETCH()
#endif
1999-04-07 21:05:13 +00:00
#ifdef WIN32
1999-04-07 21:05:13 +00:00
#define S_IXUSR _S_IEXEC
#endif
#endif /* MOD_PHP4_H */
1999-04-07 21:05:13 +00:00
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
*/