summaryrefslogtreecommitdiff
path: root/main/php_output.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-02-27 00:09:14 +0000
committerZeev Suraski <zeev@php.net>2001-02-27 00:09:14 +0000
commitb8787bf2d8f592c8fe3d5579706b51bb489438ee (patch)
tree595305e200a76d822fa2e48156d815b025d3b63b /main/php_output.h
parent95b3347d8be3b08718be3561ad52ef8c829fc591 (diff)
downloadphp-git-b8787bf2d8f592c8fe3d5579706b51bb489438ee.tar.gz
Fix chunked output buffering support
Diffstat (limited to 'main/php_output.h')
-rw-r--r--main/php_output.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/php_output.h b/main/php_output.h
index e863c9bec1..d18736796a 100644
--- a/main/php_output.h
+++ b/main/php_output.h
@@ -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 {