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 | f7942c9e63e1d44279664830e8384dfdc1ebd50a (patch) | |
tree | f5d85770282abfb9ca65c2d20a43357cbd97501a /main/output.c | |
parent | 853b48dc30fd11c9875fa2dd8688fc761e26756d (diff) | |
download | php-git-f7942c9e63e1d44279664830e8384dfdc1ebd50a.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 c13014e711..b4ef9b8f6c 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 |