diff options
author | Marcus Boerger <helly@php.net> | 2004-01-17 19:41:32 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-01-17 19:41:32 +0000 |
commit | 9e29f17493284dee81d2842f6067b24fba9538a5 (patch) | |
tree | 7bf345c4b3f5ed7c4f205335b3fa7a8f96dc8b1e /ext/simplexml/php_simplexml.h | |
parent | d5d2d9ef492075e6ec55de9af7d3029babda5be7 (diff) | |
download | php-git-9e29f17493284dee81d2842f6067b24fba9538a5.tar.gz |
Major bugfix for consistency.
# After long discussions we came to a conclusion on how to make this
# extension consistent in itself.
# Thanks to Rob for all the work
Diffstat (limited to 'ext/simplexml/php_simplexml.h')
-rw-r--r-- | ext/simplexml/php_simplexml.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/ext/simplexml/php_simplexml.h b/ext/simplexml/php_simplexml.h index f4f5d74456..4b05cfa06e 100644 --- a/ext/simplexml/php_simplexml.h +++ b/ext/simplexml/php_simplexml.h @@ -65,14 +65,20 @@ typedef struct { simplexml_nsmap *nsmapptr; xmlXPathContextPtr xpath; struct { - xmlNodePtr node; + php_libxml_node_ptr *node; + int itertype; char *name; - int namelen; + char *nsprefix; + int type; zval *data; } iter; } php_sxe_object; - +#define SXE_ITER_NONE 0 +#define SXE_ITER_ELEMENT 1 +#define SXE_ITER_ATTR 2 +#define SXE_ITER_CHILD 3 +#define SXE_ITER_ATTRLIST 4 #ifdef ZTS #define SIMPLEXML_G(v) TSRMG(simplexml_globals_id, zend_simplexml_globals *, v) |