本文整理汇总了C#中FreeSWITCH.Native.switch_xml类的典型用法代码示例。如果您正苦于以下问题:C# switch_xml类的具体用法?C# switch_xml怎么用?C# switch_xml使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
switch_xml类属于FreeSWITCH.Native命名空间,在下文中一共展示了switch_xml类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: switch_xml_insert
public static switch_xml switch_xml_insert(switch_xml xml, switch_xml dest, SWIGTYPE_p_switch_size_t off)
{
IntPtr cPtr = freeswitchPINVOKE.switch_xml_insert(switch_xml.getCPtr(xml), switch_xml.getCPtr(dest), SWIGTYPE_p_switch_size_t.getCPtr(off));
switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false);
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例2: switch_xml_free_in_thread
public static void switch_xml_free_in_thread(switch_xml xml, int stacksize)
{
freeswitchPINVOKE.switch_xml_free_in_thread(switch_xml.getCPtr(xml), stacksize);
}
示例3: switch_xml_get
public static switch_xml switch_xml_get(switch_xml xml)
{
IntPtr cPtr = freeswitchPINVOKE.switch_xml_get(switch_xml.getCPtr(xml));
switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false);
return ret;
}
示例4: switch_xml_toxml
public static string switch_xml_toxml(switch_xml xml, switch_bool_t prn_header)
{
string ret = freeswitchPINVOKE.switch_xml_toxml(switch_xml.getCPtr(xml), (int)prn_header);
return ret;
}
示例5: switch_xml_set_root
public static switch_status_t switch_xml_set_root(switch_xml new_main) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_set_root(switch_xml.getCPtr(new_main));
return ret;
}
示例6: switch_xml_set_attr
public static switch_xml switch_xml_set_attr(switch_xml xml, string name, string value)
{
IntPtr cPtr = freeswitchPINVOKE.switch_xml_set_attr(switch_xml.getCPtr(xml), name, value);
switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false);
return ret;
}
示例7: switch_xml_set_txt
public static switch_xml switch_xml_set_txt(switch_xml xml, string txt)
{
IntPtr cPtr = freeswitchPINVOKE.switch_xml_set_txt(switch_xml.getCPtr(xml), txt);
switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false);
return ret;
}
示例8: switch_ivr_set_xml_chan_vars
public static int switch_ivr_set_xml_chan_vars(switch_xml xml, SWIGTYPE_p_switch_channel channel, int off)
{
int ret = freeswitchPINVOKE.switch_ivr_set_xml_chan_vars(switch_xml.getCPtr(xml), SWIGTYPE_p_switch_channel.getCPtr(channel), off);
return ret;
}
示例9: switch_ivr_set_xml_profile_data
public static int switch_ivr_set_xml_profile_data(switch_xml xml, switch_caller_profile caller_profile, int off)
{
int ret = freeswitchPINVOKE.switch_ivr_set_xml_profile_data(switch_xml.getCPtr(xml), switch_caller_profile.getCPtr(caller_profile), off);
return ret;
}
示例10: switch_core_session_request_xml
public static SWIGTYPE_p_switch_core_session switch_core_session_request_xml(switch_endpoint_interface endpoint_interface, SWIGTYPE_p_p_apr_pool_t pool, switch_xml xml)
{
IntPtr cPtr = freeswitchPINVOKE.switch_core_session_request_xml(switch_endpoint_interface.getCPtr(endpoint_interface), SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), switch_xml.getCPtr(xml));
SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false);
return ret;
}
示例11: switch_ivr_menu_stack_xml_build
public static switch_status_t switch_ivr_menu_stack_xml_build(SWIGTYPE_p_switch_ivr_menu_xml_ctx xml_menu_ctx, SWIGTYPE_p_p_switch_ivr_menu menu_stack, switch_xml xml_menus, switch_xml xml_menu)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_menu_stack_xml_build(SWIGTYPE_p_switch_ivr_menu_xml_ctx.getCPtr(xml_menu_ctx), SWIGTYPE_p_p_switch_ivr_menu.getCPtr(menu_stack), switch_xml.getCPtr(xml_menus), switch_xml.getCPtr(xml_menu));
return ret;
}
示例12: getCPtr
internal static HandleRef getCPtr(switch_xml obj)
{
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
示例13: switch_console_complete
public static byte switch_console_complete(string line, string last_word, SWIGTYPE_p_FILE console_out, switch_stream_handle stream, switch_xml xml)
{
byte ret = freeswitchPINVOKE.switch_console_complete(line, last_word, SWIGTYPE_p_FILE.getCPtr(console_out), switch_stream_handle.getCPtr(stream), switch_xml.getCPtr(xml));
return ret;
}
示例14: switch_xml_std_datetime_check
public static int switch_xml_std_datetime_check(switch_xml xcond, SWIGTYPE_p_int offset) {
int ret = freeswitchPINVOKE.switch_xml_std_datetime_check(switch_xml.getCPtr(xcond), SWIGTYPE_p_int.getCPtr(offset));
return ret;
}
示例15: switch_xml_locate_user_in_domain
public static switch_status_t switch_xml_locate_user_in_domain(string user_name, switch_xml domain, SWIGTYPE_p_p_switch_xml user, SWIGTYPE_p_p_switch_xml ingroup)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_locate_user_in_domain(user_name, switch_xml.getCPtr(domain), SWIGTYPE_p_p_switch_xml.getCPtr(user), SWIGTYPE_p_p_switch_xml.getCPtr(ingroup));
return ret;
}