From 9743860d35c17da9b36c104c16cb06122d6cf6f6 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 4 May 2002 18:33:13 +0000 Subject: simplify handling of variables by maintaining two strings which are simply appended instead of traversing the hash table on each URL/form. also fix an unconditional segfault in rshutdown due to efree'ing a static char *. remove remove_var, add reset_vars. move the function declarations into the right header file. --- main/php_output.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main/php_output.h') diff --git a/main/php_output.h b/main/php_output.h index f1a8069ce1..48f9bde31d 100644 --- a/main/php_output.h +++ b/main/php_output.h @@ -94,5 +94,8 @@ ZEND_API extern php_output_globals output_globals; #define PHP_OUTPUT_HANDLER_INTERNAL 0 #define PHP_OUTPUT_HANDLER_USER 1 +PHP_FUNCTION(output_add_rewrite_var); +PHP_FUNCTION(output_reset_rewrite_vars); + #endif /* PHP_OUTPUT_H */ -- cgit v1.2.1