Revision
17039
Author
brian
Date
2010-03-18 11:04:05 -0500 (Thu, 18 Mar 2010)

Log Message

 swigall 

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx (17038 => 17039)


--- freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx	2010-03-18 14:08:15 UTC (rev 17038)
+++ freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx	2010-03-18 16:04:05 UTC (rev 17039)
@@ -8807,11 +8807,11 @@
 SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_ctl(int jarg1, void * jarg2) {
   int jresult ;
   switch_session_ctl_t arg1 ;
-  int32_t *arg2 = (int32_t *) 0 ;
+  void *arg2 = (void *) 0 ;
   int32_t result;
   
   arg1 = (switch_session_ctl_t)jarg1; 
-  arg2 = (int32_t *)jarg2; 
+  arg2 = (void *)jarg2; 
   result = (int32_t)switch_core_session_ctl(arg1,arg2);
   jresult = result; 
   return jresult;
@@ -9105,6 +9105,28 @@
 }
 
 
+SWIGEXPORT double SWIGSTDCALL CSharp_switch_core_min_idle_cpu(double jarg1) {
+  double jresult ;
+  double arg1 ;
+  double result;
+  
+  arg1 = (double)jarg1; 
+  result = (double)switch_core_min_idle_cpu(arg1);
+  jresult = result; 
+  return jresult;
+}
+
+
+SWIGEXPORT double SWIGSTDCALL CSharp_switch_core_idle_cpu() {
+  double jresult ;
+  double result;
+  
+  result = (double)switch_core_idle_cpu();
+  jresult = result; 
+  return jresult;
+}
+
+
 SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_default_dtmf_duration(unsigned long jarg1) {
   unsigned long jresult ;
   uint32_t arg1 ;
@@ -26675,6 +26697,16 @@
 }
 
 
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_telephony_recv_event(void * jarg1, unsigned char jarg2) {
+  switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
+  switch_payload_t arg2 ;
+  
+  arg1 = (switch_rtp_t *)jarg1; 
+  arg2 = (switch_payload_t)jarg2; 
+  switch_rtp_set_telephony_recv_event(arg1,arg2);
+}
+
+
 SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_cng_pt(void * jarg1, unsigned char jarg2) {
   switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
   switch_payload_t arg2 ;

Modified: freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs (17038 => 17039)


--- freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs	2010-03-18 14:08:15 UTC (rev 17038)
+++ freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs	2010-03-18 16:04:05 UTC (rev 17039)
@@ -1983,8 +1983,8 @@
     return ret;
   }
 
-  public static int switch_core_session_ctl(switch_session_ctl_t cmd, SWIGTYPE_p_int val) {
-    int ret = freeswitchPINVOKE.switch_core_session_ctl((int)cmd, SWIGTYPE_p_int.getCPtr(val));
+  public static int switch_core_session_ctl(switch_session_ctl_t cmd, SWIGTYPE_p_void val) {
+    int ret = freeswitchPINVOKE.switch_core_session_ctl((int)cmd, SWIGTYPE_p_void.getCPtr(val));
     return ret;
   }
 
@@ -2117,6 +2117,16 @@
     return ret;
   }
 
+  public static double switch_core_min_idle_cpu(double new_limit) {
+    double ret = freeswitchPINVOKE.switch_core_min_idle_cpu(new_limit);
+    return ret;
+  }
+
+  public static double switch_core_idle_cpu() {
+    double ret = freeswitchPINVOKE.switch_core_idle_cpu();
+    return ret;
+  }
+
   public static uint switch_core_default_dtmf_duration(uint duration) {
     uint ret = freeswitchPINVOKE.switch_core_default_dtmf_duration(duration);
     return ret;
@@ -4195,6 +4205,10 @@
     freeswitchPINVOKE.switch_rtp_set_telephony_event(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), te);
   }
 
+  public static void switch_rtp_set_telephony_recv_event(SWIGTYPE_p_switch_rtp rtp_session, byte te) {
+    freeswitchPINVOKE.switch_rtp_set_telephony_recv_event(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), te);
+  }
+
   public static void switch_rtp_set_cng_pt(SWIGTYPE_p_switch_rtp rtp_session, byte pt) {
     freeswitchPINVOKE.switch_rtp_set_cng_pt(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), pt);
   }
@@ -7202,6 +7216,12 @@
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_max_dtmf_duration")]
   public static extern uint switch_core_max_dtmf_duration(uint jarg1);
 
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_min_idle_cpu")]
+  public static extern double switch_core_min_idle_cpu(double jarg1);
+
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_idle_cpu")]
+  public static extern double switch_core_idle_cpu();
+
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_default_dtmf_duration")]
   public static extern uint switch_core_default_dtmf_duration(uint jarg1);
 
@@ -11300,6 +11320,9 @@
   [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_telephony_event")]
   public static extern void switch_rtp_set_telephony_event(HandleRef jarg1, byte jarg2);
 
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_telephony_recv_event")]
+  public static extern void switch_rtp_set_telephony_recv_event(HandleRef jarg1, byte jarg2);
+
   [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_cng_pt")]
   public static extern void switch_rtp_set_cng_pt(HandleRef jarg1, byte jarg2);
 
@@ -26684,7 +26707,8 @@
   SCSC_SHUTDOWN_NOW,
   SCSC_CALIBRATE_CLOCK,
   SCSC_SAVE_HISTORY,
-  SCSC_CRASH
+  SCSC_CRASH,
+  SCSC_MIN_IDLE_CPU
 }
 
 }