#include <jabberdlib.h>
Data Fields | |
| char * | name |
| char * | prefix |
| char * | ns_iri |
| unsigned short | type |
| char * | data |
| int | data_sz |
| pool | p |
| struct xmlnode_t * | parent |
| struct xmlnode_t * | firstchild |
| struct xmlnode_t * | lastchild |
| struct xmlnode_t * | prev |
| struct xmlnode_t * | next |
| struct xmlnode_t * | firstattrib |
| struct xmlnode_t * | lastattrib |
| char* xmlnode_t::name |
local name of the xmlnode
Referenced by xmlnode_dup(), xmlnode_dup_pool(), xmlnode_get_localname(), xmlnode_get_name(), xmlnode_get_tags(), xmlnode_insert_node(), and xmlnode_insert_tag_node().
| char* xmlnode_t::prefix |
namespace prefix for this xmlnode
Referenced by xmlnode_change_namespace(), xmlnode_dup(), xmlnode_dup_pool(), xmlnode_get_name(), xmlnode_get_nsprefix(), xmlnode_insert_node(), xmlnode_insert_tag(), xmlnode_insert_tag_node(), xmlnode_insert_tag_ns(), xmlnode_put_attrib(), and xmlnode_wrap().
| char* xmlnode_t::ns_iri |
namespace IRI for this xmlnode
Referenced by xmlnode_change_namespace(), xmlnode_dup(), xmlnode_dup_pool(), xmlnode_get_namespace(), xmlnode_get_tags(), xmlnode_insert_node(), xmlnode_insert_tag(), xmlnode_insert_tag_node(), and xmlnode_put_attrib().
| unsigned short xmlnode_t::type |
type of the xmlnode, one of NTYPE_TAG, NTYPE_ATTRIB, NTYPE_CDATA, or NTYPE_UNDEF
Referenced by jpacket_reset(), mio_ssl_init(), pthsock_client(), xmlnode_get_lang(), xmlnode_get_tags(), xmlnode_get_type(), and xmlnode_hide().
| char* xmlnode_t::data |
data of the xmlnode, for attributes this is the value, for text nodes this is the text
Referenced by xmlnode_get_attrib_ns(), xmlnode_get_data(), xmlnode_insert_cdata(), and xmlnode_put_attrib_ns().
length of the data in the xmlnode
Referenced by xmlnode_insert_cdata(), and xmlnode_put_attrib_ns().
memory pool used by this xmlnode (the same as for all other xmlnode in a tree)
Referenced by dialback_in_read_db(), dialback_out_read(), dialback_out_read_db(), dnsrv_child_process_xstream_io(), xmlnode_free(), xmlnode_get_name(), xmlnode_insert_cdata(), xmlnode_pool(), xmlnode_put_attrib(), xmlnode_put_attrib_ns(), xmlnode_wrap(), and xmlnode_wrap_ns().
struct xmlnode_t* xmlnode_t::parent [read] |
parent node for this node, or NULL for the root element
Referenced by xmlnode_get_lang(), xmlnode_get_parent(), xmlnode_hide(), xmlnode_put_attrib_ns(), and xmlnode_wrap_ns().
struct xmlnode_t* xmlnode_t::firstchild [read] |
first child element of this node, or NULL for no child elements
Referenced by xmlnode_get_firstchild(), xmlnode_get_tag(), xmlnode_has_children(), xmlnode_hide(), and xmlnode_wrap_ns().
struct xmlnode_t* xmlnode_t::lastchild [read] |
last child element of this node, or NULL for no child elements
Referenced by xmlnode_get_lastchild(), xmlnode_hide(), and xmlnode_wrap_ns().
struct xmlnode_t* xmlnode_t::prev [read] |
previous sibling
Referenced by xmlnode_get_prevsibling(), xmlnode_hide(), and xmlnode_hide_attrib_ns().
struct xmlnode_t* xmlnode_t::next [read] |
next sibling
Referenced by pthsock_client(), xmlnode_get_data(), xmlnode_get_nextsibling(), xmlnode_hide(), and xmlnode_hide_attrib_ns().
struct xmlnode_t* xmlnode_t::firstattrib [read] |
first attribute node of this node
Referenced by xmlnode_get_attrib_ns(), xmlnode_get_firstattrib(), xmlnode_hide(), xmlnode_hide_attrib_ns(), and xmlnode_put_attrib_ns().
struct xmlnode_t* xmlnode_t::lastattrib [read] |
last attribute node of this node
Referenced by xmlnode_hide(), xmlnode_hide_attrib_ns(), and xmlnode_put_attrib_ns().
1.5.5