expose funcs

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10400 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-11-14 16:54:54 +00:00
parent 7b7916c46b
commit fc6a7ced55
2 changed files with 15 additions and 0 deletions

View File

@@ -228,6 +228,18 @@ SWITCH_DECLARE(switch_status_t) switch_xml_unbind_search_function_ptr(switch_xml
return status;
}
SWITCH_DECLARE(void) switch_xml_set_binding_sections(switch_xml_binding_t *binding, switch_xml_section_t sections)
{
switch_assert(binding);
binding->sections = sections;
}
SWITCH_DECLARE(void) switch_xml_set_binding_user_data(switch_xml_binding_t *binding, void *user_data)
{
switch_assert(binding);
binding->user_data = user_data;
}
SWITCH_DECLARE(switch_status_t) switch_xml_bind_search_function_ret(switch_xml_search_function_t function, switch_xml_section_t sections, void *user_data, switch_xml_binding_t **ret)
{
switch_xml_binding_t *binding = NULL, *ptr = NULL;