mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-28 04:35:15 +00:00
export switch_xml_free for use by modules.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1409 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
1b97a9b8a8
commit
a9a5a48209
@ -145,7 +145,7 @@ SWITCH_DECLARE(char *) switch_xml_toxml(switch_xml_t xml);
|
|||||||
SWITCH_DECLARE(const char **) switch_xml_pi(switch_xml_t xml, const char *target);
|
SWITCH_DECLARE(const char **) switch_xml_pi(switch_xml_t xml, const char *target);
|
||||||
|
|
||||||
// frees the memory allocated for an switch_xml structure
|
// frees the memory allocated for an switch_xml structure
|
||||||
void switch_xml_free(switch_xml_t xml);
|
SWITCH_DECLARE(void) switch_xml_free(switch_xml_t xml);
|
||||||
|
|
||||||
// returns parser error message or empty string if none
|
// returns parser error message or empty string if none
|
||||||
SWITCH_DECLARE(const char *) switch_xml_error(switch_xml_t xml);
|
SWITCH_DECLARE(const char *) switch_xml_error(switch_xml_t xml);
|
||||||
|
@ -1023,7 +1023,7 @@ SWITCH_DECLARE(char *) switch_xml_toxml(switch_xml_t xml)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// free the memory allocated for the switch_xml structure
|
// free the memory allocated for the switch_xml structure
|
||||||
void switch_xml_free(switch_xml_t xml)
|
SWITCH_DECLARE(void) switch_xml_free(switch_xml_t xml)
|
||||||
{
|
{
|
||||||
switch_xml_root_t root = (switch_xml_root_t)xml;
|
switch_xml_root_t root = (switch_xml_root_t)xml;
|
||||||
int i, j;
|
int i, j;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user