CVS update: php3/functions
| From: | rasmus | Date: | Sat, 14 Nov 1998 00:55:58 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2394@lists.php.net to get a copy of this message | ||
Date: Friday November 13, 1998 @ 19:55
Author: rasmus
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv6569/functions
Modified Files:
apache.c
Log Message:
More prototype comments
Index: php3/functions/apache.c
diff -c php3/functions/apache.c:1.41 php3/functions/apache.c:1.42
*** php3/functions/apache.c:1.41 Fri Sep 4 09:31:45 1998
--- php3/functions/apache.c Fri Nov 13 19:55:57 1998
***************
*** 29,35 ****
+----------------------------------------------------------------------+
*/
! /* $Id: apache.c,v 1.41 1998/09/04 13:31:45 rasmus Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 29,35 ----
+----------------------------------------------------------------------+
*/
! /* $Id: apache.c,v 1.42 1998/11/14 00:55:57 rasmus Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 70,76 ****
"Apache", apache_functions, NULL, NULL, NULL, NULL, php3_info_apache,
STANDARD_MODULE_PROPERTIES
};
!
void php3_apache_note(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_name,*arg_val;
--- 70,77 ----
"Apache", apache_functions, NULL, NULL, NULL, NULL, php3_info_apache,
STANDARD_MODULE_PROPERTIES
};
! /* {{{ proto string apache_note(string note_name [, string note_value])
! Get and set Apache request notes */
void php3_apache_note(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_name,*arg_val;
***************
*** 96,102 ****
} else {
RETURN_FALSE;
}
! }
void php3_info_apache(void) {
module *modp = NULL;
--- 97,103 ----
} else {
RETURN_FALSE;
}
! } /* }}} */
void php3_info_apache(void) {
module *modp = NULL;
***************
*** 146,152 ****
PUTS("<br></td?</tr>\n");
}
! /* This function is equivilent to <!--#include virtual...-->
* in mod_include. It does an Apache sub-request. It is useful
* for including CGI scripts or .shtml files, or anything else
* that you'd parse through Apache (for .phtml files, you'd probably
--- 147,153 ----
PUTS("<br></td?</tr>\n");
}
! /* This function is equivalent to <!--#include virtual...-->
* in mod_include. It does an Apache sub-request. It is useful
* for including CGI scripts or .shtml files, or anything else
* that you'd parse through Apache (for .phtml files, you'd probably
***************
*** 154,159 ****
--- 155,162 ----
* as an Apache module, since it uses the Apache API for doing
* sub requests.
*/
+ /* {{{ proto int virtual(string filename)
+ Perform an Apache sub-request */
void php3_virtual(INTERNAL_FUNCTION_PARAMETERS)
{
pval *filename;
***************
*** 197,205 ****
if (rr) destroy_sub_req (rr);
RETURN_TRUE;
}
! }
!
void php3_getallheaders(INTERNAL_FUNCTION_PARAMETERS)
{
array_header *env_arr;
--- 200,209 ----
if (rr) destroy_sub_req (rr);
RETURN_TRUE;
}
! } /* }}} */
! /* {{{ proto array getallheaders(void)
! Fetch all HTTP request headers */
void php3_getallheaders(INTERNAL_FUNCTION_PARAMETERS)
{
array_header *env_arr;
***************
*** 221,228 ****
RETURN_FALSE;
}
}
! }
void php3_apache_lookup_uri(INTERNAL_FUNCTION_PARAMETERS)
{
pval *filename;
--- 225,234 ----
RETURN_FALSE;
}
}
! } /* }}} */
+ /* {{{ 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)
{
pval *filename;
***************
*** 290,296 ****
}
destroy_sub_req(rr);
! }
#if 0
This function is most likely a bad idea. Just playing with it for now.
--- 296,302 ----
}
destroy_sub_req(rr);
! } /* }}} */
#if 0
This function is most likely a bad idea. Just playing with it for now.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net