swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11487 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
0463541d61
commit
719ccde364
|
@ -4876,6 +4876,22 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_add(void * jarg1, void *
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_pause(void * jarg1) {
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
switch_core_media_bug_pause(arg1);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_resume(void * jarg1) {
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
switch_core_media_bug_resume(arg1);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_user_data(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ;
|
||||
|
@ -7604,11 +7620,11 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_create_interface(voi
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timestamp_now() {
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_micro_time_now() {
|
||||
void * jresult ;
|
||||
switch_time_t result;
|
||||
|
||||
result = switch_timestamp_now();
|
||||
result = switch_micro_time_now();
|
||||
jresult = new switch_time_t((switch_time_t &)result);
|
||||
return jresult;
|
||||
}
|
||||
|
@ -7644,13 +7660,13 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_sync() {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timestamp(void * jarg1) {
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_epoch_time_now(void * jarg1) {
|
||||
void * jresult ;
|
||||
time_t *arg1 = (time_t *) 0 ;
|
||||
time_t result;
|
||||
|
||||
arg1 = (time_t *)jarg1;
|
||||
result = switch_timestamp(arg1);
|
||||
result = switch_epoch_time_now(arg1);
|
||||
jresult = new time_t((time_t &)result);
|
||||
return jresult;
|
||||
}
|
||||
|
@ -8315,6 +8331,30 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_var_check(char * jarg1, int jarg
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_var_check_const(char * jarg1) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
switch_bool_t result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
result = (switch_bool_t)switch_string_var_check_const((char const *)arg1);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_var_clean_string(char * jarg1) {
|
||||
char * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
result = (char *)switch_var_clean_string(arg1);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_clean_string(char * jarg1) {
|
||||
char * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
|
@ -18613,6 +18653,40 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_private_flag(void * jarg1,
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_app_flag(void * jarg1, unsigned long jarg2) {
|
||||
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
|
||||
arg1 = (switch_channel_t *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
switch_channel_set_app_flag(arg1,arg2);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_app_flag(void * jarg1, unsigned long jarg2) {
|
||||
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
|
||||
arg1 = (switch_channel_t *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
switch_channel_clear_app_flag(arg1,arg2);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_app_flag(void * jarg1, unsigned long jarg2) {
|
||||
int jresult ;
|
||||
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
int result;
|
||||
|
||||
arg1 = (switch_channel_t *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
result = (int)switch_channel_test_app_flag(arg1,arg2);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_create(void * jarg1, void * jarg2, void * jarg3) {
|
||||
int jresult ;
|
||||
switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ;
|
||||
|
|
|
@ -869,6 +869,14 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_core_media_bug_pause(SWIGTYPE_p_switch_core_session session) {
|
||||
freeswitchPINVOKE.switch_core_media_bug_pause(SWIGTYPE_p_switch_core_session.getCPtr(session));
|
||||
}
|
||||
|
||||
public static void switch_core_media_bug_resume(SWIGTYPE_p_switch_core_session session) {
|
||||
freeswitchPINVOKE.switch_core_media_bug_resume(SWIGTYPE_p_switch_core_session.getCPtr(session));
|
||||
}
|
||||
|
||||
public static SWIGTYPE_p_void switch_core_media_bug_get_user_data(SWIGTYPE_p_switch_media_bug bug) {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_user_data(SWIGTYPE_p_switch_media_bug.getCPtr(bug));
|
||||
SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
|
||||
|
@ -1850,8 +1858,8 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static SWIGTYPE_p_switch_time_t switch_timestamp_now() {
|
||||
SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_timestamp_now(), true);
|
||||
public static SWIGTYPE_p_switch_time_t switch_micro_time_now() {
|
||||
SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_micro_time_now(), true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -1879,8 +1887,8 @@ public class freeswitch {
|
|||
freeswitchPINVOKE.switch_time_sync();
|
||||
}
|
||||
|
||||
public static SWIGTYPE_p_time_t switch_timestamp(SWIGTYPE_p_time_t t) {
|
||||
SWIGTYPE_p_time_t ret = new SWIGTYPE_p_time_t(freeswitchPINVOKE.switch_timestamp(SWIGTYPE_p_time_t.getCPtr(t)), true);
|
||||
public static SWIGTYPE_p_time_t switch_epoch_time_now(SWIGTYPE_p_time_t t) {
|
||||
SWIGTYPE_p_time_t ret = new SWIGTYPE_p_time_t(freeswitchPINVOKE.switch_epoch_time_now(SWIGTYPE_p_time_t.getCPtr(t)), true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -2099,6 +2107,16 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_bool_t switch_string_var_check_const(string s) {
|
||||
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_string_var_check_const(s);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_var_clean_string(string s) {
|
||||
string ret = freeswitchPINVOKE.switch_var_clean_string(s);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_clean_string(string s) {
|
||||
string ret = freeswitchPINVOKE.switch_clean_string(s);
|
||||
return ret;
|
||||
|
@ -2631,6 +2649,19 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_channel_set_app_flag(SWIGTYPE_p_switch_channel channel, uint flags) {
|
||||
freeswitchPINVOKE.switch_channel_set_app_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
|
||||
}
|
||||
|
||||
public static void switch_channel_clear_app_flag(SWIGTYPE_p_switch_channel channel, uint flags) {
|
||||
freeswitchPINVOKE.switch_channel_clear_app_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
|
||||
}
|
||||
|
||||
public static int switch_channel_test_app_flag(SWIGTYPE_p_switch_channel channel, uint flags) {
|
||||
int ret = freeswitchPINVOKE.switch_channel_test_app_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_buffer_create(SWIGTYPE_p_apr_pool_t pool, SWIGTYPE_p_p_switch_buffer buffer, SWIGTYPE_p_switch_size_t max_len) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_buffer_create(SWIGTYPE_p_apr_pool_t.getCPtr(pool), SWIGTYPE_p_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_switch_size_t.getCPtr(max_len));
|
||||
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
|
||||
|
@ -5542,6 +5573,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_add")]
|
||||
public static extern int switch_core_media_bug_add(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5, HandleRef jarg6);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_pause")]
|
||||
public static extern void switch_core_media_bug_pause(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_resume")]
|
||||
public static extern void switch_core_media_bug_resume(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_user_data")]
|
||||
public static extern IntPtr switch_core_media_bug_get_user_data(HandleRef jarg1);
|
||||
|
||||
|
@ -6133,8 +6170,8 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_create_interface")]
|
||||
public static extern IntPtr switch_loadable_module_create_interface(HandleRef jarg1, int jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_timestamp_now")]
|
||||
public static extern IntPtr switch_timestamp_now();
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_micro_time_now")]
|
||||
public static extern IntPtr switch_micro_time_now();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_reclaim")]
|
||||
public static extern void switch_core_memory_reclaim();
|
||||
|
@ -6154,8 +6191,8 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_time_sync")]
|
||||
public static extern void switch_time_sync();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_timestamp")]
|
||||
public static extern IntPtr switch_timestamp(HandleRef jarg1);
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_epoch_time_now")]
|
||||
public static extern IntPtr switch_epoch_time_now(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_strftime_tz")]
|
||||
public static extern int switch_strftime_tz(string jarg1, string jarg2, string jarg3, uint jarg4, HandleRef jarg5);
|
||||
|
@ -6292,6 +6329,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_string_var_check")]
|
||||
public static extern int switch_string_var_check(string jarg1, int jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_string_var_check_const")]
|
||||
public static extern int switch_string_var_check_const(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_var_clean_string")]
|
||||
public static extern string switch_var_clean_string(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_clean_string")]
|
||||
public static extern string switch_clean_string(string jarg1);
|
||||
|
||||
|
@ -8824,6 +8867,15 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_private_flag")]
|
||||
public static extern int switch_channel_test_private_flag(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_app_flag")]
|
||||
public static extern void switch_channel_set_app_flag(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_app_flag")]
|
||||
public static extern void switch_channel_clear_app_flag(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_app_flag")]
|
||||
public static extern int switch_channel_test_app_flag(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_create")]
|
||||
public static extern int switch_buffer_create(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
|
||||
|
||||
|
@ -17171,6 +17223,21 @@ namespace FreeSWITCH.Native {
|
|||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
public enum switch_channel_app_flag_t {
|
||||
CF_APP_TAGGED = (1 << 0)
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
public enum switch_channel_flag_t {
|
||||
CF_ANSWERED = 1,
|
||||
CF_OUTBOUND,
|
||||
|
@ -17202,6 +17269,7 @@ public enum switch_channel_flag_t {
|
|||
CF_INNER_BRIDGE,
|
||||
CF_REQ_MEDIA,
|
||||
CF_VERBOSE_EVENTS,
|
||||
CF_PAUSE_BUGS,
|
||||
CF_FLAG_MAX
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue