]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
swigall
authorBrian West <brian@freeswitch.org>
Wed, 24 Mar 2010 23:12:56 +0000 (23:12 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 24 Mar 2010 23:12:56 +0000 (23:12 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17089 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_managed/freeswitch_wrap.cxx
src/mod/languages/mod_managed/managed/swig.cs

index 7b0196cca1f797d1e2e9496360f46cd9d979f60c..aab23429f86ed87cbc4c0cb1d72ed843a72a4606 100644 (file)
@@ -7601,6 +7601,22 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_delete_locked(void * jarg1, c
 }
 
 
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_delete_multi(void * jarg1, void * jarg2, void * jarg3) {
+  int jresult ;
+  switch_hash_t *arg1 = (switch_hash_t *) 0 ;
+  switch_hash_delete_callback_t arg2 = (switch_hash_delete_callback_t) 0 ;
+  void *arg3 = (void *) 0 ;
+  switch_status_t result;
+  
+  arg1 = (switch_hash_t *)jarg1; 
+  arg2 = (switch_hash_delete_callback_t)jarg2; 
+  arg3 = (void *)jarg3; 
+  result = (switch_status_t)switch_core_hash_delete_multi(arg1,arg2,arg3);
+  jresult = result; 
+  return jresult;
+}
+
+
 SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_find(void * jarg1, char * jarg2) {
   void * jresult ;
   switch_hash_t *arg1 = (switch_hash_t *) 0 ;
@@ -11202,18 +11218,18 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_util_quote_shell_arg(char * jarg1) {
 }
 
 
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_url_encode(char * jarg1, char * jarg2, unsigned long jarg3) {
-  unsigned long jresult ;
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_encode(char * jarg1, char * jarg2, unsigned long jarg3) {
+  char * jresult ;
   char *arg1 = (char *) 0 ;
   char *arg2 = (char *) 0 ;
   size_t arg3 ;
-  size_t result;
+  char *result = 0 ;
   
   arg1 = (char *)jarg1; 
   arg2 = (char *)jarg2; 
   arg3 = (size_t)jarg3; 
-  result = switch_url_encode((char const *)arg1,arg2,arg3);
-  jresult = (unsigned long)result
+  result = (char *)switch_url_encode((char const *)arg1,arg2,arg3);
+  jresult = SWIG_csharp_string_callback((const char *)result)
   return jresult;
 }
 
index 3582aa0f4d70ce8f67b530c833210eb4ae9bed0f..90b0c57877125703a96476c6b4e3cc7e99f7dcd4 100644 (file)
@@ -1562,6 +1562,11 @@ public class freeswitch {
     return ret;
   }
 
+  public static switch_status_t switch_core_hash_delete_multi(SWIGTYPE_p_switch_hash hash, SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t callback, SWIGTYPE_p_void pData) {
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_delete_multi(SWIGTYPE_p_switch_hash.getCPtr(hash), SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(pData));
+    return ret;
+  }
+
   public static SWIGTYPE_p_void switch_core_hash_find(SWIGTYPE_p_switch_hash hash, string key) {
     IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_find(SWIGTYPE_p_switch_hash.getCPtr(hash), key);
     SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
@@ -2642,8 +2647,8 @@ public class freeswitch {
     return ret;
   }
 
-  public static uint switch_url_encode(string url, string buf, uint len) {
-    uint ret = freeswitchPINVOKE.switch_url_encode(url, buf, len);
+  public static string switch_url_encode(string url, string buf, uint len) {
+    string ret = freeswitchPINVOKE.switch_url_encode(url, buf, len);
     return ret;
   }
 
@@ -6877,6 +6882,9 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete_locked")]
   public static extern int switch_core_hash_delete_locked(HandleRef jarg1, string jarg2, HandleRef jarg3);
 
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete_multi")]
+  public static extern int switch_core_hash_delete_multi(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
+
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_find")]
   public static extern IntPtr switch_core_hash_find(HandleRef jarg1, string jarg2);
 
@@ -7688,7 +7696,7 @@ class freeswitchPINVOKE {
   public static extern string switch_util_quote_shell_arg(string jarg1);
 
   [DllImport("mod_managed", EntryPoint="CSharp_switch_url_encode")]
-  public static extern uint switch_url_encode(string jarg1, string jarg2, uint jarg3);
+  public static extern string switch_url_encode(string jarg1, string jarg2, uint jarg3);
 
   [DllImport("mod_managed", EntryPoint="CSharp_switch_url_decode")]
   public static extern string switch_url_decode(string jarg1);
@@ -13171,6 +13179,36 @@ namespace FreeSWITCH.Native {
 using System;
 using System.Runtime.InteropServices;
 
+public class SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t {
+  private HandleRef swigCPtr;
+
+  internal SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t(IntPtr cPtr, bool futureUse) {
+    swigCPtr = new HandleRef(this, cPtr);
+  }
+
+  protected SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t() {
+    swigCPtr = new HandleRef(null, IntPtr.Zero);
+  }
+
+  internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t obj) {
+    return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+  }
+}
+
+}
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org).
+ * Version 1.3.35
+ *
+ * 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_f_p_switch_asr_handle_p_char_double__void {
   private HandleRef swigCPtr;