RTS API Documentation
1.10.11
|
A representation of an XML tree. More...
#include <switch_xml.h>
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 |
const char * | open |
const char * | close |
A representation of an XML tree.
Definition at line 79 of file switch_xml.h.
char** switch_xml::attr |
tag attributes { name, value, name, value, ... NULL }
Definition at line 83 of file switch_xml.h.
Referenced by switch_xml_add_child(), switch_xml_attr(), switch_xml_free(), switch_xml_new(), switch_xml_open_tag(), switch_xml_set_attr(), switch_xml_toxml_buf_ex(), and switch_xml_toxml_r().
switch_xml_t switch_xml::child |
head of sub tag list, NULL if none
Definition at line 97 of file switch_xml.h.
Referenced by switch_core_session_request_xml(), switch_xml_child(), switch_xml_cut(), switch_xml_free(), switch_xml_insert(), and switch_xml_toxml_r().
const char* switch_xml::close |
pointer to start of closing tag, '<', in the original parsed text
Definition at line 108 of file switch_xml.h.
Referenced by switch_xml_close_tag().
uint32_t switch_xml::flags |
flags
Definition at line 101 of file switch_xml.h.
Referenced by switch_xml_char_content(), switch_xml_free(), switch_xml_parse_str(), switch_xml_set_attr(), switch_xml_set_flag(), and switch_xml_set_txt().
char* switch_xml::free_path |
path to free on destroy
Definition at line 87 of file switch_xml.h.
Referenced by switch_xml_free(), and switch_xml_parse_file().
switch_bool_t switch_xml::is_switch_xml_root_t |
is_switch_xml_root bool
Definition at line 103 of file switch_xml.h.
char* switch_xml::name |
tag name
Definition at line 81 of file switch_xml.h.
Referenced by switch_core_session_request_xml(), switch_xml_add_child(), switch_xml_attr(), switch_xml_char_content(), switch_xml_child(), switch_xml_close_tag(), switch_xml_cut(), switch_xml_free(), switch_xml_insert(), switch_xml_new(), switch_xml_open_tag(), switch_xml_parse_str(), switch_xml_proc_inst(), switch_xml_toxml_buf_ex(), 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 91 of file switch_xml.h.
Referenced by console_xml_config(), do_merge(), load_config(), load_configuration(), recover_callback(), switch_event_import_xml(), switch_ivr_check_presence_mapping(), switch_ivr_menu_stack_xml_build(), switch_ivr_phrase_macro_event(), switch_ivr_set_user_xml(), 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 89 of file switch_xml.h.
Referenced by switch_xml_add_child(), switch_xml_insert(), and switch_xml_toxml_r().
const char* switch_xml::open |
pointer to end of opening tag, '>', in the original parsed text
Definition at line 106 of file switch_xml.h.
Referenced by switch_xml_open_tag().
switch_xml_t switch_xml::ordered |
next tag, same section and depth, in original order
Definition at line 95 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 99 of file switch_xml.h.
Referenced by switch_xml_add_child(), switch_xml_attr(), switch_xml_close_tag(), switch_xml_cut(), switch_xml_error(), switch_xml_free(), switch_xml_insert(), switch_xml_pi(), switch_xml_toxml_buf_ex(), and switch_xml_toxml_r().
uint32_t switch_xml::refs |
Definition at line 104 of file switch_xml.h.
Referenced by switch_xml_free(), 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 93 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 85 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_free(), switch_xml_new(), switch_xml_open_tag(), switch_xml_set_txt(), switch_xml_toxml_r(), and xml_find_var().