summaryrefslogtreecommitdiff
path: root/ext/apache/apache.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-05-21 10:06:25 +0000
committerSascha Schumann <sas@php.net>1999-05-21 10:06:25 +0000
commitb57dc275950b228f2399990471c4f22b7d154c6c (patch)
treea89fe99e356b218591b0b0b392862e0b9ddd4e7e /ext/apache/apache.c
parent4fe8fe715e4347a4063a57e1a9fd6dc013ca9ee0 (diff)
downloadphp-git-b57dc275950b228f2399990471c4f22b7d154c6c.tar.gz
- run ext sources through conv_proto
- add necessary phpext_*_ptr
Diffstat (limited to 'ext/apache/apache.c')
-rw-r--r--ext/apache/apache.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/apache/apache.c b/ext/apache/apache.c
index 8a1b29bd2c..8e81f49b75 100644
--- a/ext/apache/apache.c
+++ b/ext/apache/apache.c
@@ -52,12 +52,12 @@
extern module *top_module;
-void php3_virtual(INTERNAL_FUNCTION_PARAMETERS);
-void php3_getallheaders(INTERNAL_FUNCTION_PARAMETERS);
-void php3_apachelog(INTERNAL_FUNCTION_PARAMETERS);
+PHP_FUNCTION(virtual);
+PHP_FUNCTION(getallheaders);
+PHP_FUNCTION(apachelog);
void php3_info_apache(ZEND_MODULE_INFO_FUNC_ARGS);
-void php3_apache_note(INTERNAL_FUNCTION_PARAMETERS);
-void php3_apache_lookup_uri(INTERNAL_FUNCTION_PARAMETERS);
+PHP_FUNCTION(apache_note);
+PHP_FUNCTION(apache_lookup_uri);
function_entry apache_functions[] = {
{"virtual", php3_virtual, NULL},
@@ -127,7 +127,7 @@ php3_module_entry apache_module_entry = {
/* {{{ proto string apache_note(string note_name [, string note_value])
Get and set Apache request notes */
-void php3_apache_note(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(apache_note)
{
pval *arg_name,*arg_val;
char *note_val;
@@ -228,7 +228,7 @@ void php3_info_apache(ZEND_MODULE_INFO_FUNC_ARGS)
*/
/* {{{ proto int virtual(string filename)
Perform an Apache sub-request */
-void php3_virtual(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(virtual)
{
pval *filename;
request_rec *rr = NULL;
@@ -273,7 +273,7 @@ void php3_virtual(INTERNAL_FUNCTION_PARAMETERS)
/* {{{ proto array getallheaders(void)
Fetch all HTTP request headers */
-void php3_getallheaders(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(getallheaders)
{
array_header *env_arr;
table_entry *tenv;
@@ -300,7 +300,7 @@ void php3_getallheaders(INTERNAL_FUNCTION_PARAMETERS)
/* {{{ proto class apache_lookup_uri(string URI)
Perform a partial request of the given URI to obtain information about it */
-void php3_apache_lookup_uri(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(apache_lookup_uri)
{
pval *filename;
request_rec *rr=NULL;
@@ -374,7 +374,7 @@ void php3_apache_lookup_uri(INTERNAL_FUNCTION_PARAMETERS)
#if 0
This function is most likely a bad idea. Just playing with it for now.
-void php3_apache_exec_uri(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(apache_exec_uri)
{
pval *filename;
request_rec *rr=NULL;