mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 14:44:17 +00:00
swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17039 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
66fd931d26
commit
5565791b66
2 files changed
+61
-5
No files matched your search
@@ -1983,8 +1983,8 @@ public class freeswitch {
|
||||
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 @@ public class freeswitch {
|
||||
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 @@ public class freeswitch {
|
||||
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 @@ class freeswitchPINVOKE {
|
||||
[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 @@ class freeswitchPINVOKE {
|
||||
[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 @@ public enum switch_session_ctl_t {
|
||||
SCSC_SHUTDOWN_NOW,
|
||||
SCSC_CALIBRATE_CLOCK,
|
||||
SCSC_SAVE_HISTORY,
|
||||
SCSC_CRASH
|
||||
SCSC_CRASH,
|
||||
SCSC_MIN_IDLE_CPU
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user