mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 23:24:18 +00:00
reswig
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10694 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
71054917ac
commit
9e1b370738
8 files changed
+384
-18
No files matched your search
@@ -905,6 +905,17 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_URL_SEPARATOR_get() {
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get() {
|
||||
char * jresult ;
|
||||
char *result = 0 ;
|
||||
|
||||
result = (char *) "send_silence_when_idle";
|
||||
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CURRENT_APPLICATION_VARIABLE_get() {
|
||||
char * jresult ;
|
||||
char *result = 0 ;
|
||||
@@ -20008,17 +20019,19 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_next_event(void * jarg1) {
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_sleep(void * jarg1, unsigned long jarg2, void * jarg3) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_sleep(void * jarg1, unsigned long jarg2, int jarg3, void * jarg4) {
|
||||
int jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
switch_input_args_t *arg3 = (switch_input_args_t *) 0 ;
|
||||
switch_bool_t arg3 ;
|
||||
switch_input_args_t *arg4 = (switch_input_args_t *) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
arg3 = (switch_input_args_t *)jarg3;
|
||||
result = (switch_status_t)switch_ivr_sleep(arg1,arg2,arg3);
|
||||
arg3 = (switch_bool_t)jarg3;
|
||||
arg4 = (switch_input_args_t *)jarg4;
|
||||
result = (switch_status_t)switch_ivr_sleep(arg1,arg2,arg3,arg4);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
@@ -26694,15 +26707,17 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_StreamFile(void * jarg1, char * ja
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_sleep(void * jarg1, int jarg2) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_sleep(void * jarg1, int jarg2, int jarg3) {
|
||||
int jresult ;
|
||||
CoreSession *arg1 = (CoreSession *) 0 ;
|
||||
int arg2 ;
|
||||
int arg3 = (int) 0 ;
|
||||
int result;
|
||||
|
||||
arg1 = (CoreSession *)jarg1;
|
||||
arg2 = (int)jarg2;
|
||||
result = (int)(arg1)->sleep(arg2);
|
||||
arg3 = (int)jarg3;
|
||||
result = (int)(arg1)->sleep(arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
@@ -292,8 +292,8 @@ public class CoreSession : IDisposable {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public int sleep(int ms) {
|
||||
int ret = freeswitchPINVOKE.CoreSession_sleep(swigCPtr, ms);
|
||||
public int sleep(int ms, int sync) {
|
||||
int ret = freeswitchPINVOKE.CoreSession_sleep(swigCPtr, ms, sync);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -2834,8 +2834,8 @@ public class freeswitch {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_ivr_sleep(SWIGTYPE_p_switch_core_session session, uint ms, switch_input_args_t args) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_sleep(SWIGTYPE_p_switch_core_session.getCPtr(session), ms, switch_input_args_t.getCPtr(args));
|
||||
public static switch_status_t switch_ivr_sleep(SWIGTYPE_p_switch_core_session session, uint ms, switch_bool_t sync, switch_input_args_t args) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_sleep(SWIGTYPE_p_switch_core_session.getCPtr(session), ms, (int)sync, switch_input_args_t.getCPtr(args));
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -3953,6 +3953,7 @@ public class freeswitch {
|
||||
public static readonly int SWITCH_MAX_DTMF_DURATION = freeswitchPINVOKE.SWITCH_MAX_DTMF_DURATION_get();
|
||||
public static readonly string SWITCH_PATH_SEPARATOR = freeswitchPINVOKE.SWITCH_PATH_SEPARATOR_get();
|
||||
public static readonly string SWITCH_URL_SEPARATOR = freeswitchPINVOKE.SWITCH_URL_SEPARATOR_get();
|
||||
public static readonly string SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE = freeswitchPINVOKE.SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get();
|
||||
public static readonly string SWITCH_CURRENT_APPLICATION_VARIABLE = freeswitchPINVOKE.SWITCH_CURRENT_APPLICATION_VARIABLE_get();
|
||||
public static readonly string SWITCH_CURRENT_APPLICATION_DATA_VARIABLE = freeswitchPINVOKE.SWITCH_CURRENT_APPLICATION_DATA_VARIABLE_get();
|
||||
public static readonly string SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE = freeswitchPINVOKE.SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE_get();
|
||||
@@ -4423,6 +4424,9 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_URL_SEPARATOR_get")]
|
||||
public static extern string SWITCH_URL_SEPARATOR_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get")]
|
||||
public static extern string SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CURRENT_APPLICATION_VARIABLE_get")]
|
||||
public static extern string SWITCH_CURRENT_APPLICATION_VARIABLE_get();
|
||||
|
||||
@@ -8996,7 +9000,7 @@ class freeswitchPINVOKE {
|
||||
public static extern int switch_ivr_parse_next_event(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_sleep")]
|
||||
public static extern int switch_ivr_sleep(HandleRef jarg1, uint jarg2, HandleRef jarg3);
|
||||
public static extern int switch_ivr_sleep(HandleRef jarg1, uint jarg2, int jarg3, HandleRef jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_park")]
|
||||
public static extern int switch_ivr_park(HandleRef jarg1, HandleRef jarg2);
|
||||
@@ -10499,7 +10503,7 @@ class freeswitchPINVOKE {
|
||||
public static extern int CoreSession_StreamFile(HandleRef jarg1, string jarg2, int jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_CoreSession_sleep")]
|
||||
public static extern int CoreSession_sleep(HandleRef jarg1, int jarg2);
|
||||
public static extern int CoreSession_sleep(HandleRef jarg1, int jarg2, int jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_CoreSession_flushEvents")]
|
||||
public static extern int CoreSession_flushEvents(HandleRef jarg1);
|
||||
|
||||
Reference in new issue
Block a user