Fix chunked output buffering support

This commit is contained in:
Zeev Suraski 2001-02-27 00:09:14 +00:00
parent 95b3347d8b
commit b8787bf2d8
4 changed files with 30 additions and 36 deletions

View file

@ -26,7 +26,7 @@
PHPAPI void php_output_startup(void);
PHPAPI int php_body_write(const char *str, uint str_length);
PHPAPI int php_header_write(const char *str, uint str_length);
PHPAPI int php_start_ob_buffer(zval *output_handler, int chunk_size);
PHPAPI int php_start_ob_buffer(zval *output_handler, uint chunk_size);
PHPAPI void php_end_ob_buffer(int send_buffer);
PHPAPI void php_end_ob_buffers(int send_buffer);
PHPAPI int php_ob_get_buffer(pval *p);
@ -51,7 +51,7 @@ typedef struct _php_ob_buffer {
uint text_length;
int block_size;
zval *output_handler;
int chunk_size;
uint chunk_size;
} php_ob_buffer;
typedef struct _php_output_globals {