]> granicus.if.org Git - php/commitdiff
Added missing entity functions (MFH from HEAD)
authorIlia Alshanetsky <iliaa@php.net>
Mon, 1 Jan 2007 19:21:48 +0000 (19:21 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 1 Jan 2007 19:21:48 +0000 (19:21 +0000)
Fixed php_xmlwriter_streams_IO_close() docs

ext/xmlwriter/php_xmlwriter.c

index 18d36ee80c6c25fe088809231e56604a5877a896..627307d1ef914e66ce2647176c930fda20250540 100644 (file)
@@ -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();