diff options
author | Dmitry Stogov <dmitry@php.net> | 2011-12-30 08:50:49 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2011-12-30 08:50:49 +0000 |
commit | 8de2aa24b65212d69bfc764a138ab3a49655e93e (patch) | |
tree | 791cff8b1205766550a4212bdbe7f69256f1a5d1 /main/output.c | |
parent | b85713cbf09b34b6d3ef4d69bb9efdcabe1dae72 (diff) | |
download | php-git-8de2aa24b65212d69bfc764a138ab3a49655e93e.tar.gz |
Added an API call to return active output handler
Diffstat (limited to 'main/output.c')
-rw-r--r-- | main/output.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/output.c b/main/output.c index b42809fcbc..ed0ea5d53b 100644 --- a/main/output.c +++ b/main/output.c @@ -1502,6 +1502,14 @@ PHP_FUNCTION(output_add_rewrite_var) } /* }}} */ +/* {{{ php_output_handler* php_get_active_output_handler(TSRMLS_D) + * Get active output handler */ +PHPAPI php_output_handler* php_get_active_output_handler(TSRMLS_D) +{ + return OG(active); +} +/* }}} */ + /* * Local variables: * tab-width: 4 |