cvs: php4 /ext/domxml php_domxml.c php_domxml.h
| From: | Uwe Steinmann | Date: | Mon, 07 Aug 2000 11:55:49 +0000 |
| Subject: | cvs: php4 /ext/domxml php_domxml.c php_domxml.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1085@lists.php.net to get a copy of this message | ||
steinm Mon Aug 7 04:55:49 2000 EDT
Modified files:
/php4/ext/domxml php_domxml.c php_domxml.h
Log:
- got rid of php_ prefix in Modulename and some structs
Index: php4/ext/domxml/php_domxml.c
diff -u php4/ext/domxml/php_domxml.c:1.7 php4/ext/domxml/php_domxml.c:1.8
--- php4/ext/domxml/php_domxml.c:1.7 Mon Aug 7 04:40:54 2000
+++ php4/ext/domxml/php_domxml.c Mon Aug 7 04:55:48 2000
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.c,v 1.7 2000/08/07 11:40:54 steinm Exp $ */
+/* $Id: php_domxml.c,v 1.8 2000/08/07 11:55:48 steinm Exp $ */
#include "php.h"
@@ -41,7 +41,7 @@
static int node_attributes(zval **attributes, xmlNode *nodep);
static int node_children(zval **children, xmlNode *nodep);
-static zend_function_entry php_domxml_functions[] = {
+static zend_function_entry domxml_functions[] = {
PHP_FE(xmldoc, NULL)
PHP_FE(xmldocfile, NULL)
PHP_FE(xmltree, NULL)
@@ -103,12 +103,12 @@
void domxmltestnode_class_startup();
#endif
-zend_module_entry php_domxml_module_entry = {
- "domxml", php_domxml_functions, PHP_MINIT(domxml), NULL, NULL, NULL, PHP_MINFO(domxml),
STANDARD_MODULE_PROPERTIES
+zend_module_entry domxml_module_entry = {
+ "domxml", domxml_functions, PHP_MINIT(domxml), NULL, NULL, NULL, PHP_MINFO(domxml),
STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_DOMXML
-ZEND_GET_MODULE(php_domxml)
+ZEND_GET_MODULE(domxml)
#endif
void _free_node(xmlNode *tmp) {
Index: php4/ext/domxml/php_domxml.h
diff -u php4/ext/domxml/php_domxml.h:1.14 php4/ext/domxml/php_domxml.h:1.15
--- php4/ext/domxml/php_domxml.h:1.14 Sun Jul 23 18:39:45 2000
+++ php4/ext/domxml/php_domxml.h Mon Aug 7 04:55:48 2000
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.h,v 1.14 2000/07/24 01:39:45 david Exp $ */
+/* $Id: php_domxml.h,v 1.15 2000/08/07 11:55:48 steinm Exp $ */
#ifndef PHP_DOMXML_H
#define PHP_DOMXML_H
@@ -24,8 +24,8 @@
#if HAVE_DOMXML
#include <libxml/parser.h>
-extern zend_module_entry php_domxml_module_entry;
-#define php_domxml_module_ptr &php_domxml_module_entry
+extern zend_module_entry domxml_module_entry;
+#define domxml_module_ptr &domxml_module_entry
/* directory functions */
extern PHP_MINIT_FUNCTION(domxml);
@@ -56,8 +56,8 @@
PHP_FUNCTION(domxml_test);
#else
-#define php_domxml_module_ptr NULL
+#define domxml_module_ptr NULL
#endif /* HAVE_DOMXML */
-#define phpext_domxml_ptr php_domxml_module_ptr
+#define phpext_domxml_ptr domxml_module_ptr
#endif /* _PHP_DIR_H */