diff options
author | Uwe Steinmann <steinm@php.net> | 2000-11-09 08:42:20 +0000 |
---|---|---|
committer | Uwe Steinmann <steinm@php.net> | 2000-11-09 08:42:20 +0000 |
commit | d82bade81cb5d8dfa85d95918fadfa31268d401e (patch) | |
tree | 7fcd148c340a34e15f43148d424db44790c76810 /ext/domxml/php_domxml.h | |
parent | ffc95d6125728d5ff059757c4d662e0f6d721724 (diff) | |
download | php-git-d82bade81cb5d8dfa85d95918fadfa31268d401e.tar.gz |
- Started support for XPath/XPtr (completely untested)
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 |