diff options
Diffstat (limited to 'ext/domxml/php_domxml.h')
-rw-r--r-- | ext/domxml/php_domxml.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 <libxml/parser.h> +#include <libxml/xpath.h> +#if defined(LIBXML_XPTR_ENABLED) +#include <libxml/xpointer.h> +#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 |