diff options
Diffstat (limited to 'ext/domxml/php_domxml.h')
-rw-r--r-- | ext/domxml/php_domxml.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ext/domxml/php_domxml.h b/ext/domxml/php_domxml.h index eb7bceb0e8..22432fb4f5 100644 --- a/ext/domxml/php_domxml.h +++ b/ext/domxml/php_domxml.h @@ -103,7 +103,7 @@ PHP_FUNCTION(domxml_doc_ids); PHP_FUNCTION(domxml_dump_mem); PHP_FUNCTION(domxml_dump_mem_file); PHP_FUNCTION(domxml_dump_node); - +PHP_FUNCTION(domxml_doc_validate); #if defined(LIBXML_HTML_ENABLED) PHP_FUNCTION(domxml_html_dump_mem); #endif @@ -211,9 +211,14 @@ PHP_FUNCTION(domxml_xslt_stylesheet_file); PHP_FUNCTION(domxml_xslt_process); PHP_FUNCTION(domxml_xslt_version); #endif - +typedef struct { + zval *errors; + xmlValidCtxtPtr valid; + xmlParserCtxtPtr parser; +} domxml_ErrorCtxt; #else #define domxml_module_ptr NULL + #endif /* HAVE_DOMXML */ #define phpext_domxml_ptr domxml_module_ptr |