}
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_first(void * jarg1) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_first_iter(void * jarg1, void * jarg2) {
void * jresult ;
switch_hash_t *arg1 = (switch_hash_t *) 0 ;
+ switch_hash_index_t *arg2 = (switch_hash_index_t *) 0 ;
switch_hash_index_t *result = 0 ;
arg1 = (switch_hash_t *)jarg1;
- result = (switch_hash_index_t *)switch_core_hash_first(arg1);
+ arg2 = (switch_hash_index_t *)jarg2;
+ result = (switch_hash_index_t *)switch_core_hash_first_iter(arg1,arg2);
jresult = (void *)result;
return jresult;
}
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_empty(void * jarg1) {
+ int jresult ;
+ switch_hash_t *arg1 = (switch_hash_t *) 0 ;
+ switch_bool_t result;
+
+ arg1 = (switch_hash_t *)jarg1;
+ result = (switch_bool_t)switch_core_hash_empty(arg1);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_next(void * jarg1) {
void * jresult ;
- switch_hash_index_t *arg1 = (switch_hash_index_t *) 0 ;
+ switch_hash_index_t **arg1 = (switch_hash_index_t **) 0 ;
switch_hash_index_t *result = 0 ;
- arg1 = (switch_hash_index_t *)jarg1;
+ arg1 = (switch_hash_index_t **)jarg1;
result = (switch_hash_index_t *)switch_core_hash_next(arg1);
jresult = (void *)result;
return jresult;
return ret;
}
- public static SWIGTYPE_p_switch_hashtable_iterator switch_core_hash_first(SWIGTYPE_p_switch_hashtable hash) {
- IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_first(SWIGTYPE_p_switch_hashtable.getCPtr(hash));
+ public static SWIGTYPE_p_switch_hashtable_iterator switch_core_hash_first_iter(SWIGTYPE_p_switch_hashtable hash, SWIGTYPE_p_switch_hashtable_iterator hi) {
+ IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_first_iter(SWIGTYPE_p_switch_hashtable.getCPtr(hash), SWIGTYPE_p_switch_hashtable_iterator.getCPtr(hi));
SWIGTYPE_p_switch_hashtable_iterator ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_hashtable_iterator(cPtr, false);
return ret;
}
- public static SWIGTYPE_p_switch_hashtable_iterator switch_core_hash_next(SWIGTYPE_p_switch_hashtable_iterator hi) {
- IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_next(SWIGTYPE_p_switch_hashtable_iterator.getCPtr(hi));
+ public static switch_bool_t switch_core_hash_empty(SWIGTYPE_p_switch_hashtable hash) {
+ switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_core_hash_empty(SWIGTYPE_p_switch_hashtable.getCPtr(hash));
+ return ret;
+ }
+
+ public static SWIGTYPE_p_switch_hashtable_iterator switch_core_hash_next(SWIGTYPE_p_p_switch_hashtable_iterator hi) {
+ IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_next(SWIGTYPE_p_p_switch_hashtable_iterator.getCPtr(hi));
SWIGTYPE_p_switch_hashtable_iterator ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_hashtable_iterator(cPtr, false);
return ret;
}
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_find_rdlock")]
public static extern IntPtr switch_core_hash_find_rdlock(HandleRef jarg1, string jarg2, HandleRef jarg3);
- [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_first")]
- public static extern IntPtr switch_core_hash_first(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_first_iter")]
+ public static extern IntPtr switch_core_hash_first_iter(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_empty")]
+ public static extern int switch_core_hash_empty(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_next")]
public static extern IntPtr switch_core_hash_next(HandleRef jarg1);
using System;
using System.Runtime.InteropServices;
+public class SWIGTYPE_p_p_switch_hashtable_iterator {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_p_switch_hashtable_iterator(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_p_switch_hashtable_iterator() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_hashtable_iterator obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org).
+ * Version 2.0.7
+ *
+ * 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_p_switch_ivr_digit_stream {
private HandleRef swigCPtr;