FS-6213 --resolve

This commit is contained in:
Jeff Lenk 2014-02-12 08:45:48 -06:00
parent 3680199268
commit f0a785a0cd
2 changed files with 54 additions and 12 deletions

View File

@ -8791,19 +8791,21 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_set_pre_buffer_framecoun
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(unsigned short jarg1, unsigned short jarg2, unsigned long jarg3, void * jarg4) {
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(char * jarg1, unsigned short jarg2, unsigned short jarg3, unsigned long jarg4, void * jarg5) {
int jresult ;
switch_port_t arg1 ;
char *arg1 = (char *) 0 ;
switch_port_t arg2 ;
switch_port_flag_t arg3 ;
switch_core_port_allocator_t **arg4 = (switch_core_port_allocator_t **) 0 ;
switch_port_t arg3 ;
switch_port_flag_t arg4 ;
switch_core_port_allocator_t **arg5 = (switch_core_port_allocator_t **) 0 ;
switch_status_t result;
arg1 = (switch_port_t)jarg1;
arg1 = (char *)jarg1;
arg2 = (switch_port_t)jarg2;
arg3 = (switch_port_flag_t)jarg3;
arg4 = (switch_core_port_allocator_t **)jarg4;
result = (switch_status_t)switch_core_port_allocator_new(arg1,arg2,arg3,arg4);
arg3 = (switch_port_t)jarg3;
arg4 = (switch_port_flag_t)jarg4;
arg5 = (switch_core_port_allocator_t **)jarg5;
result = (switch_status_t)switch_core_port_allocator_new((char const *)arg1,arg2,arg3,arg4,arg5);
jresult = result;
return jresult;
}
@ -38329,6 +38331,28 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_task_id_get(vo
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_hash_set(void * jarg1, unsigned long jarg2) {
switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ;
unsigned long arg2 ;
arg1 = (switch_scheduler_task *)jarg1;
arg2 = (unsigned long)jarg2;
if (arg1) (arg1)->hash = arg2;
}
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_hash_get(void * jarg1) {
unsigned long jresult ;
switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ;
unsigned long result;
arg1 = (switch_scheduler_task *)jarg1;
result = (unsigned long) ((arg1)->hash);
jresult = (unsigned long)result;
return jresult;
}
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_scheduler_task() {
void * jresult ;
switch_scheduler_task *result = 0 ;

View File

@ -1259,8 +1259,8 @@ public class freeswitch {
return ret;
}
public static switch_status_t switch_core_port_allocator_new(ushort start, ushort end, uint flags, SWIGTYPE_p_p_switch_core_port_allocator new_allocator) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_port_allocator_new(start, end, flags, SWIGTYPE_p_p_switch_core_port_allocator.getCPtr(new_allocator));
public static switch_status_t switch_core_port_allocator_new(string ip, ushort start, ushort end, uint flags, SWIGTYPE_p_p_switch_core_port_allocator new_allocator) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_port_allocator_new(ip, start, end, flags, SWIGTYPE_p_p_switch_core_port_allocator.getCPtr(new_allocator));
return ret;
}
@ -9147,7 +9147,7 @@ class freeswitchPINVOKE {
public static extern int switch_core_media_bug_set_pre_buffer_framecount(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_new")]
public static extern int switch_core_port_allocator_new(ushort jarg1, ushort jarg2, uint jarg3, HandleRef jarg4);
public static extern int switch_core_port_allocator_new(string jarg1, ushort jarg2, ushort jarg3, uint jarg4, HandleRef jarg5);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_request_port")]
public static extern int switch_core_port_allocator_request_port(HandleRef jarg1, HandleRef jarg2);
@ -16112,6 +16112,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_task_id_get")]
public static extern uint switch_scheduler_task_task_id_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_hash_set")]
public static extern void switch_scheduler_task_hash_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_hash_get")]
public static extern uint switch_scheduler_task_hash_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_scheduler_task")]
public static extern IntPtr new_switch_scheduler_task();
@ -33319,7 +33325,9 @@ namespace FreeSWITCH.Native {
[System.Flags] public enum switch_port_flag_enum_t {
SPF_NONE = 0,
SPF_ODD = (1 << 0),
SPF_EVEN = (1 << 1)
SPF_EVEN = (1 << 1),
SPF_ROBUST_TCP = (1 << 2),
SPF_ROBUST_UDP = (1 << 3)
}
}
@ -34667,6 +34675,16 @@ public class switch_scheduler_task : IDisposable {
}
}
public uint hash {
set {
freeswitchPINVOKE.switch_scheduler_task_hash_set(swigCPtr, value);
}
get {
uint ret = freeswitchPINVOKE.switch_scheduler_task_hash_get(swigCPtr);
return ret;
}
}
public switch_scheduler_task() : this(freeswitchPINVOKE.new_switch_scheduler_task(), true) {
}