swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10404 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b2bf73de6e
commit
30279bbc43
|
@ -22888,6 +22888,50 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_open_cfg(char * jarg1, void * ja
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_set_binding_sections(void * jarg1, unsigned long jarg2) {
|
||||
switch_xml_binding_t *arg1 = (switch_xml_binding_t *) 0 ;
|
||||
switch_xml_section_t arg2 ;
|
||||
|
||||
arg1 = (switch_xml_binding_t *)jarg1;
|
||||
arg2 = (switch_xml_section_t)jarg2;
|
||||
switch_xml_set_binding_sections(arg1,arg2);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_set_binding_user_data(void * jarg1, void * jarg2) {
|
||||
switch_xml_binding_t *arg1 = (switch_xml_binding_t *) 0 ;
|
||||
void *arg2 = (void *) 0 ;
|
||||
|
||||
arg1 = (switch_xml_binding_t *)jarg1;
|
||||
arg2 = (void *)jarg2;
|
||||
switch_xml_set_binding_user_data(arg1,arg2);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_get_binding_sections(void * jarg1) {
|
||||
unsigned long jresult ;
|
||||
switch_xml_binding_t *arg1 = (switch_xml_binding_t *) 0 ;
|
||||
switch_xml_section_t result;
|
||||
|
||||
arg1 = (switch_xml_binding_t *)jarg1;
|
||||
result = (switch_xml_section_t)switch_xml_get_binding_sections(arg1);
|
||||
jresult = (unsigned long)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_get_binding_user_data(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_xml_binding_t *arg1 = (switch_xml_binding_t *) 0 ;
|
||||
void *result = 0 ;
|
||||
|
||||
arg1 = (switch_xml_binding_t *)jarg1;
|
||||
result = (void *)switch_xml_get_binding_user_data(arg1);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_bind_search_function_ret(void * jarg1, unsigned long jarg2, void * jarg3, void * jarg4) {
|
||||
int jresult ;
|
||||
switch_xml_search_function_t arg1 = (switch_xml_search_function_t) 0 ;
|
||||
|
|
|
@ -3632,6 +3632,25 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_xml_set_binding_sections(SWIGTYPE_p_switch_xml_binding binding, uint sections) {
|
||||
freeswitchPINVOKE.switch_xml_set_binding_sections(SWIGTYPE_p_switch_xml_binding.getCPtr(binding), sections);
|
||||
}
|
||||
|
||||
public static void switch_xml_set_binding_user_data(SWIGTYPE_p_switch_xml_binding binding, SWIGTYPE_p_void user_data) {
|
||||
freeswitchPINVOKE.switch_xml_set_binding_user_data(SWIGTYPE_p_switch_xml_binding.getCPtr(binding), SWIGTYPE_p_void.getCPtr(user_data));
|
||||
}
|
||||
|
||||
public static uint switch_xml_get_binding_sections(SWIGTYPE_p_switch_xml_binding binding) {
|
||||
uint ret = freeswitchPINVOKE.switch_xml_get_binding_sections(SWIGTYPE_p_switch_xml_binding.getCPtr(binding));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static SWIGTYPE_p_void switch_xml_get_binding_user_data(SWIGTYPE_p_switch_xml_binding binding) {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_xml_get_binding_user_data(SWIGTYPE_p_switch_xml_binding.getCPtr(binding));
|
||||
SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_xml_bind_search_function_ret(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml function, uint sections, SWIGTYPE_p_void user_data, SWIGTYPE_p_p_switch_xml_binding ret) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_bind_search_function_ret(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml.getCPtr(function), sections, SWIGTYPE_p_void.getCPtr(user_data), SWIGTYPE_p_p_switch_xml_binding.getCPtr(ret));
|
||||
return ret;
|
||||
|
@ -9501,6 +9520,18 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_open_cfg")]
|
||||
public static extern IntPtr switch_xml_open_cfg(string jarg1, HandleRef jarg2, HandleRef jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_binding_sections")]
|
||||
public static extern void switch_xml_set_binding_sections(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_binding_user_data")]
|
||||
public static extern void switch_xml_set_binding_user_data(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_get_binding_sections")]
|
||||
public static extern uint switch_xml_get_binding_sections(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_get_binding_user_data")]
|
||||
public static extern IntPtr switch_xml_get_binding_user_data(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_bind_search_function_ret")]
|
||||
public static extern int switch_xml_bind_search_function_ret(HandleRef jarg1, uint jarg2, HandleRef jarg3, HandleRef jarg4);
|
||||
|
||||
|
@ -14559,6 +14590,36 @@ namespace FreeSWITCH.Native {
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_switch_xml_binding {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal SWIGTYPE_p_switch_xml_binding(IntPtr cPtr, bool futureUse) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
protected SWIGTYPE_p_switch_xml_binding() {
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(SWIGTYPE_p_switch_xml_binding obj) {
|
||||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_time_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
|
|
Loading…
Reference in New Issue