switch_xml Struct Reference
[XML Library Functions]

A representation of an XML tree. More...

#include <switch_xml.h>

Collaboration diagram for switch_xml:

[legend]

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.

Referenced by switch_xml_attr(), and switch_xml_new().

char* switch_xml::name

tag name

Definition at line 78 of file switch_xml.h.

Referenced by switch_core_session_request_xml(), switch_xml_add_child(), switch_xml_char_content(), switch_xml_close_tag(), switch_xml_cut(), switch_xml_insert(), switch_xml_new(), switch_xml_open_tag(), switch_xml_proc_inst(), and switch_xml_toxml_r().

switch_xml_t switch_xml::next

next tag with same name in this section at this depth

Definition at line 88 of file switch_xml.h.

Referenced by console_xml_config(), do_merge(), switch_event_import_xml(), switch_ivr_check_presence_mapping(), switch_ivr_menu_stack_xml_build(), switch_ivr_set_user(), switch_load_core_config(), switch_load_network_lists(), switch_load_timezones(), switch_loadable_module_init(), switch_xml_cut(), switch_xml_find_child(), switch_xml_find_child_multi(), switch_xml_idx(), switch_xml_insert(), switch_xml_locate_user(), and switch_xml_locate_user_in_domain().

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_child(), switch_xml_cut(), and switch_xml_insert().

char* switch_xml::txt

tag character content, empty string if none

Definition at line 82 of file switch_xml.h.

Referenced by switch_core_session_request_xml(), switch_nat_republish(), switch_xml_add_child(), switch_xml_char_content(), switch_xml_new(), switch_xml_open_tag(), switch_xml_toxml_r(), and xml_find_var().


The documentation for this struct was generated from the following file:
Generated on Wed May 16 04:00:36 2012 for FreeSWITCH API Documentation by  doxygen 1.4.7