mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-25 04:01:55 +00:00
swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16518 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3049cd5c8d
commit
e253e8fb6a
@ -894,6 +894,17 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARSCR_get() {
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_DEFAULT_CLID_NAME_get() {
|
||||
char * jresult ;
|
||||
char *result = 0 ;
|
||||
|
||||
result = (char *) "\0";
|
||||
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DEFAULT_DTMF_DURATION_get() {
|
||||
int jresult ;
|
||||
int result;
|
||||
@ -9868,6 +9879,18 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_banner() {
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_in_thread(void * jarg1) {
|
||||
int jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
switch_bool_t result;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
result = (switch_bool_t)switch_core_session_in_thread(arg1);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CMD_CHUNK_LEN_get() {
|
||||
int jresult ;
|
||||
int result;
|
||||
@ -16042,6 +16065,35 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_spool_path_get(void * ja
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_prefix_set(void * jarg1, char * jarg2) {
|
||||
switch_file_handle *arg1 = (switch_file_handle *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_file_handle *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->prefix = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->prefix, (const char *)arg2);
|
||||
} else {
|
||||
arg1->prefix = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_prefix_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_file_handle *arg1 = (switch_file_handle *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_file_handle *)jarg1;
|
||||
result = (char *) ((arg1)->prefix);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_file_handle() {
|
||||
void * jresult ;
|
||||
switch_file_handle *result = 0 ;
|
||||
|
@ -2220,6 +2220,11 @@ public class freeswitch {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_bool_t switch_core_session_in_thread(SWIGTYPE_p_switch_core_session session) {
|
||||
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_core_session_in_thread(SWIGTYPE_p_switch_core_session.getCPtr(session));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_console_loop() {
|
||||
freeswitchPINVOKE.switch_console_loop();
|
||||
}
|
||||
@ -4663,6 +4668,7 @@ public class freeswitch {
|
||||
public static readonly string SWITCH_SEQ_CLEARLINE = freeswitchPINVOKE.SWITCH_SEQ_CLEARLINE_get();
|
||||
public static readonly string SWITCH_SEQ_CLEARLINEEND = freeswitchPINVOKE.SWITCH_SEQ_CLEARLINEEND_get();
|
||||
public static readonly string SWITCH_SEQ_CLEARSCR = freeswitchPINVOKE.SWITCH_SEQ_CLEARSCR_get();
|
||||
public static readonly string SWITCH_DEFAULT_CLID_NAME = freeswitchPINVOKE.SWITCH_DEFAULT_CLID_NAME_get();
|
||||
public static readonly int SWITCH_DEFAULT_DTMF_DURATION = freeswitchPINVOKE.SWITCH_DEFAULT_DTMF_DURATION_get();
|
||||
public static readonly int SWITCH_MIN_DTMF_DURATION = freeswitchPINVOKE.SWITCH_MIN_DTMF_DURATION_get();
|
||||
public static readonly int SWITCH_MAX_DTMF_DURATION = freeswitchPINVOKE.SWITCH_MAX_DTMF_DURATION_get();
|
||||
@ -5145,6 +5151,9 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_get")]
|
||||
public static extern string SWITCH_SEQ_CLEARSCR_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DEFAULT_CLID_NAME_get")]
|
||||
public static extern string SWITCH_DEFAULT_CLID_NAME_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DEFAULT_DTMF_DURATION_get")]
|
||||
public static extern int SWITCH_DEFAULT_DTMF_DURATION_get();
|
||||
|
||||
@ -7287,6 +7296,9 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_banner")]
|
||||
public static extern string switch_core_banner();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_in_thread")]
|
||||
public static extern int switch_core_session_in_thread(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CMD_CHUNK_LEN_get")]
|
||||
public static extern int SWITCH_CMD_CHUNK_LEN_get();
|
||||
|
||||
@ -8760,6 +8772,12 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_spool_path_get")]
|
||||
public static extern string switch_file_handle_spool_path_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_prefix_set")]
|
||||
public static extern void switch_file_handle_prefix_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_prefix_get")]
|
||||
public static extern string switch_file_handle_prefix_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_file_handle")]
|
||||
public static extern IntPtr new_switch_file_handle();
|
||||
|
||||
@ -23050,6 +23068,16 @@ public class switch_file_handle : IDisposable {
|
||||
}
|
||||
}
|
||||
|
||||
public string prefix {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_file_handle_prefix_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_file_handle_prefix_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_file_handle() : this(freeswitchPINVOKE.new_switch_file_handle(), true) {
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user