}\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
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
[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
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
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