[core] Save position of XML opening tag '>' and XML closing tag '<' in switch_xml_parse_str().

This commit is contained in:
Chris Rienzo
2021-09-15 04:30:46 +00:00
committed by Andrey Volk
parent 047c3c7217
commit 8e17dca00d
2 changed files with 13 additions and 6 deletions
+4
View File
@@ -102,6 +102,10 @@ struct switch_xml {
/*! is_switch_xml_root bool */
switch_bool_t is_switch_xml_root_t;
uint32_t refs;
/*! pointer to end of opening tag, '>', in the original parsed text */
const char *open;
/*! pointer to start of closing tag, '<', in the original parsed text */
const char *close;
};
/*!