FS-6615 reswig vs2010
This commit is contained in:
parent
6c80281ce9
commit
ae670ad924
|
@ -3016,7 +3016,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RECOMMENDED_BUFFER_SIZE_get() {
|
||||||
int jresult ;
|
int jresult ;
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
result = (int)(4096);
|
result = (int)(8192);
|
||||||
jresult = result;
|
jresult = result;
|
||||||
return jresult;
|
return jresult;
|
||||||
}
|
}
|
||||||
|
@ -29061,8 +29061,8 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_frame_data_set(void * jarg1,
|
||||||
arg2 = (char *)jarg2;
|
arg2 = (char *)jarg2;
|
||||||
{
|
{
|
||||||
if(arg2) {
|
if(arg2) {
|
||||||
strncpy((char*)arg1->frame_data, (const char *)arg2, 4096-1);
|
strncpy((char*)arg1->frame_data, (const char *)arg2, 8192-1);
|
||||||
arg1->frame_data[4096-1] = 0;
|
arg1->frame_data[8192-1] = 0;
|
||||||
} else {
|
} else {
|
||||||
arg1->frame_data[0] = 0;
|
arg1->frame_data[0] = 0;
|
||||||
}
|
}
|
||||||
|
@ -29704,6 +29704,16 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_init(void * jarg1, void * jarg2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_presence_data_vals(void * jarg1, char * jarg2) {
|
||||||
|
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
|
||||||
|
char *arg2 = (char *) 0 ;
|
||||||
|
|
||||||
|
arg1 = (switch_channel_t *)jarg1;
|
||||||
|
arg2 = (char *)jarg2;
|
||||||
|
switch_channel_set_presence_data_vals(arg1,(char const *)arg2);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_presence(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, int jarg7) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_presence(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, int jarg7) {
|
||||||
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
|
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
|
||||||
char *arg2 = (char *) 0 ;
|
char *arg2 = (char *) 0 ;
|
||||||
|
@ -33927,7 +33937,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_data_set(
|
||||||
{
|
{
|
||||||
size_t ii;
|
size_t ii;
|
||||||
switch_byte_t *b = (switch_byte_t *) arg1->write_frame_data;
|
switch_byte_t *b = (switch_byte_t *) arg1->write_frame_data;
|
||||||
for (ii = 0; ii < (size_t)4096; ii++) b[ii] = *((switch_byte_t *) arg2 + ii);
|
for (ii = 0; ii < (size_t)8192; ii++) b[ii] = *((switch_byte_t *) arg2 + ii);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41818,6 +41828,22 @@ SWIGEXPORT void SWIGSTDCALL CSharp_consoleLog(char * jarg1, char * jarg2) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_consoleLog2(char * jarg1, char * jarg2, char * jarg3, int jarg4, char * jarg5) {
|
||||||
|
char *arg1 = (char *) 0 ;
|
||||||
|
char *arg2 = (char *) 0 ;
|
||||||
|
char *arg3 = (char *) 0 ;
|
||||||
|
int arg4 ;
|
||||||
|
char *arg5 = (char *) 0 ;
|
||||||
|
|
||||||
|
arg1 = (char *)jarg1;
|
||||||
|
arg2 = (char *)jarg2;
|
||||||
|
arg3 = (char *)jarg3;
|
||||||
|
arg4 = (int)jarg4;
|
||||||
|
arg5 = (char *)jarg5;
|
||||||
|
consoleLog2(arg1,arg2,arg3,arg4,arg5);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_consoleCleanLog(char * jarg1) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_consoleCleanLog(char * jarg1) {
|
||||||
char *arg1 = (char *) 0 ;
|
char *arg1 = (char *) 0 ;
|
||||||
|
|
||||||
|
@ -41970,6 +41996,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Api_Execute(void * jarg1, char * jarg2, cha
|
||||||
arg3 = (char *)jarg3;
|
arg3 = (char *)jarg3;
|
||||||
result = (char *)(arg1)->execute((char const *)arg2,(char const *)arg3);
|
result = (char *)(arg1)->execute((char const *)arg2,(char const *)arg3);
|
||||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||||
|
free(result);
|
||||||
return jresult;
|
return jresult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41984,6 +42011,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Api_ExecuteString(void * jarg1, char * jarg
|
||||||
arg2 = (char *)jarg2;
|
arg2 = (char *)jarg2;
|
||||||
result = (char *)(arg1)->executeString((char const *)arg2);
|
result = (char *)(arg1)->executeString((char const *)arg2);
|
||||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||||
|
free(result);
|
||||||
return jresult;
|
return jresult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43630,6 +43658,24 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_consoleLog(void * jarg1, char * j
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_consoleLog2(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5, char * jarg6) {
|
||||||
|
CoreSession *arg1 = (CoreSession *) 0 ;
|
||||||
|
char *arg2 = (char *) 0 ;
|
||||||
|
char *arg3 = (char *) 0 ;
|
||||||
|
char *arg4 = (char *) 0 ;
|
||||||
|
int arg5 ;
|
||||||
|
char *arg6 = (char *) 0 ;
|
||||||
|
|
||||||
|
arg1 = (CoreSession *)jarg1;
|
||||||
|
arg2 = (char *)jarg2;
|
||||||
|
arg3 = (char *)jarg3;
|
||||||
|
arg4 = (char *)jarg4;
|
||||||
|
arg5 = (int)jarg5;
|
||||||
|
arg6 = (char *)jarg6;
|
||||||
|
(arg1)->consoleLog2(arg2,arg3,arg4,arg5,arg6);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_console_log(char * jarg1, char * jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_console_log(char * jarg1, char * jarg2) {
|
||||||
char *arg1 = (char *) 0 ;
|
char *arg1 = (char *) 0 ;
|
||||||
char *arg2 = (char *) 0 ;
|
char *arg2 = (char *) 0 ;
|
||||||
|
@ -43640,6 +43686,22 @@ SWIGEXPORT void SWIGSTDCALL CSharp_console_log(char * jarg1, char * jarg2) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_console_log2(char * jarg1, char * jarg2, char * jarg3, int jarg4, char * jarg5) {
|
||||||
|
char *arg1 = (char *) 0 ;
|
||||||
|
char *arg2 = (char *) 0 ;
|
||||||
|
char *arg3 = (char *) 0 ;
|
||||||
|
int arg4 ;
|
||||||
|
char *arg5 = (char *) 0 ;
|
||||||
|
|
||||||
|
arg1 = (char *)jarg1;
|
||||||
|
arg2 = (char *)jarg2;
|
||||||
|
arg3 = (char *)jarg3;
|
||||||
|
arg4 = (int)jarg4;
|
||||||
|
arg5 = (char *)jarg5;
|
||||||
|
console_log2(arg1,arg2,arg3,arg4,arg5);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_console_clean_log(char * jarg1) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_console_clean_log(char * jarg1) {
|
||||||
char *arg1 = (char *) 0 ;
|
char *arg1 = (char *) 0 ;
|
||||||
|
|
||||||
|
|
|
@ -509,6 +509,10 @@ public class CoreSession : IDisposable {
|
||||||
freeswitchPINVOKE.CoreSession_consoleLog(swigCPtr, level_str, msg);
|
freeswitchPINVOKE.CoreSession_consoleLog(swigCPtr, level_str, msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void consoleLog2(string level_str, string file, string func, int line, string msg) {
|
||||||
|
freeswitchPINVOKE.CoreSession_consoleLog2(swigCPtr, level_str, file, func, line, msg);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -4186,6 +4190,10 @@ public class freeswitch {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void switch_channel_set_presence_data_vals(SWIGTYPE_p_switch_channel channel, string presence_data_cols) {
|
||||||
|
freeswitchPINVOKE.switch_channel_set_presence_data_vals(SWIGTYPE_p_switch_channel.getCPtr(channel), presence_data_cols);
|
||||||
|
}
|
||||||
|
|
||||||
public static void switch_channel_perform_presence(SWIGTYPE_p_switch_channel channel, string rpid, string status, string id, string file, string func, int line) {
|
public static void switch_channel_perform_presence(SWIGTYPE_p_switch_channel channel, string rpid, string status, string id, string file, string func, int line) {
|
||||||
freeswitchPINVOKE.switch_channel_perform_presence(SWIGTYPE_p_switch_channel.getCPtr(channel), rpid, status, id, file, func, line);
|
freeswitchPINVOKE.switch_channel_perform_presence(SWIGTYPE_p_switch_channel.getCPtr(channel), rpid, status, id, file, func, line);
|
||||||
}
|
}
|
||||||
|
@ -6855,6 +6863,10 @@ public class freeswitch {
|
||||||
freeswitchPINVOKE.consoleLog(level_str, msg);
|
freeswitchPINVOKE.consoleLog(level_str, msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void consoleLog2(string level_str, string file, string func, int line, string msg) {
|
||||||
|
freeswitchPINVOKE.consoleLog2(level_str, file, func, line, msg);
|
||||||
|
}
|
||||||
|
|
||||||
public static void consoleCleanLog(string msg) {
|
public static void consoleCleanLog(string msg) {
|
||||||
freeswitchPINVOKE.consoleCleanLog(msg);
|
freeswitchPINVOKE.consoleCleanLog(msg);
|
||||||
}
|
}
|
||||||
|
@ -6873,6 +6885,10 @@ public class freeswitch {
|
||||||
freeswitchPINVOKE.console_log(level_str, msg);
|
freeswitchPINVOKE.console_log(level_str, msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void console_log2(string level_str, string file, string func, int line, string msg) {
|
||||||
|
freeswitchPINVOKE.console_log2(level_str, file, func, line, msg);
|
||||||
|
}
|
||||||
|
|
||||||
public static void console_clean_log(string msg) {
|
public static void console_clean_log(string msg) {
|
||||||
freeswitchPINVOKE.console_clean_log(msg);
|
freeswitchPINVOKE.console_clean_log(msg);
|
||||||
}
|
}
|
||||||
|
@ -14653,6 +14669,9 @@ class freeswitchPINVOKE {
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_init")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_init")]
|
||||||
public static extern int switch_channel_init(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);
|
public static extern int switch_channel_init(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_presence_data_vals")]
|
||||||
|
public static extern void switch_channel_set_presence_data_vals(HandleRef jarg1, string jarg2);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_presence")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_presence")]
|
||||||
public static extern void switch_channel_perform_presence(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, int jarg7);
|
public static extern void switch_channel_perform_presence(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, int jarg7);
|
||||||
|
|
||||||
|
@ -17389,6 +17408,9 @@ class freeswitchPINVOKE {
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_consoleLog")]
|
[DllImport("mod_managed", EntryPoint="CSharp_consoleLog")]
|
||||||
public static extern void consoleLog(string jarg1, string jarg2);
|
public static extern void consoleLog(string jarg1, string jarg2);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_consoleLog2")]
|
||||||
|
public static extern void consoleLog2(string jarg1, string jarg2, string jarg3, int jarg4, string jarg5);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_consoleCleanLog")]
|
[DllImport("mod_managed", EntryPoint="CSharp_consoleCleanLog")]
|
||||||
public static extern void consoleCleanLog(string jarg1);
|
public static extern void consoleCleanLog(string jarg1);
|
||||||
|
|
||||||
|
@ -17806,9 +17828,15 @@ class freeswitchPINVOKE {
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_CoreSession_consoleLog")]
|
[DllImport("mod_managed", EntryPoint="CSharp_CoreSession_consoleLog")]
|
||||||
public static extern void CoreSession_consoleLog(HandleRef jarg1, string jarg2, string jarg3);
|
public static extern void CoreSession_consoleLog(HandleRef jarg1, string jarg2, string jarg3);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_CoreSession_consoleLog2")]
|
||||||
|
public static extern void CoreSession_consoleLog2(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5, string jarg6);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_console_log")]
|
[DllImport("mod_managed", EntryPoint="CSharp_console_log")]
|
||||||
public static extern void console_log(string jarg1, string jarg2);
|
public static extern void console_log(string jarg1, string jarg2);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_console_log2")]
|
||||||
|
public static extern void console_log2(string jarg1, string jarg2, string jarg3, int jarg4, string jarg5);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_console_clean_log")]
|
[DllImport("mod_managed", EntryPoint="CSharp_console_clean_log")]
|
||||||
public static extern void console_clean_log(string jarg1);
|
public static extern void console_clean_log(string jarg1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue