summaryrefslogtreecommitdiff
path: root/ext/xmlwriter/php_xmlwriter.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2005-02-24 15:08:37 (GMT)
committerPierre Joye <pajoye@php.net>2005-02-24 15:08:37 (GMT)
commit19c1535ae5ef3410ddc4460f503a534450201213 (patch)
tree7221bb5afb404025def4fd965af2fa3e213d225d /ext/xmlwriter/php_xmlwriter.h
parent8919a7ae08d09b2fb9086ce51d222237ee16075e (diff)
downloadphp-19c1535ae5ef3410ddc4460f503a534450201213.tar.gz
- revert previous commit, use libxml version to enable or not a function
(safer) - add xmlwriter_flush, flush the buffer, works with both file and mem buffer, BC kept - use ifdef for the function implementation (Rob, Pierre)
Diffstat (limited to 'ext/xmlwriter/php_xmlwriter.h')
-rw-r--r--ext/xmlwriter/php_xmlwriter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/xmlwriter/php_xmlwriter.h b/ext/xmlwriter/php_xmlwriter.h
index a38997c..e1236dd 100644
--- a/ext/xmlwriter/php_xmlwriter.h
+++ b/ext/xmlwriter/php_xmlwriter.h
@@ -81,6 +81,7 @@ PHP_FUNCTION(xmlwriter_end_dtd_element);
PHP_FUNCTION(xmlwriter_open_uri);
PHP_FUNCTION(xmlwriter_open_memory);
PHP_FUNCTION(xmlwriter_output_memory);
+PHP_FUNCTION(xmlwriter_flush);
#ifdef ZTS
#define XMLWRITER_G(v) TSRMG(xmlwriter_globals_id, zend_xmlwriter_globals *, v)