cvs: php4 /ext/domxml php_domxml.c

From: Date: Tue, 14 Aug 2001 07:49:28 +0000
Subject: cvs: php4 /ext/domxml php_domxml.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-6821@lists.php.net to get a copy of this message
joey Tue Aug 14 03:49:28 2001 EDT Modified files: /php4/ext/domxml php_domxml.c Log: Group PHP_FE and PHP_FALIAS with their own kind. Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.65 php4/ext/domxml/php_domxml.c:1.66 --- php4/ext/domxml/php_domxml.c:1.65 Tue Aug 14 03:44:21 2001 +++ php4/ext/domxml/php_domxml.c Tue Aug 14 03:49:28 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_domxml.c,v 1.65 2001/08/14 07:44:21 joey Exp $ */ +/* $Id: php_domxml.c,v 1.66 2001/08/14 07:49:28 joey Exp $ */ #ifdef HAVE_CONFIG_H @@ -79,28 +79,18 @@ PHP_FE(xmldoc, NULL) PHP_FE(xmldocfile, NULL) PHP_FE(xmltree, NULL) - PHP_FALIAS(domxml_root, domxml_doc_document_element, NULL) PHP_FE(domxml_add_root, NULL) PHP_FE(domxml_dumpmem, NULL) PHP_FE(domxml_node_attributes, NULL) - PHP_FALIAS(domxml_attributes, domxml_node_attributes, NULL) PHP_FE(domxml_elem_get_attribute, NULL) - PHP_FALIAS(domxml_get_attribute, domxml_elem_get_attribute, NULL) - PHP_FALIAS(domxml_getattr, domxml_elem_get_attribute, NULL) PHP_FE(domxml_elem_set_attribute, NULL) - PHP_FALIAS(domxml_set_attribute, domxml_elem_set_attribute, NULL) - PHP_FALIAS(domxml_setattr, domxml_elem_set_attribute, NULL) PHP_FE(domxml_node_children, NULL) - PHP_FALIAS(domxml_children, domxml_node_children, NULL) PHP_FE(domxml_node_new_child, NULL) - PHP_FALIAS(domxml_new_child, domxml_node_new_child, NULL) PHP_FE(domxml_node, NULL) PHP_FE(domxml_node_unlink_node, NULL) - PHP_FALIAS(domxml_unlink_node, domxml_node_unlink_node, NULL) PHP_FE(domxml_node_set_content, NULL) - PHP_FALIAS(set_content, domxml_node_set_content, NULL) PHP_FE(domxml_new_xmldoc, NULL) - PHP_FALIAS(new_xmldoc, domxml_new_xmldoc, NULL) + #if defined(LIBXML_XPATH_ENABLED) PHP_FE(xpath_new_context, NULL) PHP_FE(xpath_eval, NULL) @@ -110,6 +100,18 @@ PHP_FE(xptr_new_context, NULL) PHP_FE(xptr_eval, NULL) #endif + + PHP_FALIAS(domxml_root, domxml_doc_document_element, NULL) + PHP_FALIAS(domxml_attributes, domxml_node_attributes, NULL) + PHP_FALIAS(domxml_get_attribute, domxml_elem_get_attribute, NULL) + PHP_FALIAS(domxml_getattr, domxml_elem_get_attribute, NULL) + PHP_FALIAS(domxml_set_attribute, domxml_elem_set_attribute, NULL) + PHP_FALIAS(domxml_setattr, domxml_elem_set_attribute, NULL) + PHP_FALIAS(domxml_children, domxml_node_children, NULL) + PHP_FALIAS(domxml_new_child, domxml_node_new_child, NULL) + PHP_FALIAS(domxml_unlink_node, domxml_node_unlink_node, NULL) + PHP_FALIAS(set_content, domxml_node_set_content, NULL) + PHP_FALIAS(new_xmldoc, domxml_new_xmldoc, NULL) {NULL, NULL, NULL} };

« previous php.cvs (#6821) next »