summaryrefslogtreecommitdiff
path: root/sapi/apache2filter
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2001-12-05 23:01:21 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2001-12-05 23:01:21 +0000
commit2c93a6ac2d785ee19ef740560cf803a242a38804 (patch)
treef00d8b0d137eddff30e6225adf19ac52e3bea8d6 /sapi/apache2filter
parent6a42e63deeeabe5afa9636998e9ac61861fc5105 (diff)
downloadphp-git-2c93a6ac2d785ee19ef740560cf803a242a38804.tar.gz
proto fixes
Diffstat (limited to 'sapi/apache2filter')
-rw-r--r--sapi/apache2filter/php_functions.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sapi/apache2filter/php_functions.c b/sapi/apache2filter/php_functions.c
index e03675c732..1cf72bff01 100644
--- a/sapi/apache2filter/php_functions.c
+++ b/sapi/apache2filter/php_functions.c
@@ -48,6 +48,8 @@ static request_rec *php_apache_lookup_uri(INTERNAL_FUNCTION_PARAMETERS)
return ap_sub_req_lookup_uri(Z_STRVAL_PP(p1), ctx->f->r, NULL);
}
+/* {{{ proto bool apache_sub_req(string uri)
+ Perform an apache sub-request */
PHP_FUNCTION(apache_sub_req)
{
request_rec *rr;
@@ -104,6 +106,8 @@ PHP_FUNCTION(apache_lookup_uri)
RETURN_FALSE;
}
+/* {{{ proto array get_all_headers(void)
+ Fetch all HTTP request headers */
PHP_FUNCTION(get_all_headers)
{
php_struct *ctx;
@@ -122,6 +126,7 @@ PHP_FUNCTION(get_all_headers)
add_assoc_string(return_value, key, val, 1);
APR_ARRAY_FOREACH_CLOSE()
}
+/* }}} */
PHP_MINFO_FUNCTION(apache)
{