]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
vs2010 reswig
authorJeff Lenk <jeff@jefflenk.com>
Tue, 1 Apr 2014 23:13:07 +0000 (18:13 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Tue, 1 Apr 2014 23:13:07 +0000 (18:13 -0500)
src/mod/languages/mod_managed/freeswitch_wrap.2010.cxx
src/mod/languages/mod_managed/managed/swig.2010.cs

index fc9ef43a88a23a38746d778dfe24ef1d0e1ea2fc..91dbe0900d40cabdb4bcab7b6bf4ffb150882314 100644 (file)
@@ -12096,24 +12096,38 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_find_rdlock(void * jarg1,
 }\r
 \r
 \r
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_first(void * jarg1) {\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_first_iter(void * jarg1, void * jarg2) {\r
   void * jresult ;\r
   switch_hash_t *arg1 = (switch_hash_t *) 0 ;\r
+  switch_hash_index_t *arg2 = (switch_hash_index_t *) 0 ;\r
   switch_hash_index_t *result = 0 ;\r
   \r
   arg1 = (switch_hash_t *)jarg1; \r
-  result = (switch_hash_index_t *)switch_core_hash_first(arg1);\r
+  arg2 = (switch_hash_index_t *)jarg2; \r
+  result = (switch_hash_index_t *)switch_core_hash_first_iter(arg1,arg2);\r
   jresult = (void *)result; \r
   return jresult;\r
 }\r
 \r
 \r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_empty(void * jarg1) {\r
+  int jresult ;\r
+  switch_hash_t *arg1 = (switch_hash_t *) 0 ;\r
+  switch_bool_t result;\r
+  \r
+  arg1 = (switch_hash_t *)jarg1; \r
+  result = (switch_bool_t)switch_core_hash_empty(arg1);\r
+  jresult = result; \r
+  return jresult;\r
+}\r
+\r
+\r
 SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_next(void * jarg1) {\r
   void * jresult ;\r
-  switch_hash_index_t *arg1 = (switch_hash_index_t *) 0 ;\r
+  switch_hash_index_t **arg1 = (switch_hash_index_t **) 0 ;\r
   switch_hash_index_t *result = 0 ;\r
   \r
-  arg1 = (switch_hash_index_t *)jarg1; \r
+  arg1 = (switch_hash_index_t **)jarg1; \r
   result = (switch_hash_index_t *)switch_core_hash_next(arg1);\r
   jresult = (void *)result; \r
   return jresult;\r
index 4cd5dd02874ad37a402dad5626699ad3c810d648..8ae5f05b07f1f4b0548aa162b7d81f8b3d5d7e01 100644 (file)
@@ -2131,14 +2131,19 @@ public class freeswitch {
     return ret;\r
   }\r
 \r
-  public static SWIGTYPE_p_switch_hashtable_iterator switch_core_hash_first(SWIGTYPE_p_switch_hashtable hash) {\r
-    IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_first(SWIGTYPE_p_switch_hashtable.getCPtr(hash));\r
+  public static SWIGTYPE_p_switch_hashtable_iterator switch_core_hash_first_iter(SWIGTYPE_p_switch_hashtable hash, SWIGTYPE_p_switch_hashtable_iterator hi) {\r
+    IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_first_iter(SWIGTYPE_p_switch_hashtable.getCPtr(hash), SWIGTYPE_p_switch_hashtable_iterator.getCPtr(hi));\r
     SWIGTYPE_p_switch_hashtable_iterator ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_hashtable_iterator(cPtr, false);\r
     return ret;\r
   }\r
 \r
-  public static SWIGTYPE_p_switch_hashtable_iterator switch_core_hash_next(SWIGTYPE_p_switch_hashtable_iterator hi) {\r
-    IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_next(SWIGTYPE_p_switch_hashtable_iterator.getCPtr(hi));\r
+  public static switch_bool_t switch_core_hash_empty(SWIGTYPE_p_switch_hashtable hash) {\r
+    switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_core_hash_empty(SWIGTYPE_p_switch_hashtable.getCPtr(hash));\r
+    return ret;\r
+  }\r
+\r
+  public static SWIGTYPE_p_switch_hashtable_iterator switch_core_hash_next(SWIGTYPE_p_p_switch_hashtable_iterator hi) {\r
+    IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_next(SWIGTYPE_p_p_switch_hashtable_iterator.getCPtr(hi));\r
     SWIGTYPE_p_switch_hashtable_iterator ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_hashtable_iterator(cPtr, false);\r
     return ret;\r
   }\r
@@ -10318,8 +10323,11 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_find_rdlock")]\r
   public static extern IntPtr switch_core_hash_find_rdlock(HandleRef jarg1, string jarg2, HandleRef jarg3);\r
 \r
-  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_first")]\r
-  public static extern IntPtr switch_core_hash_first(HandleRef jarg1);\r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_first_iter")]\r
+  public static extern IntPtr switch_core_hash_first_iter(HandleRef jarg1, HandleRef jarg2);\r
+\r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_empty")]\r
+  public static extern int switch_core_hash_empty(HandleRef jarg1);\r
 \r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_next")]\r
   public static extern IntPtr switch_core_hash_next(HandleRef jarg1);\r
@@ -22513,6 +22521,36 @@ namespace FreeSWITCH.Native {
 using System;\r
 using System.Runtime.InteropServices;\r
 \r
+public class SWIGTYPE_p_p_switch_hashtable_iterator {\r
+  private HandleRef swigCPtr;\r
+\r
+  internal SWIGTYPE_p_p_switch_hashtable_iterator(IntPtr cPtr, bool futureUse) {\r
+    swigCPtr = new HandleRef(this, cPtr);\r
+  }\r
+\r
+  protected SWIGTYPE_p_p_switch_hashtable_iterator() {\r
+    swigCPtr = new HandleRef(null, IntPtr.Zero);\r
+  }\r
+\r
+  internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_hashtable_iterator obj) {\r
+    return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
+  }\r
+}\r
+\r
+}\r
+/* ----------------------------------------------------------------------------\r
+ * This file was automatically generated by SWIG (http://www.swig.org).\r
+ * Version 2.0.1\r
+ *\r
+ * Do not make changes to this file unless you know what you are doing--modify\r
+ * the SWIG interface file instead.\r
+ * ----------------------------------------------------------------------------- */\r
+\r
+namespace FreeSWITCH.Native {\r
+\r
+using System;\r
+using System.Runtime.InteropServices;\r
+\r
 public class SWIGTYPE_p_p_switch_ivr_digit_stream {\r
   private HandleRef swigCPtr;\r
 \r
@@ -27341,6 +27379,7 @@ public enum switch_channel_flag_t {
   CF_DTLS,\r
   CF_VERBOSE_SDP,\r
   CF_DTLS_OK,\r
+  CF_3PCC,\r
   CF_VIDEO_PASSIVE,\r
   CF_NOVIDEO,\r
   CF_VIDEO_ECHO,\r