mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-10 11:50:53 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1476 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
31ee0d59fc
commit
21c2b5812e
17 files changed
+53
-39
No files matched your search
@@ -192,6 +192,14 @@ switch_xml_t switch_xml_idx(switch_xml_t xml, int idx)
|
||||
return xml;
|
||||
}
|
||||
|
||||
// returns the value of the requested tag attribute or "" if not found
|
||||
SWITCH_DECLARE(const char *) switch_xml_attr_soft(switch_xml_t xml, const char *attr)
|
||||
{
|
||||
const char *ret = switch_xml_attr(xml, attr);
|
||||
|
||||
return ret ? ret : "";
|
||||
}
|
||||
|
||||
// returns the value of the requested tag attribute or NULL if not found
|
||||
SWITCH_DECLARE(const char *) switch_xml_attr(switch_xml_t xml, const char *attr)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user