swigall
This commit is contained in:
parent
4a924deb91
commit
8c7a976252
|
@ -10107,6 +10107,14 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_type_name(int jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_dismiss_db_handle(void * jarg1) {
|
||||
switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t **)jarg1;
|
||||
switch_cache_db_dismiss_db_handle(arg1);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_release_db_handle(void * jarg1) {
|
||||
switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ;
|
||||
|
||||
|
@ -10720,6 +10728,22 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_moh(char * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strchr_strict(char * jarg1, char jarg2, char * jarg3) {
|
||||
char * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char arg2 ;
|
||||
char *arg3 = (char *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (char)jarg2;
|
||||
arg3 = (char *)jarg3;
|
||||
result = (char *)switch_strchr_strict((char const *)arg1,arg2,(char const *)arg3);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_has_escaped_data(char * jarg1) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
|
@ -24027,6 +24051,28 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_json(void * jarg1, char *
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_brackets(char * jarg1, char jarg2, char jarg3, char jarg4, void * jarg5, void * jarg6) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char arg2 ;
|
||||
char arg3 ;
|
||||
char arg4 ;
|
||||
switch_event_t **arg5 = (switch_event_t **) 0 ;
|
||||
char **arg6 = (char **) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (char)jarg2;
|
||||
arg3 = (char)jarg3;
|
||||
arg4 = (char)jarg4;
|
||||
arg5 = (switch_event_t **)jarg5;
|
||||
arg6 = (char **)jarg6;
|
||||
result = (switch_status_t)switch_event_create_brackets(arg1,arg2,arg3,arg4,arg5,arg6);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_running() {
|
||||
int jresult ;
|
||||
switch_status_t result;
|
||||
|
|
|
@ -71,7 +71,8 @@ public class Api : IDisposable {
|
|||
namespace FreeSWITCH.Native {
|
||||
|
||||
public enum cache_db_flag_t {
|
||||
CDF_INUSE = (1 << 0)
|
||||
CDF_INUSE = (1 << 0),
|
||||
CDF_PRUNE = (1 << 1)
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -2206,6 +2207,10 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_cache_db_dismiss_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t dbh) {
|
||||
freeswitchPINVOKE.switch_cache_db_dismiss_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t.getCPtr(dbh));
|
||||
}
|
||||
|
||||
public static void switch_cache_db_release_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t dbh) {
|
||||
freeswitchPINVOKE.switch_cache_db_release_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t.getCPtr(dbh));
|
||||
}
|
||||
|
@ -2427,6 +2432,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_strchr_strict(string arg0, char find, string allowed) {
|
||||
string ret = freeswitchPINVOKE.switch_strchr_strict(arg0, find, allowed);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static int switch_string_has_escaped_data(string arg0) {
|
||||
int ret = freeswitchPINVOKE.switch_string_has_escaped_data(arg0);
|
||||
return ret;
|
||||
|
@ -3499,6 +3509,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_event_create_brackets(string data, char a, char b, char c, SWIGTYPE_p_p_switch_event arg4, ref string new_data) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_create_brackets(data, a, b, c, SWIGTYPE_p_p_switch_event.getCPtr(arg4), ref new_data);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_event_running() {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_running();
|
||||
return ret;
|
||||
|
@ -7595,6 +7610,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_type_name")]
|
||||
public static extern string switch_cache_db_type_name(int jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_dismiss_db_handle")]
|
||||
public static extern void switch_cache_db_dismiss_db_handle(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_release_db_handle")]
|
||||
public static extern void switch_cache_db_release_db_handle(HandleRef jarg1);
|
||||
|
||||
|
@ -7742,6 +7760,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_is_moh")]
|
||||
public static extern int switch_is_moh(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_strchr_strict")]
|
||||
public static extern string switch_strchr_strict(string jarg1, char jarg2, string jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_string_has_escaped_data")]
|
||||
public static extern int switch_string_has_escaped_data(string jarg1);
|
||||
|
||||
|
@ -10928,6 +10949,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_json")]
|
||||
public static extern int switch_event_create_json(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_brackets")]
|
||||
public static extern int switch_event_create_brackets(string jarg1, char jarg2, char jarg3, char jarg4, HandleRef jarg5, ref string jarg6);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_running")]
|
||||
public static extern int switch_event_running();
|
||||
|
||||
|
@ -27547,7 +27571,8 @@ public enum switch_session_ctl_t {
|
|||
SCSC_SAVE_HISTORY,
|
||||
SCSC_CRASH,
|
||||
SCSC_MIN_IDLE_CPU,
|
||||
SCSC_VERBOSE_EVENTS
|
||||
SCSC_VERBOSE_EVENTS,
|
||||
SCSC_SHUTDOWN_CHECK
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue