]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3565 reswig vs2010
authorJeff Lenk <jeff@jefflenk.com>
Wed, 14 Sep 2011 13:29:56 +0000 (08:29 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Wed, 14 Sep 2011 13:29:56 +0000 (08:29 -0500)
src/mod/languages/mod_managed/freeswitch_wrap.2010.cxx
src/mod/languages/mod_managed/managed/swig.2010.cs

index 0935ec7d174f301ad2bf6dd6be2101f820ab1fe9..cc6fa0fe5774d4273ec8d3819a807a3f06135d27 100644 (file)
@@ -10200,7 +10200,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cond_next() {
 }\r
 \r
 \r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_send(char * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_send_args(char * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8) {\r
   int jresult ;\r
   char *arg1 = (char *) 0 ;\r
   char *arg2 = (char *) 0 ;\r
@@ -10220,7 +10220,21 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_send(char * jarg1, char * jar
   arg6 = (char *)jarg6; \r
   arg7 = (char *)jarg7; \r
   arg8 = (char *)jarg8; \r
-  result = (switch_status_t)switch_core_chat_send((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8);\r
+  result = (switch_status_t)switch_core_chat_send_args((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8);\r
+  jresult = result; \r
+  return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_send(char * jarg1, void * jarg2) {\r
+  int jresult ;\r
+  char *arg1 = (char *) 0 ;\r
+  switch_event_t *arg2 = (switch_event_t *) 0 ;\r
+  switch_status_t result;\r
+  \r
+  arg1 = (char *)jarg1; \r
+  arg2 = (switch_event_t *)jarg2; \r
+  result = (switch_status_t)switch_core_chat_send((char const *)arg1,arg2);\r
   jresult = result; \r
   return jresult;\r
 }\r
@@ -20178,10 +20192,10 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_interface_interface_name_get(vo
 \r
 SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_chat_send_set(void * jarg1, void * jarg2) {\r
   switch_chat_interface *arg1 = (switch_chat_interface *) 0 ;\r
-  switch_status_t (*arg2)(char const *,char const *,char const *,char const *,char const *,char const *,char const *) = (switch_status_t (*)(char const *,char const *,char const *,char const *,char const *,char const *,char const *)) 0 ;\r
+  switch_status_t (*arg2)(switch_event_t *) = (switch_status_t (*)(switch_event_t *)) 0 ;\r
   \r
   arg1 = (switch_chat_interface *)jarg1; \r
-  arg2 = (switch_status_t (*)(char const *,char const *,char const *,char const *,char const *,char const *,char const *))jarg2; \r
+  arg2 = (switch_status_t (*)(switch_event_t *))jarg2; \r
   if (arg1) (arg1)->chat_send = arg2;\r
 }\r
 \r
@@ -20189,10 +20203,10 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_chat_send_set(void * ja
 SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_chat_send_get(void * jarg1) {\r
   void * jresult ;\r
   switch_chat_interface *arg1 = (switch_chat_interface *) 0 ;\r
-  switch_status_t (*result)(char const *,char const *,char const *,char const *,char const *,char const *,char const *) = 0 ;\r
+  switch_status_t (*result)(switch_event_t *) = 0 ;\r
   \r
   arg1 = (switch_chat_interface *)jarg1; \r
-  result = (switch_status_t (*)(char const *,char const *,char const *,char const *,char const *,char const *,char const *)) ((arg1)->chat_send);\r
+  result = (switch_status_t (*)(switch_event_t *)) ((arg1)->chat_send);\r
   jresult = (void *)result; \r
   return jresult;\r
 }\r
index 72231bd0dc87cc9dc804a98de96a58b43b0d2fe1..e8f921b6f4f9f82f6808cccf92d858221b50cf04 100644 (file)
@@ -2424,8 +2424,13 @@ public class freeswitch {
     freeswitchPINVOKE.switch_cond_next();\r
   }\r
 \r
-  public static switch_status_t switch_core_chat_send(string name, string proto, string from, string to, string subject, string body, string type, string hint) {\r
-    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_chat_send(name, proto, from, to, subject, body, type, hint);\r
+  public static switch_status_t switch_core_chat_send_args(string dest_proto, string proto, string from, string to, string subject, string body, string type, string hint) {\r
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_chat_send_args(dest_proto, proto, from, to, subject, body, type, hint);\r
+    return ret;\r
+  }\r
+\r
+  public static switch_status_t switch_core_chat_send(string dest_proto, switch_event message_event) {\r
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_chat_send(dest_proto, switch_event.getCPtr(message_event));\r
     return ret;\r
   }\r
 \r
@@ -8543,8 +8548,11 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_switch_cond_next")]\r
   public static extern void switch_cond_next();\r
 \r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_chat_send_args")]\r
+  public static extern int switch_core_chat_send_args(string jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8);\r
+\r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_chat_send")]\r
-  public static extern int switch_core_chat_send(string jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8);\r
+  public static extern int switch_core_chat_send(string jarg1, HandleRef jarg2);\r
 \r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_preprocess_session")]\r
   public static extern int switch_ivr_preprocess_session(HandleRef jarg1, string jarg2);\r
@@ -15191,36 +15199,6 @@ namespace FreeSWITCH.Native {
 using System;\r
 using System.Runtime.InteropServices;\r
 \r
-public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t {\r
-  private HandleRef swigCPtr;\r
-\r
-  internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) {\r
-    swigCPtr = new HandleRef(this, cPtr);\r
-  }\r
-\r
-  protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t() {\r
-    swigCPtr = new HandleRef(null, IntPtr.Zero);\r
-  }\r
-\r
-  internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t 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_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml {\r
   private HandleRef swigCPtr;\r
 \r
@@ -16571,6 +16549,36 @@ namespace FreeSWITCH.Native {
 using System;\r
 using System.Runtime.InteropServices;\r
 \r
+public class SWIGTYPE_p_f_p_switch_event__switch_status_t {\r
+  private HandleRef swigCPtr;\r
+\r
+  internal SWIGTYPE_p_f_p_switch_event__switch_status_t(IntPtr cPtr, bool futureUse) {\r
+    swigCPtr = new HandleRef(this, cPtr);\r
+  }\r
+\r
+  protected SWIGTYPE_p_f_p_switch_event__switch_status_t() {\r
+    swigCPtr = new HandleRef(null, IntPtr.Zero);\r
+  }\r
+\r
+  internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_event__switch_status_t 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_f_p_switch_event__void {\r
   private HandleRef swigCPtr;\r
 \r
@@ -20217,7 +20225,8 @@ namespace FreeSWITCH.Native {
   SAF_NONE = 0,\r
   SAF_SUPPORT_NOMEDIA = (1 << 0),\r
   SAF_ROUTING_EXEC = (1 << 1),\r
-  SAF_MEDIA_TAP = (1 << 2)\r
+  SAF_MEDIA_TAP = (1 << 2),\r
+  SAF_ZOMBIE_EXEC = (1 << 3)\r
 }\r
 \r
 }\r
@@ -22490,6 +22499,7 @@ public enum switch_channel_flag_t {
   CF_LAZY_ATTENDED_TRANSFER,\r
   CF_SIGNAL_DATA,\r
   CF_SIMPLIFY,\r
+  CF_ZOMBIE_EXEC,\r
   CF_FLAG_MAX\r
 }\r
 \r
@@ -22767,13 +22777,13 @@ public class switch_chat_interface : IDisposable {
     } \r
   }\r
 \r
-  public SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t chat_send {\r
+  public SWIGTYPE_p_f_p_switch_event__switch_status_t chat_send {\r
     set {\r
-      freeswitchPINVOKE.switch_chat_interface_chat_send_set(swigCPtr, SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t.getCPtr(value));\r
+      freeswitchPINVOKE.switch_chat_interface_chat_send_set(swigCPtr, SWIGTYPE_p_f_p_switch_event__switch_status_t.getCPtr(value));\r
     } \r
     get {\r
       IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_chat_send_get(swigCPtr);\r
-      SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t(cPtr, false);\r
+      SWIGTYPE_p_f_p_switch_event__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_event__switch_status_t(cPtr, false);\r
       return ret;\r
     } \r
   }\r