FreeSWITCH API Documentation  1.7.0
Data Fields
switch_xml Struct Reference

A representation of an XML tree. More...

#include <switch_xml.h>

+ Collaboration diagram for switch_xml:

Data Fields

char * name
 
char ** attr
 
char * txt
 
char * free_path
 
switch_size_t off
 
switch_xml_t next
 
switch_xml_t sibling
 
switch_xml_t ordered
 
switch_xml_t child
 
switch_xml_t parent
 
uint32_t flags
 
switch_bool_t is_switch_xml_root_t
 
uint32_t refs
 

Detailed Description

A representation of an XML tree.

Definition at line 76 of file switch_xml.h.

Field Documentation

char** switch_xml::attr

tag attributes { name, value, name, value, ... NULL }

Definition at line 80 of file switch_xml.h.

Referenced by switch_xml_add_child(), switch_xml_new(), switch_xml_open_tag(), switch_xml_set_attr(), and switch_xml_toxml_r().

switch_xml_t switch_xml::child

head of sub tag list, NULL if none

Definition at line 94 of file switch_xml.h.

Referenced by switch_core_session_request_xml(), switch_xml_child(), switch_xml_cut(), switch_xml_insert(), and switch_xml_toxml_r().

uint32_t switch_xml::flags

flags

Definition at line 98 of file switch_xml.h.

Referenced by switch_xml_char_content(), and switch_xml_set_flag().

char* switch_xml::free_path

path to free on destroy

Definition at line 84 of file switch_xml.h.

Referenced by switch_xml_parse_file().

switch_bool_t switch_xml::is_switch_xml_root_t

is_switch_xml_root bool

Definition at line 100 of file switch_xml.h.

char* switch_xml::name
switch_xml_t switch_xml::next
switch_size_t switch_xml::off

tag offset from start of parent tag character content

Definition at line 86 of file switch_xml.h.

Referenced by switch_xml_add_child(), switch_xml_insert(), and switch_xml_toxml_r().

switch_xml_t switch_xml::ordered

next tag, same section and depth, in original order

Definition at line 92 of file switch_xml.h.

Referenced by switch_xml_cut(), switch_xml_free(), switch_xml_insert(), and switch_xml_toxml_r().

switch_xml_t switch_xml::parent

parent tag, NULL if current tag is root tag

Definition at line 96 of file switch_xml.h.

Referenced by switch_xml_add_child(), switch_xml_attr(), switch_xml_close_tag(), switch_xml_cut(), switch_xml_pi(), switch_xml_toxml_buf(), and switch_xml_toxml_r().

uint32_t switch_xml::refs

Definition at line 101 of file switch_xml.h.

Referenced by switch_xml_root(), and switch_xml_set_root().

switch_xml_t switch_xml::sibling

next tag with different name in same section and depth

Definition at line 90 of file switch_xml.h.

Referenced by switch_core_session_request_xml(), switch_xml_cut(), and switch_xml_insert().

char* switch_xml::txt

The documentation for this struct was generated from the following file: