summaryrefslogtreecommitdiff
path: root/main/php_output.h
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2000-08-25 03:10:42 +0000
committerStig Bakken <ssb@php.net>2000-08-25 03:10:42 +0000
commit03471b21ee419e00bdcafe1f3c9d7da254539a16 (patch)
tree6a22f5f36262268e6b507eb8d0c964968b3d72b8 /main/php_output.h
parent6cbdaf985fb9e06e493ca740f886a92663aaac57 (diff)
downloadphp-git-03471b21ee419e00bdcafe1f3c9d7da254539a16.tar.gz
@Added ob_get_length function (Stig)
Added ob_get_length() function (returns size of buffer)
Diffstat (limited to 'main/php_output.h')
-rw-r--r--main/php_output.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php_output.h b/main/php_output.h
index 966d6dbe35..cb43c8cb7f 100644
--- a/main/php_output.h
+++ b/main/php_output.h
@@ -30,6 +30,7 @@ PHPAPI void php_start_ob_buffer(void);
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);
+PHPAPI int php_ob_get_length(pval *p);
PHPAPI void php_start_implicit_flush(void);
PHPAPI void php_end_implicit_flush(void);
PHPAPI char *php_get_output_start_filename(void);
@@ -39,6 +40,7 @@ PHP_FUNCTION(ob_start);
PHP_FUNCTION(ob_end_flush);
PHP_FUNCTION(ob_end_clean);
PHP_FUNCTION(ob_get_contents);
+PHP_FUNCTION(ob_get_length);
PHP_FUNCTION(ob_implicit_flush);
PHP_GINIT_FUNCTION(output);