php-src/ext/domxml/php_domxml.h

64 lines
2.1 KiB
C
Raw Normal View History

1999-11-24 06:21:48 +00:00
/*
+----------------------------------------------------------------------+
| PHP version 4.0 |
1999-11-24 06:21:48 +00:00
+----------------------------------------------------------------------+
| Copyright (c) 1997, 1998, 1999, 2000 The PHP Group |
1999-11-24 06:21:48 +00:00
+----------------------------------------------------------------------+
| This source file is subject to version 2.02 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available at through the world-wide-web at |
| http://www.php.net/license/2_02.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
1999-11-24 06:21:48 +00:00
+----------------------------------------------------------------------+
| Authors: Uwe Steinmann (Uwe.Steinmann@fernuni-hagen.de |
+----------------------------------------------------------------------+
*/
1999-11-24 06:21:48 +00:00
/* $Id$ */
#ifndef PHP_DOMXML_H
#define PHP_DOMXML_H
1999-11-24 06:21:48 +00:00
#if HAVE_DOMXML
#include <libxml/parser.h>
1999-11-24 06:21:48 +00:00
1999-12-17 21:34:28 +00:00
extern zend_module_entry php_domxml_module_entry;
#define php_domxml_module_ptr &php_domxml_module_entry
1999-11-24 06:21:48 +00:00
/* directory functions */
extern PHP_MINIT_FUNCTION(domxml);
extern PHP_MINFO_FUNCTION(domxml);
PHP_FUNCTION(xmldoc);
PHP_FUNCTION(xmldocfile);
PHP_FUNCTION(xmltree);
PHP_FUNCTION(domxml_new_xmldoc);
1999-11-24 06:21:48 +00:00
/* Class Document methods */
PHP_FUNCTION(domxml_root);
PHP_FUNCTION(domxml_add_root);
1999-11-24 06:21:48 +00:00
PHP_FUNCTION(domxml_intdtd);
PHP_FUNCTION(domxml_dumpmem);
1999-11-24 06:21:48 +00:00
/* Class Node methods */
PHP_FUNCTION(domxml_attributes);
PHP_FUNCTION(domxml_getattr);
PHP_FUNCTION(domxml_setattr);
PHP_FUNCTION(domxml_children);
PHP_FUNCTION(domxml_lastchild);
PHP_FUNCTION(domxml_parent);
PHP_FUNCTION(domxml_node);
PHP_FUNCTION(domxml_new_child);
1999-11-24 06:21:48 +00:00
/* Class Attribute methods */
PHP_FUNCTION(domxml_attrname);
PHP_FUNCTION(domxml_test);
1999-11-24 06:21:48 +00:00
#else
1999-12-17 21:34:28 +00:00
#define php_domxml_module_ptr NULL
1999-11-24 06:21:48 +00:00
#endif /* HAVE_DOMXML */
1999-12-17 21:34:28 +00:00
#define phpext_domxml_ptr php_domxml_module_ptr
1999-11-24 06:21:48 +00:00
#endif /* _PHP_DIR_H */