summaryrefslogtreecommitdiff
path: root/ext/dom/dom_fe.h
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2003-07-24 13:18:40 +0000
committerRob Richards <rrichards@php.net>2003-07-24 13:18:40 +0000
commite8a87e5430dadb4b049d0d0ea0c849fd75c5e0be (patch)
tree1fb458db6264620f9debeea6f83d0f0013338b4c /ext/dom/dom_fe.h
parent55097d1dcf6eee94413dc2795f923c0ef9f45d3f (diff)
downloadphp-git-e8a87e5430dadb4b049d0d0ea0c849fd75c5e0be.tar.gz
initial xpath implementation
make dom_object generic
Diffstat (limited to 'ext/dom/dom_fe.h')
-rw-r--r--ext/dom/dom_fe.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/dom/dom_fe.h b/ext/dom/dom_fe.h
index 45d05cce28..b540d3bab7 100644
--- a/ext/dom/dom_fe.h
+++ b/ext/dom/dom_fe.h
@@ -50,6 +50,7 @@ extern zend_function_entry php_dom_entity_class_functions[];
extern zend_function_entry php_dom_entityreference_class_functions[];
extern zend_function_entry php_dom_processinginstruction_class_functions[];
extern zend_function_entry php_dom_string_extend_class_functions[];
+extern zend_function_entry php_dom_xpath_class_functions[];
/* domexception errors */
typedef enum {
@@ -234,4 +235,10 @@ PHP_FUNCTION(dom_processinginstruction_processinginstruction);
PHP_FUNCTION(dom_string_extend_find_offset16);
PHP_FUNCTION(dom_string_extend_find_offset32);
+#if defined(LIBXML_XPATH_ENABLED)
+/* xpath methods */
+PHP_FUNCTION(dom_xpath_xpath);
+PHP_FUNCTION(dom_xpath_query);
+#endif
+
#endif /* DOM_FE_H */