From 972631be7105a3120a405dc0d25c2dbb7179cd13 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Thu, 13 Jan 2000 17:37:25 +0000 Subject: - Added flush() support to SAPI - Got rid of the old flush() implemenetation in favour of the new one - Added implicit_flush() support to the output buffering layer. @- Added implicit_flush() to control whether flush() should be called @ implicitly after any output (Zeev) --- main/php_output.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main/php_output.h') diff --git a/main/php_output.h b/main/php_output.h index 63e692e2e2..17c8424429 100644 --- a/main/php_output.h +++ b/main/php_output.h @@ -27,6 +27,10 @@ PHPAPI int php_body_write(const char *str, uint str_length); PHPAPI int php_header_write(const char *str, uint str_length); PHPAPI void php_start_ob_buffering(void); PHPAPI void php_end_ob_buffering(int send_buffer); +PHPAPI int php_ob_get_buffer(pval *p); +PHPAPI void php_start_implicit_flush(); +PHPAPI void php_end_implicit_flush(); + extern zend_module_entry output_module_entry; #define phpext_output_ptr &output_module_entry -- cgit v1.2.1