summaryrefslogtreecommitdiff
path: root/sapi/apache_hooks/php_apache_http.h
diff options
context:
space:
mode:
authorGeorge Schlossnagle <gschlossnagle@php.net>2002-11-18 01:01:21 +0000
committerGeorge Schlossnagle <gschlossnagle@php.net>2002-11-18 01:01:21 +0000
commit824fdad6c11173937c08b0dbff7ad6afc2ac3e05 (patch)
treeee1286b71a39f5386f20ac46ef8075c8d9cfc70d /sapi/apache_hooks/php_apache_http.h
parent99c7ddc3a8f9ecf1a3968f6e59dc9d95106bb0c7 (diff)
downloadphp-git-824fdad6c11173937c08b0dbff7ad6afc2ac3e05.tar.gz
initial import of all these files. This was previously the apache_hooks
branch of the apache sapi. Now it lives on its own. General functionality seems to be working, though there may be a problem with some output buffering, most likely due to the way that sapi_deactivate needs to be mangled with here.
Diffstat (limited to 'sapi/apache_hooks/php_apache_http.h')
-rw-r--r--sapi/apache_hooks/php_apache_http.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/sapi/apache_hooks/php_apache_http.h b/sapi/apache_hooks/php_apache_http.h
new file mode 100644
index 0000000000..d2c63e43b7
--- /dev/null
+++ b/sapi/apache_hooks/php_apache_http.h
@@ -0,0 +1,43 @@
+#define NO_REGEX_EXTRA_H
+
+#ifdef WIN32
+#include <winsock2.h>
+#include <stddef.h>
+#endif
+
+#ifdef NETWARE
+#include <netinet/in.h>
+#endif
+
+#include "zend.h"
+#include "zend_stack.h"
+#include "php_regex.h"
+
+#include "httpd.h"
+#include "http_config.h"
+
+#if MODULE_MAGIC_NUMBER > 19980712
+# include "ap_compat.h"
+#else
+# if MODULE_MAGIC_NUMBER > 19980324
+# include "compat.h"
+# endif
+#endif
+
+#include "http_core.h"
+#include "http_main.h"
+#include "http_protocol.h"
+#include "http_request.h"
+#include "http_log.h"
+#include "util_script.h"
+
+#include "php_variables.h"
+#include "php_main.h"
+#include "php_ini.h"
+#include "ext/standard/php_standard.h"
+
+#include "mod_php4.h"
+
+
+PHPAPI zval *php_apache_request_new(request_rec *r);
+