mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
swigall
This commit is contained in:
parent
5818a24ca5
commit
61c641aa0b
@ -1860,6 +1860,16 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_MAX_FORWARDS_VARIABLE_get() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_MAX_SESSION_TRANSFERS_VARIABLE_get() {
|
||||||
|
char * jresult ;
|
||||||
|
char *result = 0 ;
|
||||||
|
|
||||||
|
result = (char *)("max_session_transfers");
|
||||||
|
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_DISABLE_APP_LOG_VARIABLE_get() {
|
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_DISABLE_APP_LOG_VARIABLE_get() {
|
||||||
char * jresult ;
|
char * jresult ;
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
@ -14754,12 +14764,12 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_core_session_check_interface(
|
|||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_read_callback(void * jarg1, void * jarg2, void * jarg3) {
|
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_read_callback(void * jarg1, void * jarg2, void * jarg3) {
|
||||||
int jresult ;
|
int jresult ;
|
||||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||||
switch_core_video_thread_callback_func_t *arg2 = (switch_core_video_thread_callback_func_t *) 0 ;
|
switch_core_video_thread_callback_func_t arg2 = (switch_core_video_thread_callback_func_t) 0 ;
|
||||||
void *arg3 = (void *) 0 ;
|
void *arg3 = (void *) 0 ;
|
||||||
switch_status_t result;
|
switch_status_t result;
|
||||||
|
|
||||||
arg1 = (switch_core_session_t *)jarg1;
|
arg1 = (switch_core_session_t *)jarg1;
|
||||||
arg2 = (switch_core_video_thread_callback_func_t *)jarg2;
|
arg2 = (switch_core_video_thread_callback_func_t)jarg2;
|
||||||
arg3 = (void *)jarg3;
|
arg3 = (void *)jarg3;
|
||||||
result = (switch_status_t)switch_core_session_set_video_read_callback(arg1,arg2,arg3);
|
result = (switch_status_t)switch_core_session_set_video_read_callback(arg1,arg2,arg3);
|
||||||
jresult = result;
|
jresult = result;
|
||||||
@ -19485,6 +19495,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_file_path(char * jarg1) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_parse_audio_col(int jarg1) {
|
||||||
|
char * jresult ;
|
||||||
|
switch_audio_col_t arg1 ;
|
||||||
|
char *result = 0 ;
|
||||||
|
|
||||||
|
arg1 = (switch_audio_col_t)jarg1;
|
||||||
|
result = (char *)switch_parse_audio_col(arg1);
|
||||||
|
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_parse_cidr(char * jarg1, void * jarg2, void * jarg3, void * jarg4) {
|
SWIGEXPORT int SWIGSTDCALL CSharp_switch_parse_cidr(char * jarg1, void * jarg2, void * jarg3, void * jarg4) {
|
||||||
int jresult ;
|
int jresult ;
|
||||||
char *arg1 = (char *) 0 ;
|
char *arg1 = (char *) 0 ;
|
||||||
@ -20468,6 +20490,76 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_create(void * jarg1) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cputime_userms_set(void * jarg1, long long jarg2) {
|
||||||
|
switch_cputime *arg1 = (switch_cputime *) 0 ;
|
||||||
|
int64_t arg2 ;
|
||||||
|
|
||||||
|
arg1 = (switch_cputime *)jarg1;
|
||||||
|
arg2 = (int64_t)jarg2;
|
||||||
|
if (arg1) (arg1)->userms = arg2;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT long long SWIGSTDCALL CSharp_switch_cputime_userms_get(void * jarg1) {
|
||||||
|
long long jresult ;
|
||||||
|
switch_cputime *arg1 = (switch_cputime *) 0 ;
|
||||||
|
int64_t result;
|
||||||
|
|
||||||
|
arg1 = (switch_cputime *)jarg1;
|
||||||
|
result = (int64_t) ((arg1)->userms);
|
||||||
|
jresult = result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cputime_kernelms_set(void * jarg1, long long jarg2) {
|
||||||
|
switch_cputime *arg1 = (switch_cputime *) 0 ;
|
||||||
|
int64_t arg2 ;
|
||||||
|
|
||||||
|
arg1 = (switch_cputime *)jarg1;
|
||||||
|
arg2 = (int64_t)jarg2;
|
||||||
|
if (arg1) (arg1)->kernelms = arg2;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT long long SWIGSTDCALL CSharp_switch_cputime_kernelms_get(void * jarg1) {
|
||||||
|
long long jresult ;
|
||||||
|
switch_cputime *arg1 = (switch_cputime *) 0 ;
|
||||||
|
int64_t result;
|
||||||
|
|
||||||
|
arg1 = (switch_cputime *)jarg1;
|
||||||
|
result = (int64_t) ((arg1)->kernelms);
|
||||||
|
jresult = result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cputime() {
|
||||||
|
void * jresult ;
|
||||||
|
switch_cputime *result = 0 ;
|
||||||
|
|
||||||
|
result = (switch_cputime *)new switch_cputime();
|
||||||
|
jresult = (void *)result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cputime(void * jarg1) {
|
||||||
|
switch_cputime *arg1 = (switch_cputime *) 0 ;
|
||||||
|
|
||||||
|
arg1 = (switch_cputime *)jarg1;
|
||||||
|
delete arg1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_getcputime(void * jarg1) {
|
||||||
|
switch_cputime *arg1 = (switch_cputime *) 0 ;
|
||||||
|
|
||||||
|
arg1 = (switch_cputime *)jarg1;
|
||||||
|
switch_getcputime(arg1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_var_set(void * jarg1, char * jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_var_set(void * jarg1, char * jarg2) {
|
||||||
profile_node_s *arg1 = (profile_node_s *) 0 ;
|
profile_node_s *arg1 = (profile_node_s *) 0 ;
|
||||||
char *arg2 = (char *) 0 ;
|
char *arg2 = (char *) 0 ;
|
||||||
|
@ -4123,6 +4123,11 @@ public class freeswitch {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static string switch_parse_audio_col(switch_audio_col_t col) {
|
||||||
|
string ret = freeswitchPINVOKE.switch_parse_audio_col((int)col);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
public static int switch_parse_cidr(string arg0, ip_t ip, ip_t mask, SWIGTYPE_p_unsigned_long bitp) {
|
public static int switch_parse_cidr(string arg0, ip_t ip, ip_t mask, SWIGTYPE_p_unsigned_long bitp) {
|
||||||
int ret = freeswitchPINVOKE.switch_parse_cidr(arg0, ip_t.getCPtr(ip), ip_t.getCPtr(mask), SWIGTYPE_p_unsigned_long.getCPtr(bitp));
|
int ret = freeswitchPINVOKE.switch_parse_cidr(arg0, ip_t.getCPtr(ip), ip_t.getCPtr(mask), SWIGTYPE_p_unsigned_long.getCPtr(bitp));
|
||||||
return ret;
|
return ret;
|
||||||
@ -4276,6 +4281,10 @@ public class freeswitch {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void switch_getcputime(switch_cputime t) {
|
||||||
|
freeswitchPINVOKE.switch_getcputime(switch_cputime.getCPtr(t));
|
||||||
|
}
|
||||||
|
|
||||||
public static switch_caller_extension switch_caller_extension_new(SWIGTYPE_p_switch_core_session session, string extension_name, string extension_number) {
|
public static switch_caller_extension switch_caller_extension_new(SWIGTYPE_p_switch_core_session session, string extension_name, string extension_number) {
|
||||||
IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_new(SWIGTYPE_p_switch_core_session.getCPtr(session), extension_name, extension_number);
|
IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_new(SWIGTYPE_p_switch_core_session.getCPtr(session), extension_name, extension_number);
|
||||||
switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false);
|
switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false);
|
||||||
@ -7371,6 +7380,7 @@ public class freeswitch {
|
|||||||
public static readonly string SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE = freeswitchPINVOKE.SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get();
|
public static readonly string SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE = freeswitchPINVOKE.SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get();
|
||||||
public static readonly string SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE = freeswitchPINVOKE.SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get();
|
public static readonly string SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE = freeswitchPINVOKE.SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get();
|
||||||
public static readonly string SWITCH_MAX_FORWARDS_VARIABLE = freeswitchPINVOKE.SWITCH_MAX_FORWARDS_VARIABLE_get();
|
public static readonly string SWITCH_MAX_FORWARDS_VARIABLE = freeswitchPINVOKE.SWITCH_MAX_FORWARDS_VARIABLE_get();
|
||||||
|
public static readonly string SWITCH_MAX_SESSION_TRANSFERS_VARIABLE = freeswitchPINVOKE.SWITCH_MAX_SESSION_TRANSFERS_VARIABLE_get();
|
||||||
public static readonly string SWITCH_DISABLE_APP_LOG_VARIABLE = freeswitchPINVOKE.SWITCH_DISABLE_APP_LOG_VARIABLE_get();
|
public static readonly string SWITCH_DISABLE_APP_LOG_VARIABLE = freeswitchPINVOKE.SWITCH_DISABLE_APP_LOG_VARIABLE_get();
|
||||||
public static readonly string SWITCH_SPEECH_KEY = freeswitchPINVOKE.SWITCH_SPEECH_KEY_get();
|
public static readonly string SWITCH_SPEECH_KEY = freeswitchPINVOKE.SWITCH_SPEECH_KEY_get();
|
||||||
public static readonly string SWITCH_UUID_BRIDGE = freeswitchPINVOKE.SWITCH_UUID_BRIDGE_get();
|
public static readonly string SWITCH_UUID_BRIDGE = freeswitchPINVOKE.SWITCH_UUID_BRIDGE_get();
|
||||||
@ -8114,6 +8124,9 @@ class freeswitchPINVOKE {
|
|||||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_FORWARDS_VARIABLE_get")]
|
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_FORWARDS_VARIABLE_get")]
|
||||||
public static extern string SWITCH_MAX_FORWARDS_VARIABLE_get();
|
public static extern string SWITCH_MAX_FORWARDS_VARIABLE_get();
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_SESSION_TRANSFERS_VARIABLE_get")]
|
||||||
|
public static extern string SWITCH_MAX_SESSION_TRANSFERS_VARIABLE_get();
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DISABLE_APP_LOG_VARIABLE_get")]
|
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DISABLE_APP_LOG_VARIABLE_get")]
|
||||||
public static extern string SWITCH_DISABLE_APP_LOG_VARIABLE_get();
|
public static extern string SWITCH_DISABLE_APP_LOG_VARIABLE_get();
|
||||||
|
|
||||||
@ -12356,6 +12369,9 @@ class freeswitchPINVOKE {
|
|||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_is_file_path")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_is_file_path")]
|
||||||
public static extern int switch_is_file_path(string jarg1);
|
public static extern int switch_is_file_path(string jarg1);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_parse_audio_col")]
|
||||||
|
public static extern string switch_parse_audio_col(int jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_parse_cidr")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_parse_cidr")]
|
||||||
public static extern int switch_parse_cidr(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
|
public static extern int switch_parse_cidr(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
|
||||||
|
|
||||||
@ -12569,6 +12585,27 @@ class freeswitchPINVOKE {
|
|||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buffer_create")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buffer_create")]
|
||||||
public static extern int switch_frame_buffer_create(HandleRef jarg1);
|
public static extern int switch_frame_buffer_create(HandleRef jarg1);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_cputime_userms_set")]
|
||||||
|
public static extern void switch_cputime_userms_set(HandleRef jarg1, long jarg2);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_cputime_userms_get")]
|
||||||
|
public static extern long switch_cputime_userms_get(HandleRef jarg1);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_cputime_kernelms_set")]
|
||||||
|
public static extern void switch_cputime_kernelms_set(HandleRef jarg1, long jarg2);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_cputime_kernelms_get")]
|
||||||
|
public static extern long switch_cputime_kernelms_get(HandleRef jarg1);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_cputime")]
|
||||||
|
public static extern IntPtr new_switch_cputime();
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_cputime")]
|
||||||
|
public static extern void delete_switch_cputime(HandleRef jarg1);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_getcputime")]
|
||||||
|
public static extern void switch_getcputime(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_var_set")]
|
[DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_var_set")]
|
||||||
public static extern void profile_node_t_var_set(HandleRef jarg1, string jarg2);
|
public static extern void profile_node_t_var_set(HandleRef jarg1, string jarg2);
|
||||||
|
|
||||||
@ -19909,15 +19946,15 @@ public class profile_node_t : IDisposable {
|
|||||||
namespace FreeSWITCH.Native {
|
namespace FreeSWITCH.Native {
|
||||||
|
|
||||||
public enum rtcp_psfb_t {
|
public enum rtcp_psfb_t {
|
||||||
RTCP_PSFB_PLI = 1,
|
_RTCP_PSFB_PLI = 1,
|
||||||
RTCP_PSFB_SLI = 2,
|
_RTCP_PSFB_SLI = 2,
|
||||||
RTCP_PSFB_RPSI = 3,
|
_RTCP_PSFB_RPSI = 3,
|
||||||
RTCP_PSFB_FIR = 4,
|
_RTCP_PSFB_FIR = 4,
|
||||||
RTCP_PSFB_TSTR = 5,
|
_RTCP_PSFB_TSTR = 5,
|
||||||
RTCP_PSFB_TSTN = 6,
|
_RTCP_PSFB_TSTN = 6,
|
||||||
RTCP_PSFB_VBCM = 7,
|
_RTCP_PSFB_VBCM = 7,
|
||||||
RTCP_PSFB_PSLEI = 8,
|
_RTCP_PSFB_PSLEI = 8,
|
||||||
RTCP_PSFB_AFB = 15
|
_RTCP_PSFB_AFB = 15
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -19932,20 +19969,20 @@ public enum rtcp_psfb_t {
|
|||||||
namespace FreeSWITCH.Native {
|
namespace FreeSWITCH.Native {
|
||||||
|
|
||||||
public enum rtcp_pt_t {
|
public enum rtcp_pt_t {
|
||||||
RTCP_PT_IJ = 195,
|
_RTCP_PT_IJ = 195,
|
||||||
RTCP_PT_SR = 200,
|
_RTCP_PT_SR = 200,
|
||||||
RTCP_PT_RR = 201,
|
_RTCP_PT_RR = 201,
|
||||||
RTCP_PT_SDES = 202,
|
_RTCP_PT_SDES = 202,
|
||||||
RTPC_PT_BYE = 203,
|
_RTCP_PT_BYE = 203,
|
||||||
RTCP_PT_APP = 204,
|
_RTCP_PT_APP = 204,
|
||||||
RTCP_PT_RTPFB = 205,
|
_RTCP_PT_RTPFB = 205,
|
||||||
RTCP_PT_PSFB = 206,
|
_RTCP_PT_PSFB = 206,
|
||||||
RTCP_PT_XR = 207,
|
_RTCP_PT_XR = 207,
|
||||||
RTCP_PT_AVB = 208,
|
_RTCP_PT_AVB = 208,
|
||||||
RTCP_PT_RSI = 209,
|
_RTCP_PT_RSI = 209,
|
||||||
RTCP_PT_TOKEN = 210,
|
_RTCP_PT_TOKEN = 210,
|
||||||
RTCP_PT_IDMS = 211,
|
_RTCP_PT_IDMS = 211,
|
||||||
RTCP_PT_LAST = 255
|
_RTCP_PT_LAST = 255
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -19960,13 +19997,13 @@ public enum rtcp_pt_t {
|
|||||||
namespace FreeSWITCH.Native {
|
namespace FreeSWITCH.Native {
|
||||||
|
|
||||||
public enum rtcp_rtpfb_t {
|
public enum rtcp_rtpfb_t {
|
||||||
RTCP_RTPFB_NACK = 1,
|
_RTCP_RTPFB_NACK = 1,
|
||||||
RTCP_RTPFB_TMMBR = 3,
|
_RTCP_RTPFB_TMMBR = 3,
|
||||||
RTCP_RTPFB_TMMBN = 4,
|
_RTCP_RTPFB_TMMBN = 4,
|
||||||
RTCP_RTPFB_SR_REQ = 5,
|
_RTCP_RTPFB_SR_REQ = 5,
|
||||||
RTCP_RTPFB_RAMS = 6,
|
_RTCP_RTPFB_RAMS = 6,
|
||||||
RTCP_RTPFB_TLLEI = 7,
|
_RTCP_RTPFB_TLLEI = 7,
|
||||||
RTCP_RTPFB_ECN_FB = 8
|
_RTCP_RTPFB_ECN_FB = 8
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -19981,17 +20018,17 @@ public enum rtcp_rtpfb_t {
|
|||||||
namespace FreeSWITCH.Native {
|
namespace FreeSWITCH.Native {
|
||||||
|
|
||||||
public enum rtcp_sdes_t {
|
public enum rtcp_sdes_t {
|
||||||
RTCP_SDES_END = 0,
|
_RTCP_SDES_END = 0,
|
||||||
RTCP_SDES_CNAME = 1,
|
_RTCP_SDES_CNAME = 1,
|
||||||
RTCP_SDES_NAME = 2,
|
_RTCP_SDES_NAME = 2,
|
||||||
RTCP_SDES_EMAIL = 3,
|
_RTCP_SDES_EMAIL = 3,
|
||||||
RTCP_SDES_PHONE = 4,
|
_RTCP_SDES_PHONE = 4,
|
||||||
RTCP_SDES_LOC = 5,
|
_RTCP_SDES_LOC = 5,
|
||||||
RTCP_SDES_TOOL = 6,
|
_RTCP_SDES_TOOL = 6,
|
||||||
RTCP_SDES_NOTE = 7,
|
_RTCP_SDES_NOTE = 7,
|
||||||
RTCP_SDES_PRIV = 8,
|
_RTCP_SDES_PRIV = 8,
|
||||||
RTCP_SDES_H323 = 9,
|
_RTCP_SDES_H323 = 9,
|
||||||
RTCP_SDES_APSI = 10
|
_RTCP_SDES_APSI = 10
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -31453,6 +31490,75 @@ namespace FreeSWITCH.Native {
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
public class switch_cputime : IDisposable {
|
||||||
|
private HandleRef swigCPtr;
|
||||||
|
protected bool swigCMemOwn;
|
||||||
|
|
||||||
|
internal switch_cputime(IntPtr cPtr, bool cMemoryOwn) {
|
||||||
|
swigCMemOwn = cMemoryOwn;
|
||||||
|
swigCPtr = new HandleRef(this, cPtr);
|
||||||
|
}
|
||||||
|
|
||||||
|
internal static HandleRef getCPtr(switch_cputime obj) {
|
||||||
|
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||||
|
}
|
||||||
|
|
||||||
|
~switch_cputime() {
|
||||||
|
Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
public virtual void Dispose() {
|
||||||
|
lock(this) {
|
||||||
|
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||||
|
if (swigCMemOwn) {
|
||||||
|
swigCMemOwn = false;
|
||||||
|
freeswitchPINVOKE.delete_switch_cputime(swigCPtr);
|
||||||
|
}
|
||||||
|
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||||
|
}
|
||||||
|
GC.SuppressFinalize(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public long userms {
|
||||||
|
set {
|
||||||
|
freeswitchPINVOKE.switch_cputime_userms_set(swigCPtr, value);
|
||||||
|
}
|
||||||
|
get {
|
||||||
|
long ret = freeswitchPINVOKE.switch_cputime_userms_get(swigCPtr);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public long kernelms {
|
||||||
|
set {
|
||||||
|
freeswitchPINVOKE.switch_cputime_kernelms_set(swigCPtr, value);
|
||||||
|
}
|
||||||
|
get {
|
||||||
|
long ret = freeswitchPINVOKE.switch_cputime_kernelms_get(swigCPtr);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public switch_cputime() : this(freeswitchPINVOKE.new_switch_cputime(), true) {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
/* ----------------------------------------------------------------------------
|
||||||
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||||
|
* Version 2.0.12
|
||||||
|
*
|
||||||
|
* 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 switch_device_node_t : IDisposable {
|
public class switch_device_node_t : IDisposable {
|
||||||
private HandleRef swigCPtr;
|
private HandleRef swigCPtr;
|
||||||
protected bool swigCMemOwn;
|
protected bool swigCMemOwn;
|
||||||
@ -42493,7 +42599,8 @@ namespace FreeSWITCH.Native {
|
|||||||
|
|
||||||
public enum switch_video_read_flag_t {
|
public enum switch_video_read_flag_t {
|
||||||
SVR_BLOCK = (1 << 0),
|
SVR_BLOCK = (1 << 0),
|
||||||
SVR_FLUSH = (1 << 1)
|
SVR_FLUSH = (1 << 1),
|
||||||
|
SVR_CHECK = (1 << 2)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -42882,7 +42989,8 @@ namespace FreeSWITCH.Native {
|
|||||||
SWITCH_XML_SECTION_DIALPLAN = (1 << 2),
|
SWITCH_XML_SECTION_DIALPLAN = (1 << 2),
|
||||||
SWITCH_XML_SECTION_LANGUAGES = (1 << 3),
|
SWITCH_XML_SECTION_LANGUAGES = (1 << 3),
|
||||||
SWITCH_XML_SECTION_CHATPLAN = (1 << 4),
|
SWITCH_XML_SECTION_CHATPLAN = (1 << 4),
|
||||||
SWITCH_XML_SECTION_MAX = (1 << 4)
|
SWITCH_XML_SECTION_CHANNELS = (1 << 5),
|
||||||
|
SWITCH_XML_SECTION_MAX = (1 << 5)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user