//switch_xml.c
SWITCH_DECLARE(switch_status_t) switch_xml_locate_user(const char *key,...)
{
if ((status = switch_xml_locate_domain(domain_name, params, root, domain)) != SWITCH_STATUS_SUCCESS) {
goto end;
}
}
//switch_xml.c
SWITCH_DECLARE(switch_status_t) switch_xml_locate_domain(const char *domain_name, ...)
{
status = switch_xml_locate("directory", "domain", "name", domain_name, root, domain, params, SWITCH_FALSE);
}
//switch_xml.c
SWITCH_DECLARE(switch_status_t) switch_xml_locate(const char *section,...)
{
//重点就是BINDINGS
switch_xml_section_t sections = BINDINGS ? switch_xml_parse_section_string(section) : 0;
}
想知道后续?你懂的!!!