summaryrefslogtreecommitdiff
path: root/ext/simplexml/php_simplexml.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-11-23 16:20:58 +0000
committerMarcus Boerger <helly@php.net>2003-11-23 16:20:58 +0000
commitfc117add30f5d3808bb9afbe219204d16e586ea0 (patch)
tree7a0f79ccecf98ce3436ec74567c350dbe6a9ce0e /ext/simplexml/php_simplexml.h
parentceaddf238b4cddc0e8201838141bb2876dc7ab76 (diff)
downloadphp-git-fc117add30f5d3808bb9afbe219204d16e586ea0.tar.gz
Several improvements to the simplexml_element object:
- Allow to use it as an instance of Iterator - Prepareto use it as a normal object, including spcialization
Diffstat (limited to 'ext/simplexml/php_simplexml.h')
-rw-r--r--ext/simplexml/php_simplexml.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/simplexml/php_simplexml.h b/ext/simplexml/php_simplexml.h
index 1b325ca9cd..146a818578 100644
--- a/ext/simplexml/php_simplexml.h
+++ b/ext/simplexml/php_simplexml.h
@@ -64,6 +64,12 @@ typedef struct {
HashTable *properties;
simplexml_nsmap *nsmapptr;
xmlXPathContextPtr xpath;
+ struct {
+ xmlNodePtr node;
+ char *name;
+ int namelen;
+ zval *data;
+ } iter;
} php_sxe_object;