[Freeswitch-svn] [commit] r13077 - in freeswitch/trunk/src/mod/languages/mod_managed: . managed

FreeSWITCH SVN brian at freeswitch.org
Fri Apr 17 07:06:18 PDT 2009


Author: brian
Date: Fri Apr 17 09:06:17 2009
New Revision: 13077

Log:
 swigall 

Modified:
   freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx
   freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs

Modified: freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx	(original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx	Fri Apr 17 09:06:17 2009
@@ -905,6 +905,17 @@
 }
 
 
+SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get() {
+  char * jresult ;
+  char *result = 0 ;
+  
+  result = (char *) "bridge_hangup_cause";
+  
+  jresult = SWIG_csharp_string_callback((const char *)result); 
+  return jresult;
+}
+
+
 SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_READ_TERMINATOR_USED_VARIABLE_get() {
   char * jresult ;
   char *result = 0 ;
@@ -23545,11 +23556,13 @@
 }
 
 
-SWIGEXPORT void SWIGSTDCALL CSharp_rtp_flush_read_buffer(void * jarg1) {
+SWIGEXPORT void SWIGSTDCALL CSharp_rtp_flush_read_buffer(void * jarg1, int jarg2) {
   switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
+  switch_rtp_flush_t arg2 ;
   
   arg1 = (switch_rtp_t *)jarg1; 
-  rtp_flush_read_buffer(arg1);
+  arg2 = (switch_rtp_flush_t)jarg2; 
+  rtp_flush_read_buffer(arg1,arg2);
 }
 
 

Modified: freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs	(original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs	Fri Apr 17 09:06:17 2009
@@ -3604,8 +3604,8 @@
     return ret;
   }
 
-  public static void rtp_flush_read_buffer(SWIGTYPE_p_switch_rtp rtp_session) {
-    freeswitchPINVOKE.rtp_flush_read_buffer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));
+  public static void rtp_flush_read_buffer(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_flush_t flush) {
+    freeswitchPINVOKE.rtp_flush_read_buffer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)flush);
   }
 
   public static switch_status_t switch_rtp_enable_vad(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_switch_core_session session, switch_codec codec, uint flags) {
@@ -4176,6 +4176,7 @@
   public static readonly int SWITCH_MAX_DTMF_DURATION = freeswitchPINVOKE.SWITCH_MAX_DTMF_DURATION_get();
   public static readonly string SWITCH_PATH_SEPARATOR = freeswitchPINVOKE.SWITCH_PATH_SEPARATOR_get();
   public static readonly string SWITCH_URL_SEPARATOR = freeswitchPINVOKE.SWITCH_URL_SEPARATOR_get();
+  public static readonly string SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE = freeswitchPINVOKE.SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get();
   public static readonly string SWITCH_READ_TERMINATOR_USED_VARIABLE = freeswitchPINVOKE.SWITCH_READ_TERMINATOR_USED_VARIABLE_get();
   public static readonly string SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE = freeswitchPINVOKE.SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get();
   public static readonly string SWITCH_CURRENT_APPLICATION_VARIABLE = freeswitchPINVOKE.SWITCH_CURRENT_APPLICATION_VARIABLE_get();
@@ -4653,6 +4654,9 @@
   [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_URL_SEPARATOR_get")]
   public static extern string SWITCH_URL_SEPARATOR_get();
 
+  [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get")]
+  public static extern string SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get();
+
   [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_READ_TERMINATOR_USED_VARIABLE_get")]
   public static extern string SWITCH_READ_TERMINATOR_USED_VARIABLE_get();
 
@@ -9979,7 +9983,7 @@
   public static extern int switch_rtp_zerocopy_read_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3);
 
   [DllImport("mod_managed", EntryPoint="CSharp_rtp_flush_read_buffer")]
-  public static extern void rtp_flush_read_buffer(HandleRef jarg1);
+  public static extern void rtp_flush_read_buffer(HandleRef jarg1, int jarg2);
 
   [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_enable_vad")]
   public static extern int switch_rtp_enable_vad(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4);
@@ -23376,7 +23380,25 @@
   SWITCH_RTP_FLAG_PROXY_MEDIA = (1 << 18),
   SWITCH_RTP_FLAG_SHUTDOWN = (1 << 19),
   SWITCH_RTP_FLAG_FLUSH = (1 << 20),
-  SWITCH_RTP_FLAG_AUTOFLUSH = (1 << 21)
+  SWITCH_RTP_FLAG_AUTOFLUSH = (1 << 21),
+  SWITCH_RTP_FLAG_STICKY_FLUSH = (1 << 22)
+}
+
+}
+/* ----------------------------------------------------------------------------
+ * 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 {
+
+public enum switch_rtp_flush_t {
+  SWITCH_RTP_FLUSH_ONCE,
+  SWITCH_RTP_FLUSH_STICK,
+  SWITCH_RTP_FLUSH_UNSTICK
 }
 
 }



More information about the Freeswitch-svn mailing list