]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6213 --resolve
authorJeff Lenk <jeff@jefflenk.com>
Wed, 12 Feb 2014 14:45:48 +0000 (08:45 -0600)
committerJeff Lenk <jeff@jefflenk.com>
Wed, 12 Feb 2014 14:45:48 +0000 (08:45 -0600)
src/mod/languages/mod_managed/freeswitch_wrap.2010.cxx
src/mod/languages/mod_managed/managed/swig.2010.cs

index a208d939c58032f2a7f8c2b8f7bf1e32fce4f49a..db8967e3d2787e48ebb0d14fdd76a4fb8c19a0ba 100644 (file)
@@ -8791,19 +8791,21 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_set_pre_buffer_framecoun
 }\r
 \r
 \r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(unsigned short jarg1, unsigned short jarg2, unsigned long jarg3, void * jarg4) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(char * jarg1, unsigned short jarg2, unsigned short jarg3, unsigned long jarg4, void * jarg5) {\r
   int jresult ;\r
-  switch_port_t arg1 ;\r
+  char *arg1 = (char *) 0 ;\r
   switch_port_t arg2 ;\r
-  switch_port_flag_t arg3 ;\r
-  switch_core_port_allocator_t **arg4 = (switch_core_port_allocator_t **) 0 ;\r
+  switch_port_t arg3 ;\r
+  switch_port_flag_t arg4 ;\r
+  switch_core_port_allocator_t **arg5 = (switch_core_port_allocator_t **) 0 ;\r
   switch_status_t result;\r
   \r
-  arg1 = (switch_port_t)jarg1; \r
+  arg1 = (char *)jarg1; \r
   arg2 = (switch_port_t)jarg2; \r
-  arg3 = (switch_port_flag_t)jarg3; \r
-  arg4 = (switch_core_port_allocator_t **)jarg4; \r
-  result = (switch_status_t)switch_core_port_allocator_new(arg1,arg2,arg3,arg4);\r
+  arg3 = (switch_port_t)jarg3; \r
+  arg4 = (switch_port_flag_t)jarg4; \r
+  arg5 = (switch_core_port_allocator_t **)jarg5; \r
+  result = (switch_status_t)switch_core_port_allocator_new((char const *)arg1,arg2,arg3,arg4,arg5);\r
   jresult = result; \r
   return jresult;\r
 }\r
@@ -38329,6 +38331,28 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_task_id_get(vo
 }\r
 \r
 \r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_hash_set(void * jarg1, unsigned long jarg2) {\r
+  switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ;\r
+  unsigned long arg2 ;\r
+  \r
+  arg1 = (switch_scheduler_task *)jarg1; \r
+  arg2 = (unsigned long)jarg2; \r
+  if (arg1) (arg1)->hash = arg2;\r
+}\r
+\r
+\r
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_hash_get(void * jarg1) {\r
+  unsigned long jresult ;\r
+  switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ;\r
+  unsigned long result;\r
+  \r
+  arg1 = (switch_scheduler_task *)jarg1; \r
+  result = (unsigned long) ((arg1)->hash);\r
+  jresult = (unsigned long)result; \r
+  return jresult;\r
+}\r
+\r
+\r
 SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_scheduler_task() {\r
   void * jresult ;\r
   switch_scheduler_task *result = 0 ;\r
index ff79360fce0a112f122b6dd1e027725788271dd5..8da6b7623f5674911626bf0c01faaa66ce9d2609 100644 (file)
@@ -1259,8 +1259,8 @@ public class freeswitch {
     return ret;\r
   }\r
 \r
-  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) {\r
-    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));\r
+  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) {\r
+    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));\r
     return ret;\r
   }\r
 \r
@@ -9147,7 +9147,7 @@ class freeswitchPINVOKE {
   public static extern int switch_core_media_bug_set_pre_buffer_framecount(HandleRef jarg1, uint jarg2);\r
 \r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_new")]\r
-  public static extern int switch_core_port_allocator_new(ushort jarg1, ushort jarg2, uint jarg3, HandleRef jarg4);\r
+  public static extern int switch_core_port_allocator_new(string jarg1, ushort jarg2, ushort jarg3, uint jarg4, HandleRef jarg5);\r
 \r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_request_port")]\r
   public static extern int switch_core_port_allocator_request_port(HandleRef jarg1, HandleRef jarg2);\r
@@ -16112,6 +16112,12 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_task_id_get")]\r
   public static extern uint switch_scheduler_task_task_id_get(HandleRef jarg1);\r
 \r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_hash_set")]\r
+  public static extern void switch_scheduler_task_hash_set(HandleRef jarg1, uint jarg2);\r
+\r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_hash_get")]\r
+  public static extern uint switch_scheduler_task_hash_get(HandleRef jarg1);\r
+\r
   [DllImport("mod_managed", EntryPoint="CSharp_new_switch_scheduler_task")]\r
   public static extern IntPtr new_switch_scheduler_task();\r
 \r
@@ -33319,7 +33325,9 @@ namespace FreeSWITCH.Native {
 [System.Flags] public enum switch_port_flag_enum_t {\r
   SPF_NONE = 0,\r
   SPF_ODD = (1 << 0),\r
-  SPF_EVEN = (1 << 1)\r
+  SPF_EVEN = (1 << 1),\r
+  SPF_ROBUST_TCP = (1 << 2),\r
+  SPF_ROBUST_UDP = (1 << 3)\r
 }\r
 \r
 }\r
@@ -34667,6 +34675,16 @@ public class switch_scheduler_task : IDisposable {
     } \r
   }\r
 \r
+  public uint hash {\r
+    set {\r
+      freeswitchPINVOKE.switch_scheduler_task_hash_set(swigCPtr, value);\r
+    } \r
+    get {\r
+      uint ret = freeswitchPINVOKE.switch_scheduler_task_hash_get(swigCPtr);\r
+      return ret;\r
+    } \r
+  }\r
+\r
   public switch_scheduler_task() : this(freeswitchPINVOKE.new_switch_scheduler_task(), true) {\r
   }\r
 \r