summaryrefslogtreecommitdiff
path: root/ext/domxml/php_domxml.h
diff options
context:
space:
mode:
authorChristian Stocker <chregu@php.net>2002-01-18 07:58:47 +0000
committerChristian Stocker <chregu@php.net>2002-01-18 07:58:47 +0000
commit793bc648bf1217f093b7a01ff1343268c805967a (patch)
treecfc41d3117ad245e3b007ad50a7f3b0ed40fd1a1 /ext/domxml/php_domxml.h
parent5219d6c09631999b0b150c24a161822f9ead69c6 (diff)
downloadphp-git-793bc648bf1217f093b7a01ff1343268c805967a.tar.gz
# sorry for the mixing of different things in this commit
- added DOMXML_PARAM_THREE macro - renamed domxml_dumpmem to domxml_dump_mem, added alias for domxml_dumpmem - domxml_has_attributes was missing in in zend_function_entry @- added function domxml_dump_file($filename,[$compression]). Dumps XML to @ a file and uses compression, if specified (chregu) @- added exslt integration (see http://exslt.org for details). To be @ configured with --with-dom-exslt[=DIR] (and --with-dom-xslt) (chregu, jaroslaw)
Diffstat (limited to 'ext/domxml/php_domxml.h')
-rw-r--r--ext/domxml/php_domxml.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/domxml/php_domxml.h b/ext/domxml/php_domxml.h
index 3d31e6adeb..e58e1d3a81 100644
--- a/ext/domxml/php_domxml.h
+++ b/ext/domxml/php_domxml.h
@@ -41,6 +41,10 @@
#include <libxslt/xsltInternals.h>
#include <libxslt/xsltutils.h>
#include <libxslt/transform.h>
+#if HAVE_DOMEXSLT
+#include <libexslt/exslt.h>
+#include <libexslt/exsltconfig.h>
+#endif
#endif
extern zend_module_entry domxml_module_entry;
@@ -74,7 +78,9 @@ PHP_FUNCTION(domxml_doc_create_entity_reference);
PHP_FUNCTION(domxml_doc_imported_node);
PHP_FUNCTION(domxml_add_root);
PHP_FUNCTION(domxml_intdtd);
-PHP_FUNCTION(domxml_dumpmem);
+PHP_FUNCTION(domxml_dump_mem);
+PHP_FUNCTION(domxml_dump_mem_file);
+
#if defined(LIBXML_HTML_ENABLED)
PHP_FUNCTION(domxml_html_dump_mem);
#endif