From d82bade81cb5d8dfa85d95918fadfa31268d401e Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 9 Nov 2000 08:42:20 +0000 Subject: - Started support for XPath/XPtr (completely untested) --- ext/domxml/php_domxml.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ext/domxml/php_domxml.h') diff --git a/ext/domxml/php_domxml.h b/ext/domxml/php_domxml.h index b491a3e5b0..b8d3390ba2 100644 --- a/ext/domxml/php_domxml.h +++ b/ext/domxml/php_domxml.h @@ -23,6 +23,10 @@ #if HAVE_DOMXML #include +#include +#if defined(LIBXML_XPTR_ENABLED) +#include +#endif extern zend_module_entry domxml_module_entry; #define domxml_module_ptr &domxml_module_entry @@ -54,6 +58,15 @@ PHP_FUNCTION(domxml_new_child); /* Class Attribute methods */ PHP_FUNCTION(domxml_attrname); +/* Class XPathContext methods */ +PHP_FUNCTION(xpath_init); +PHP_FUNCTION(xpath_new_context); +PHP_FUNCTION(xpath_eval); +PHP_FUNCTION(xpath_eval_expression); +#if defined(LIBXML_XPTR_ENABLED) +PHP_FUNCTION(xptr_new_context); +#endif + PHP_FUNCTION(domxml_test); #else #define domxml_module_ptr NULL -- cgit v1.2.1