summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/php_apache.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-03-07 13:45:33 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-03-07 13:45:33 +0000
commit97418f59bdcea39dc2d2c2d50d37c7144b508db4 (patch)
treefccbcbced71a0a997987ce0dbeafdb2d5ac59518 /sapi/apache2handler/php_apache.h
parentba18cd1a45bd969340e39a2676a1d92bc8fde17e (diff)
downloadphp-git-97418f59bdcea39dc2d2c2d50d37c7144b508db4.tar.gz
CS Fixes.
Fixed a bug with 404 handling. Added more detailed Apache info for phpinfo(). Added the support for last_modified.
Diffstat (limited to 'sapi/apache2handler/php_apache.h')
-rw-r--r--sapi/apache2handler/php_apache.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/sapi/apache2handler/php_apache.h b/sapi/apache2handler/php_apache.h
index edd76e6fa3..febbe4fa0d 100644
--- a/sapi/apache2handler/php_apache.h
+++ b/sapi/apache2handler/php_apache.h
@@ -63,4 +63,21 @@ extern const command_rec php_dir_cmds[];
#define APR_ARRAY_FOREACH_CLOSE() }}
+typedef struct {
+ long engine;
+ long xbithack;
+ long last_modified;
+} php_apache2_info_struct;
+
+extern zend_module_entry apache2_module_entry;
+
+#ifdef ZTS
+extern int php_apache2_info_id;
+#define AP2(v) TSRMG(php_apache2_info_id, php_apache2_info_struct *, v)
+#else
+extern php_apache2_info_struct php_apache2_info;
+#define AP2(v) (php_apache2_info.v)
+#endif
+
+
#endif /* PHP_APACHE_H */