swigall
This commit is contained in:
parent
e58ff3392f
commit
634c92de7d
|
@ -13644,6 +13644,20 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_app_flags(char * jarg1
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_stack_count(void * jarg1, int jarg2) {
|
||||
unsigned long jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
int arg2 ;
|
||||
uint32_t result;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
arg2 = (int)jarg2;
|
||||
result = (uint32_t)switch_core_session_stack_count(arg1,arg2);
|
||||
jresult = (unsigned long)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_execute_exten(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
|
||||
int jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
|
@ -31134,6 +31148,28 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_video_codec_settings_try_hard
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_video_codec_settings_fps_set(void * jarg1, unsigned char jarg2) {
|
||||
switch_video_codec_settings *arg1 = (switch_video_codec_settings *) 0 ;
|
||||
uint8_t arg2 ;
|
||||
|
||||
arg1 = (switch_video_codec_settings *)jarg1;
|
||||
arg2 = (uint8_t)jarg2;
|
||||
if (arg1) (arg1)->fps = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_video_codec_settings_fps_get(void * jarg1) {
|
||||
unsigned char jresult ;
|
||||
switch_video_codec_settings *arg1 = (switch_video_codec_settings *) 0 ;
|
||||
uint8_t result;
|
||||
|
||||
arg1 = (switch_video_codec_settings *)jarg1;
|
||||
result = (uint8_t) ((arg1)->fps);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_video_codec_settings() {
|
||||
void * jresult ;
|
||||
switch_video_codec_settings *result = 0 ;
|
||||
|
@ -41983,28 +42019,6 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_srtp_crypto_suite_t(void * jarg
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_SUITES_set(void * jarg1) {
|
||||
switch_srtp_crypto_suite_t *arg1 ;
|
||||
|
||||
arg1 = (switch_srtp_crypto_suite_t *)jarg1;
|
||||
{
|
||||
size_t ii;
|
||||
switch_srtp_crypto_suite_t *b = (switch_srtp_crypto_suite_t *) SUITES;
|
||||
for (ii = 0; ii < (size_t)CRYPTO_INVALID; ii++) b[ii] = *((switch_srtp_crypto_suite_t *) arg1 + ii);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_SUITES_get() {
|
||||
void * jresult ;
|
||||
switch_srtp_crypto_suite_t *result = 0 ;
|
||||
|
||||
result = (switch_srtp_crypto_suite_t *)(switch_srtp_crypto_suite_t *)SUITES;
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_index_set(void * jarg1, unsigned long jarg2) {
|
||||
switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
|
|
|
@ -2021,6 +2021,11 @@ else
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static uint switch_core_session_stack_count(SWIGTYPE_p_switch_core_session session, int x) {
|
||||
uint ret = freeswitchPINVOKE.switch_core_session_stack_count(SWIGTYPE_p_switch_core_session.getCPtr(session), x);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_core_session_execute_exten(SWIGTYPE_p_switch_core_session session, string exten, string dialplan, string context) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_execute_exten(SWIGTYPE_p_switch_core_session.getCPtr(session), exten, dialplan, context);
|
||||
return ret;
|
||||
|
@ -6648,17 +6653,6 @@ else
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_srtp_crypto_suite_t SUITES {
|
||||
set {
|
||||
freeswitchPINVOKE.SUITES_set(switch_srtp_crypto_suite_t.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.SUITES_get();
|
||||
switch_srtp_crypto_suite_t ret = (cPtr == IntPtr.Zero) ? null : new switch_srtp_crypto_suite_t(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public static switch_status_t switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_crypto_direction_t direction, uint index, switch_secure_settings_t ssec) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)direction, index, switch_secure_settings_t.getCPtr(ssec));
|
||||
return ret;
|
||||
|
@ -11571,6 +11565,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_app_flags")]
|
||||
public static extern int switch_core_session_get_app_flags(string jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_stack_count")]
|
||||
public static extern uint switch_core_session_stack_count(HandleRef jarg1, int jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_execute_exten")]
|
||||
public static extern int switch_core_session_execute_exten(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
|
||||
|
||||
|
@ -15795,6 +15792,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_video_codec_settings_try_hardware_encoder_get")]
|
||||
public static extern byte switch_video_codec_settings_try_hardware_encoder_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_video_codec_settings_fps_set")]
|
||||
public static extern void switch_video_codec_settings_fps_set(HandleRef jarg1, byte jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_video_codec_settings_fps_get")]
|
||||
public static extern byte switch_video_codec_settings_fps_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_video_codec_settings")]
|
||||
public static extern IntPtr new_switch_video_codec_settings();
|
||||
|
||||
|
@ -18246,12 +18249,6 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_srtp_crypto_suite_t")]
|
||||
public static extern void delete_switch_srtp_crypto_suite_t(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SUITES_set")]
|
||||
public static extern void SUITES_set(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SUITES_get")]
|
||||
public static extern IntPtr SUITES_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_index_set")]
|
||||
public static extern void switch_rtp_crypto_key_index_set(HandleRef jarg1, uint jarg2);
|
||||
|
||||
|
@ -44727,6 +44724,16 @@ public class switch_video_codec_settings : IDisposable {
|
|||
}
|
||||
}
|
||||
|
||||
public byte fps {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_video_codec_settings_fps_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
byte ret = freeswitchPINVOKE.switch_video_codec_settings_fps_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_video_codec_settings() : this(freeswitchPINVOKE.new_switch_video_codec_settings(), true) {
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue