swigall
This commit is contained in:
parent
432bfc0c45
commit
d251a8ccee
|
@ -18684,6 +18684,38 @@ SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_system_fork___
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_spawn___(char * jarg1, int jarg2) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
switch_bool_t arg2 ;
|
||||
int result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (switch_bool_t)jarg2;
|
||||
result = (int)switch_spawn((char const *)arg1,arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_spawn___(char * jarg1, int jarg2, int jarg3, void * jarg4) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
switch_bool_t arg2 ;
|
||||
switch_bool_t arg3 ;
|
||||
switch_stream_handle_t *arg4 = (switch_stream_handle_t *) 0 ;
|
||||
int result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (switch_bool_t)jarg2;
|
||||
arg3 = (switch_bool_t)jarg3;
|
||||
arg4 = (switch_stream_handle_t *)jarg4;
|
||||
result = (int)switch_stream_spawn((char const *)arg1,arg2,arg3,arg4);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_debug_pool___(void * jarg1) {
|
||||
switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ;
|
||||
|
||||
|
@ -23201,6 +23233,58 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_getpid___()
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_digest___(char * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
unsigned char **arg2 = (unsigned char **) 0 ;
|
||||
void *arg3 = (void *) 0 ;
|
||||
switch_size_t arg4 ;
|
||||
unsigned int *arg5 = (unsigned int *) 0 ;
|
||||
switch_size_t *argp4 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (unsigned char **)jarg2;
|
||||
arg3 = (void *)jarg3;
|
||||
argp4 = (switch_size_t *)jarg4;
|
||||
if (!argp4) {
|
||||
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0);
|
||||
return 0;
|
||||
}
|
||||
arg4 = *argp4;
|
||||
arg5 = (unsigned int *)jarg5;
|
||||
result = (switch_status_t)switch_digest((char const *)arg1,arg2,(void const *)arg3,arg4,arg5);
|
||||
jresult = (int)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_digest_string___(char * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char **arg2 = (char **) 0 ;
|
||||
void *arg3 = (void *) 0 ;
|
||||
switch_size_t arg4 ;
|
||||
unsigned int *arg5 = (unsigned int *) 0 ;
|
||||
switch_size_t *argp4 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (char **)jarg2;
|
||||
arg3 = (void *)jarg3;
|
||||
argp4 = (switch_size_t *)jarg4;
|
||||
if (!argp4) {
|
||||
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0);
|
||||
return 0;
|
||||
}
|
||||
arg4 = *argp4;
|
||||
arg5 = (unsigned int *)jarg5;
|
||||
result = (switch_status_t)switch_digest_string((char const *)arg1,arg2,(void const *)arg3,arg4,arg5);
|
||||
jresult = (int)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_profile_node_t_var_set___(void * jarg1, char * jarg2) {
|
||||
profile_node_s *arg1 = (profile_node_s *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -39941,6 +40025,16 @@ SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_channel_permis
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_GRANULAR_VOLUME_MAX_get___() {
|
||||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(50);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RESAMPLE_QUALITY_get___() {
|
||||
int jresult ;
|
||||
int result;
|
||||
|
|
|
@ -10315,6 +10315,16 @@ else
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static int switch_spawn(string cmd, switch_bool_t wait) {
|
||||
int ret = freeswitchPINVOKE.switch_spawn(cmd, (int)wait);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static int switch_stream_spawn(string cmd, switch_bool_t shell, switch_bool_t wait, switch_stream_handle stream) {
|
||||
int ret = freeswitchPINVOKE.switch_stream_spawn(cmd, (int)shell, (int)wait, switch_stream_handle.getCPtr(stream));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_core_session_debug_pool(switch_stream_handle stream) {
|
||||
freeswitchPINVOKE.switch_core_session_debug_pool(switch_stream_handle.getCPtr(stream));
|
||||
}
|
||||
|
@ -11491,6 +11501,18 @@ else
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_digest(string digest_name, SWIGTYPE_p_p_unsigned_char digest, SWIGTYPE_p_void input, SWIGTYPE_p_switch_size_t inputLen, SWIGTYPE_p_unsigned_int outputlen) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_digest(digest_name, SWIGTYPE_p_p_unsigned_char.getCPtr(digest), SWIGTYPE_p_void.getCPtr(input), SWIGTYPE_p_switch_size_t.getCPtr(inputLen), SWIGTYPE_p_unsigned_int.getCPtr(outputlen));
|
||||
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_digest_string(string digest_name, ref string digest_str, SWIGTYPE_p_void input, SWIGTYPE_p_switch_size_t inputLen, SWIGTYPE_p_unsigned_int outputlen) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_digest_string(digest_name, ref digest_str, SWIGTYPE_p_void.getCPtr(input), SWIGTYPE_p_switch_size_t.getCPtr(inputLen), SWIGTYPE_p_unsigned_int.getCPtr(outputlen));
|
||||
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_caller_extension switch_caller_extension_new(SWIGTYPE_p_switch_core_session session, string extension_name, string extension_number) {
|
||||
global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_new(SWIGTYPE_p_switch_core_session.getCPtr(session), extension_name, extension_number);
|
||||
switch_caller_extension ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false);
|
||||
|
@ -15096,6 +15118,7 @@ else
|
|||
public static readonly int SWITCH_SMIN = freeswitchPINVOKE.SWITCH_SMIN_get();
|
||||
public static readonly int NO_EVENT_CHANNEL_ID = freeswitchPINVOKE.NO_EVENT_CHANNEL_ID_get();
|
||||
public static readonly string SWITCH_EVENT_CHANNEL_GLOBAL = freeswitchPINVOKE.SWITCH_EVENT_CHANNEL_GLOBAL_get();
|
||||
public static readonly int SWITCH_GRANULAR_VOLUME_MAX = freeswitchPINVOKE.SWITCH_GRANULAR_VOLUME_MAX_get();
|
||||
public static readonly int SWITCH_RESAMPLE_QUALITY = freeswitchPINVOKE.SWITCH_RESAMPLE_QUALITY_get();
|
||||
public static readonly int SWITCH_RTP_MAX_BUF_LEN = freeswitchPINVOKE.SWITCH_RTP_MAX_BUF_LEN_get();
|
||||
public static readonly int SWITCH_RTCP_MAX_BUF_LEN = freeswitchPINVOKE.SWITCH_RTCP_MAX_BUF_LEN_get();
|
||||
|
@ -19900,6 +19923,12 @@ class freeswitchPINVOKE {
|
|||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_system_fork___")]
|
||||
public static extern int switch_stream_system_fork(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
|
||||
|
||||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_spawn___")]
|
||||
public static extern int switch_spawn(string jarg1, int jarg2);
|
||||
|
||||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_spawn___")]
|
||||
public static extern int switch_stream_spawn(string jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4);
|
||||
|
||||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_debug_pool___")]
|
||||
public static extern void switch_core_session_debug_pool(global::System.Runtime.InteropServices.HandleRef jarg1);
|
||||
|
||||
|
@ -20899,6 +20928,12 @@ class freeswitchPINVOKE {
|
|||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_getpid___")]
|
||||
public static extern uint switch_getpid();
|
||||
|
||||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_digest___")]
|
||||
public static extern int switch_digest(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5);
|
||||
|
||||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_digest_string___")]
|
||||
public static extern int switch_digest_string(string jarg1, ref string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5);
|
||||
|
||||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_profile_node_t_var_set___")]
|
||||
public static extern void profile_node_t_var_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
|
||||
|
||||
|
@ -25081,6 +25116,9 @@ class freeswitchPINVOKE {
|
|||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_channel_permission_clear___")]
|
||||
public static extern void switch_event_channel_permission_clear(string jarg1);
|
||||
|
||||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_GRANULAR_VOLUME_MAX_get___")]
|
||||
public static extern int SWITCH_GRANULAR_VOLUME_MAX_get();
|
||||
|
||||
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RESAMPLE_QUALITY_get___")]
|
||||
public static extern int SWITCH_RESAMPLE_QUALITY_get();
|
||||
|
||||
|
@ -30824,7 +30862,12 @@ public enum switch_call_cause_t {
|
|||
SWITCH_CAUSE_DECLINE = 616,
|
||||
SWITCH_CAUSE_DOES_NOT_EXIST_ANYWHERE = 617,
|
||||
SWITCH_CAUSE_NOT_ACCEPTABLE = 618,
|
||||
SWITCH_CAUSE_UNWANTED = 619
|
||||
SWITCH_CAUSE_UNWANTED = 619,
|
||||
SWITCH_CAUSE_NO_IDENTITY = 620,
|
||||
SWITCH_CAUSE_BAD_IDENTITY_INFO = 621,
|
||||
SWITCH_CAUSE_UNSUPPORTED_CERTIFICATE = 622,
|
||||
SWITCH_CAUSE_INVALID_IDENTITY = 623,
|
||||
SWITCH_CAUSE_STALE_DATE = 624
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue