summaryrefslogtreecommitdiff
path: root/ext/xml/php_xml.h
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>1999-12-05 16:43:42 +0000
committerThies C. Arntzen <thies@php.net>1999-12-05 16:43:42 +0000
commitf17f3e4fa145d5b358bef68bd77e142fbc4394c2 (patch)
tree13c1d6f486073eeabe7b83cb2aaa99ffc25bbb28 /ext/xml/php_xml.h
parentd9a86285f6a64c2298dfcf9ba42a1e72e3ee6caa (diff)
downloadphp-git-f17f3e4fa145d5b358bef68bd77e142fbc4394c2.tar.gz
@- added XML_Set_Object() function, now you can use the XML-Parser from
@ within an object. (Thies) (XML_Set_Object) new function.
Diffstat (limited to 'ext/xml/php_xml.h')
-rw-r--r--ext/xml/php_xml.h41
1 files changed, 17 insertions, 24 deletions
diff --git a/ext/xml/php_xml.h b/ext/xml/php_xml.h
index ee582bee66..07ef8291b7 100644
--- a/ext/xml/php_xml.h
+++ b/ext/xml/php_xml.h
@@ -1,31 +1,21 @@
/*
+----------------------------------------------------------------------+
- | PHP HTML Embedded Scripting Language Version 3.0 |
+ | PHP version 4.0 |
+----------------------------------------------------------------------+
- | Copyright (c) 1997,1998 PHP Development Team (See Credits file) |
+ | Copyright (c) 1997, 1998, 1999 The PHP Group |
+----------------------------------------------------------------------+
- | This program is free software; you can redistribute it and/or modify |
- | it under the terms of one of the following licenses: |
- | |
- | A) the GNU General Public License as published by the Free Software |
- | Foundation; either version 2 of the License, or (at your option) |
- | any later version. |
- | |
- | B) the PHP License as published by the PHP Development Team and |
- | included in the distribution in the file: LICENSE |
- | |
- | This program is distributed in the hope that it will be useful, |
- | but WITHOUT ANY WARRANTY; without even the implied warranty of |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
- | GNU General Public License for more details. |
- | |
- | You should have received a copy of both licenses referred to here. |
- | If you did not, or have any questions about PHP licensing, please |
- | contact core@php.net. |
+ | This source file is subject to version 2.0 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_0.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. |
+----------------------------------------------------------------------+
- | Authors: Stig Sæther Bakken <ssb@guardian.no> |
+ | Authors: Stig Sæther Bakken <ssb@fast.no> |
+ | Thies C. Arntzen <thies@digicol.de> |
+----------------------------------------------------------------------+
- */
+*/
/* $Id$ */
@@ -67,8 +57,10 @@ typedef struct {
char *externalEntityRefHandler;
char *unknownEncodingHandler;
- pval *data;
- pval *info;
+ zval *object;
+
+ zval *data;
+ zval *info;
int level;
int toffset;
int curtag;
@@ -107,6 +99,7 @@ enum php3_xml_option {
#define XML_MAXLEVEL 255 /* XXX this should be dynamic */
PHP_FUNCTION(xml_parser_create);
+PHP_FUNCTION(xml_set_object);
PHP_FUNCTION(xml_set_element_handler);
PHP_FUNCTION(xml_set_character_data_handler);
PHP_FUNCTION(xml_set_processing_instruction_handler);