summaryrefslogtreecommitdiff
path: root/ext/xmlwriter
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-01-01 19:21:48 +0000
committerIlia Alshanetsky <iliaa@php.net>2007-01-01 19:21:48 +0000
commit5787b56554b5155262e3d9cfcc9123259a551f6e (patch)
tree5ef4232906754f7996711b8128d97820d32bf16a /ext/xmlwriter
parent4223aa4d5e0f643c2f78f509a32a0ada4eddce91 (diff)
downloadphp-git-5787b56554b5155262e3d9cfcc9123259a551f6e.tar.gz
Added missing entity functions (MFH from HEAD)
Fixed php_xmlwriter_streams_IO_close() docs
Diffstat (limited to 'ext/xmlwriter')
-rw-r--r--ext/xmlwriter/php_xmlwriter.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c
index 18d36ee80c..627307d1ef 100644
--- a/ext/xmlwriter/php_xmlwriter.c
+++ b/ext/xmlwriter/php_xmlwriter.c
@@ -72,6 +72,9 @@ static PHP_FUNCTION(xmlwriter_write_dtd_element);
static PHP_FUNCTION(xmlwriter_start_dtd_attlist);
static PHP_FUNCTION(xmlwriter_end_dtd_attlist);
static PHP_FUNCTION(xmlwriter_write_dtd_attlist);
+static PHP_FUNCTION(xmlwriter_start_dtd_entity);
+static PHP_FUNCTION(xmlwriter_end_dtd_entity);
+static PHP_FUNCTION(xmlwriter_write_dtd_entity);
#endif
static PHP_FUNCTION(xmlwriter_open_uri);
static PHP_FUNCTION(xmlwriter_open_memory);
@@ -215,6 +218,9 @@ static zend_function_entry xmlwriter_functions[] = {
PHP_FE(xmlwriter_start_dtd_attlist, NULL)
PHP_FE(xmlwriter_end_dtd_attlist, NULL)
PHP_FE(xmlwriter_write_dtd_attlist, NULL)
+ PHP_FE(xmlwriter_start_dtd_entity, NULL)
+ PHP_FE(xmlwriter_end_dtd_entity, NULL)
+ PHP_FE(xmlwriter_write_dtd_entity, NULL)
#endif
PHP_FE(xmlwriter_output_memory, NULL)
PHP_FE(xmlwriter_flush, NULL)
@@ -269,6 +275,9 @@ static zend_function_entry xmlwriter_class_functions[] = {
PHP_ME_MAPPING(startDtdAttlist, xmlwriter_start_dtd_attlist, NULL, 0)
PHP_ME_MAPPING(endDtdAttlist, xmlwriter_end_dtd_attlist, NULL, 0)
PHP_ME_MAPPING(writeDtdAttlist, xmlwriter_write_dtd_attlist, NULL, 0)
+ PHP_ME_MAPPING(startDtdEntity, xmlwriter_start_dtd_entity, NULL, 0)
+ PHP_ME_MAPPING(endDtdEntity, xmlwriter_end_dtd_entity, NULL, 0)
+ PHP_ME_MAPPING(writeDtdEntity, xmlwriter_write_dtd_entity, NULL, 0)
#endif
PHP_ME_MAPPING(outputMemory, xmlwriter_output_memory, NULL, 0)
PHP_ME_MAPPING(flush, xmlwriter_flush, NULL, 0)
@@ -357,7 +366,7 @@ static int php_xmlwriter_streams_IO_write(void *context, const char *buffer, int
}
/* }}} */
-/* {{{ xmlwriter_objects_clone */
+/* {{{ php_xmlwriter_streams_IO_close */
static int php_xmlwriter_streams_IO_close(void *context)
{
TSRMLS_FETCH();