reswig vs2010

This commit is contained in:
Jeff Lenk 2010-09-24 22:29:53 -05:00
parent c928a99e07
commit 90861ea075
2 changed files with 218 additions and 20 deletions

View File

@ -11791,6 +11791,20 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_char_to_rfc2833(char jarg1) {
} }
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_default_ptime(char * jarg1, unsigned long jarg2) {
unsigned long jresult ;
char *arg1 = (char *) 0 ;
uint32_t arg2 ;
uint32_t result;
arg1 = (char *)jarg1;
arg2 = (uint32_t)jarg2;
result = (uint32_t)switch_default_ptime((char const *)arg1,arg2);
jresult = (unsigned long)result;
return jresult;
}
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_sanitize_number(char * jarg1) { SWIGEXPORT char * SWIGSTDCALL CSharp_switch_sanitize_number(char * jarg1) {
char * jresult ; char * jresult ;
char *arg1 = (char *) 0 ; char *arg1 = (char *) 0 ;
@ -12397,6 +12411,44 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_validate_ip_token(void * j
} }
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_dow_int2str(int jarg1) {
char * jresult ;
int arg1 ;
char *result = 0 ;
arg1 = (int)jarg1;
result = (char *)switch_dow_int2str(arg1);
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_dow_str2int(char * jarg1) {
int jresult ;
char *arg1 = (char *) 0 ;
int result;
arg1 = (char *)jarg1;
result = (int)switch_dow_str2int((char const *)arg1);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_dow_cmp(char * jarg1, int jarg2) {
int jresult ;
char *arg1 = (char *) 0 ;
int arg2 ;
int result;
arg1 = (char *)jarg1;
arg2 = (int)jarg2;
result = (int)switch_dow_cmp((char const *)arg1,arg2);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_number_cmp(char * jarg1, int jarg2) { SWIGEXPORT int SWIGSTDCALL CSharp_switch_number_cmp(char * jarg1, int jarg2) {
int jresult ; int jresult ;
char *arg1 = (char *) 0 ; char *arg1 = (char *) 0 ;
@ -12411,6 +12463,62 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_number_cmp(char * jarg1, int jarg2) {
} }
SWIGEXPORT int SWIGSTDCALL CSharp_switch_tod_cmp(char * jarg1, int jarg2) {
int jresult ;
char *arg1 = (char *) 0 ;
int arg2 ;
int result;
arg1 = (char *)jarg1;
arg2 = (int)jarg2;
result = (int)switch_tod_cmp((char const *)arg1,arg2);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_fulldate_cmp(char * jarg1, void * jarg2) {
int jresult ;
char *arg1 = (char *) 0 ;
switch_time_t *arg2 = (switch_time_t *) 0 ;
int result;
arg1 = (char *)jarg1;
arg2 = (switch_time_t *)jarg2;
result = (int)switch_fulldate_cmp((char const *)arg1,arg2);
jresult = result;
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_split_date(char * jarg1, void * jarg2, void * jarg3, void * jarg4) {
char *arg1 = (char *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
arg1 = (char *)jarg1;
arg2 = (int *)jarg2;
arg3 = (int *)jarg3;
arg4 = (int *)jarg4;
switch_split_date((char const *)arg1,arg2,arg3,arg4);
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_split_time(char * jarg1, void * jarg2, void * jarg3, void * jarg4) {
char *arg1 = (char *) 0 ;
int *arg2 = (int *) 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
arg1 = (char *)jarg1;
arg2 = (int *)jarg2;
arg3 = (int *)jarg3;
arg4 = (int *)jarg4;
switch_split_time((char const *)arg1,arg2,arg3,arg4);
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_split_user_domain(char * jarg1, void * jarg2, void * jarg3) { SWIGEXPORT int SWIGSTDCALL CSharp_switch_split_user_domain(char * jarg1, void * jarg2, void * jarg3) {
int jresult ; int jresult ;
char *arg1 = (char *) 0 ; char *arg1 = (char *) 0 ;
@ -26020,7 +26128,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_record_file(void * jarg1, void * ja
} }
SWIGEXPORT int SWIGSTDCALL CSharp_switch_play_and_get_digits(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, unsigned long jarg11, char * jarg12) { SWIGEXPORT int SWIGSTDCALL CSharp_switch_play_and_get_digits(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, unsigned long jarg11, char * jarg12, unsigned long jarg13) {
int jresult ; int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
uint32_t arg2 ; uint32_t arg2 ;
@ -26034,6 +26142,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_play_and_get_digits(void * jarg1, unsig
char *arg10 = (char *) 0 ; char *arg10 = (char *) 0 ;
uint32_t arg11 ; uint32_t arg11 ;
char *arg12 = (char *) 0 ; char *arg12 = (char *) 0 ;
uint32_t arg13 ;
switch_status_t result; switch_status_t result;
arg1 = (switch_core_session_t *)jarg1; arg1 = (switch_core_session_t *)jarg1;
@ -26048,7 +26157,8 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_play_and_get_digits(void * jarg1, unsig
arg10 = (char *)jarg10; arg10 = (char *)jarg10;
arg11 = (uint32_t)jarg11; arg11 = (uint32_t)jarg11;
arg12 = (char *)jarg12; arg12 = (char *)jarg12;
result = (switch_status_t)switch_play_and_get_digits(arg1,arg2,arg3,arg4,arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,arg10,arg11,(char const *)arg12); arg13 = (uint32_t)jarg13;
result = (switch_status_t)switch_play_and_get_digits(arg1,arg2,arg3,arg4,arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,arg10,arg11,(char const *)arg12,arg13);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -26822,7 +26932,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_wait_for_answer(void * jarg1, void
} }
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_read(void * jarg1, unsigned long jarg2, unsigned long jarg3, char * jarg4, char * jarg5, char * jarg6, void * jarg7, unsigned long jarg8, char * jarg9) { SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_read(void * jarg1, unsigned long jarg2, unsigned long jarg3, char * jarg4, char * jarg5, char * jarg6, void * jarg7, unsigned long jarg8, char * jarg9, unsigned long jarg10) {
int jresult ; int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
uint32_t arg2 ; uint32_t arg2 ;
@ -26833,6 +26943,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_read(void * jarg1, unsigned long ja
switch_size_t arg7 ; switch_size_t arg7 ;
uint32_t arg8 ; uint32_t arg8 ;
char *arg9 = (char *) 0 ; char *arg9 = (char *) 0 ;
uint32_t arg10 ;
switch_size_t *argp7 ; switch_size_t *argp7 ;
switch_status_t result; switch_status_t result;
@ -26850,7 +26961,8 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_read(void * jarg1, unsigned long ja
arg7 = *argp7; arg7 = *argp7;
arg8 = (uint32_t)jarg8; arg8 = (uint32_t)jarg8;
arg9 = (char *)jarg9; arg9 = (char *)jarg9;
result = (switch_status_t)switch_ivr_read(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6,arg7,arg8,(char const *)arg9); arg10 = (uint32_t)jarg10;
result = (switch_status_t)switch_ivr_read(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6,arg7,arg8,(char const *)arg9,arg10);
jresult = result; jresult = result;
return jresult; return jresult;
} }
@ -29133,6 +29245,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_init(void * jarg1, void * jarg2) {
} }
SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_reload(void * jarg1) {
int jresult ;
char **arg1 = (char **) 0 ;
switch_status_t result;
arg1 = (char **)jarg1;
result = (switch_status_t)switch_xml_reload((char const **)arg1);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_destroy() { SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_destroy() {
int jresult ; int jresult ;
switch_status_t result; switch_status_t result;
@ -32717,7 +32841,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_Transfer(void * jarg1, char * jarg
} }
SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_read(void * jarg1, int jarg2, int jarg3, char * jarg4, int jarg5, char * jarg6) { SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_read(void * jarg1, int jarg2, int jarg3, char * jarg4, int jarg5, char * jarg6, int jarg7) {
char * jresult ; char * jresult ;
CoreSession *arg1 = (CoreSession *) 0 ; CoreSession *arg1 = (CoreSession *) 0 ;
int arg2 ; int arg2 ;
@ -32725,6 +32849,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_read(void * jarg1, int jarg2, i
char *arg4 = (char *) 0 ; char *arg4 = (char *) 0 ;
int arg5 ; int arg5 ;
char *arg6 = (char *) 0 ; char *arg6 = (char *) 0 ;
int arg7 = (int) 0 ;
char *result = 0 ; char *result = 0 ;
arg1 = (CoreSession *)jarg1; arg1 = (CoreSession *)jarg1;
@ -32733,13 +32858,14 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_read(void * jarg1, int jarg2, i
arg4 = (char *)jarg4; arg4 = (char *)jarg4;
arg5 = (int)jarg5; arg5 = (int)jarg5;
arg6 = (char *)jarg6; arg6 = (char *)jarg6;
result = (char *)(arg1)->read(arg2,arg3,(char const *)arg4,arg5,(char const *)arg6); arg7 = (int)jarg7;
result = (char *)(arg1)->read(arg2,arg3,(char const *)arg4,arg5,(char const *)arg6,arg7);
jresult = SWIG_csharp_string_callback((const char *)result); jresult = SWIG_csharp_string_callback((const char *)result);
return jresult; return jresult;
} }
SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_PlayAndGetDigits(void * jarg1, int jarg2, int jarg3, int jarg4, int jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10) { SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_PlayAndGetDigits(void * jarg1, int jarg2, int jarg3, int jarg4, int jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, int jarg11) {
char * jresult ; char * jresult ;
CoreSession *arg1 = (CoreSession *) 0 ; CoreSession *arg1 = (CoreSession *) 0 ;
int arg2 ; int arg2 ;
@ -32751,6 +32877,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_PlayAndGetDigits(void * jarg1,
char *arg8 = (char *) 0 ; char *arg8 = (char *) 0 ;
char *arg9 = (char *) 0 ; char *arg9 = (char *) 0 ;
char *arg10 = (char *) NULL ; char *arg10 = (char *) NULL ;
int arg11 = (int) 0 ;
char *result = 0 ; char *result = 0 ;
arg1 = (CoreSession *)jarg1; arg1 = (CoreSession *)jarg1;
@ -32763,7 +32890,8 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_PlayAndGetDigits(void * jarg1,
arg8 = (char *)jarg8; arg8 = (char *)jarg8;
arg9 = (char *)jarg9; arg9 = (char *)jarg9;
arg10 = (char *)jarg10; arg10 = (char *)jarg10;
result = (char *)(arg1)->playAndGetDigits(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10); arg11 = (int)jarg11;
result = (char *)(arg1)->playAndGetDigits(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10,arg11);
jresult = SWIG_csharp_string_callback((const char *)result); jresult = SWIG_csharp_string_callback((const char *)result);
return jresult; return jresult;
} }

View File

@ -327,13 +327,13 @@ public class CoreSession : IDisposable {
return ret; return ret;
} }
public string read(int min_digits, int max_digits, string prompt_audio_file, int timeout, string valid_terminators) { public string read(int min_digits, int max_digits, string prompt_audio_file, int timeout, string valid_terminators, int digit_timeout) {
string ret = freeswitchPINVOKE.CoreSession_read(swigCPtr, min_digits, max_digits, prompt_audio_file, timeout, valid_terminators); string ret = freeswitchPINVOKE.CoreSession_read(swigCPtr, min_digits, max_digits, prompt_audio_file, timeout, valid_terminators, digit_timeout);
return ret; return ret;
} }
public string PlayAndGetDigits(int min_digits, int max_digits, int max_tries, int timeout, string terminators, string audio_files, string bad_input_audio_files, string digits_regex, string var_name) { public string PlayAndGetDigits(int min_digits, int max_digits, int max_tries, int timeout, string terminators, string audio_files, string bad_input_audio_files, string digits_regex, string var_name, int digit_timeout) {
string ret = freeswitchPINVOKE.CoreSession_PlayAndGetDigits(swigCPtr, min_digits, max_digits, max_tries, timeout, terminators, audio_files, bad_input_audio_files, digits_regex, var_name); string ret = freeswitchPINVOKE.CoreSession_PlayAndGetDigits(swigCPtr, min_digits, max_digits, max_tries, timeout, terminators, audio_files, bad_input_audio_files, digits_regex, var_name, digit_timeout);
return ret; return ret;
} }
@ -2725,6 +2725,11 @@ public class freeswitch {
return ret; return ret;
} }
public static uint switch_default_ptime(string name, uint number) {
uint ret = freeswitchPINVOKE.switch_default_ptime(name, number);
return ret;
}
public static string switch_sanitize_number(string number) { public static string switch_sanitize_number(string number) {
string ret = freeswitchPINVOKE.switch_sanitize_number(number); string ret = freeswitchPINVOKE.switch_sanitize_number(number);
return ret; return ret;
@ -2928,11 +2933,44 @@ public class freeswitch {
return ret; return ret;
} }
public static string switch_dow_int2str(int val) {
string ret = freeswitchPINVOKE.switch_dow_int2str(val);
return ret;
}
public static int switch_dow_str2int(string exp) {
int ret = freeswitchPINVOKE.switch_dow_str2int(exp);
return ret;
}
public static int switch_dow_cmp(string exp, int val) {
int ret = freeswitchPINVOKE.switch_dow_cmp(exp, val);
return ret;
}
public static int switch_number_cmp(string exp, int val) { public static int switch_number_cmp(string exp, int val) {
int ret = freeswitchPINVOKE.switch_number_cmp(exp, val); int ret = freeswitchPINVOKE.switch_number_cmp(exp, val);
return ret; return ret;
} }
public static int switch_tod_cmp(string exp, int val) {
int ret = freeswitchPINVOKE.switch_tod_cmp(exp, val);
return ret;
}
public static int switch_fulldate_cmp(string exp, SWIGTYPE_p_switch_time_t ts) {
int ret = freeswitchPINVOKE.switch_fulldate_cmp(exp, SWIGTYPE_p_switch_time_t.getCPtr(ts));
return ret;
}
public static void switch_split_date(string exp, SWIGTYPE_p_int year, SWIGTYPE_p_int month, SWIGTYPE_p_int day) {
freeswitchPINVOKE.switch_split_date(exp, SWIGTYPE_p_int.getCPtr(year), SWIGTYPE_p_int.getCPtr(month), SWIGTYPE_p_int.getCPtr(day));
}
public static void switch_split_time(string exp, SWIGTYPE_p_int hour, SWIGTYPE_p_int min, SWIGTYPE_p_int sec) {
freeswitchPINVOKE.switch_split_time(exp, SWIGTYPE_p_int.getCPtr(hour), SWIGTYPE_p_int.getCPtr(min), SWIGTYPE_p_int.getCPtr(sec));
}
public static int switch_split_user_domain(string arg0, ref string user, ref string domain) { public static int switch_split_user_domain(string arg0, ref string user, ref string domain) {
int ret = freeswitchPINVOKE.switch_split_user_domain(arg0, ref user, ref domain); int ret = freeswitchPINVOKE.switch_split_user_domain(arg0, ref user, ref domain);
return ret; return ret;
@ -3986,8 +4024,8 @@ public class freeswitch {
return ret; return ret;
} }
public static switch_status_t switch_play_and_get_digits(SWIGTYPE_p_switch_core_session session, uint min_digits, uint max_digits, uint max_tries, uint timeout, string valid_terminators, string audio_file, string bad_input_audio_file, string var_name, string digit_buffer, uint digit_buffer_length, string digits_regex) { public static switch_status_t switch_play_and_get_digits(SWIGTYPE_p_switch_core_session session, uint min_digits, uint max_digits, uint max_tries, uint timeout, string valid_terminators, string audio_file, string bad_input_audio_file, string var_name, string digit_buffer, uint digit_buffer_length, string digits_regex, uint digit_timeout) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_play_and_get_digits(SWIGTYPE_p_switch_core_session.getCPtr(session), min_digits, max_digits, max_tries, timeout, valid_terminators, audio_file, bad_input_audio_file, var_name, digit_buffer, digit_buffer_length, digits_regex); switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_play_and_get_digits(SWIGTYPE_p_switch_core_session.getCPtr(session), min_digits, max_digits, max_tries, timeout, valid_terminators, audio_file, bad_input_audio_file, var_name, digit_buffer, digit_buffer_length, digits_regex, digit_timeout);
return ret; return ret;
} }
@ -4216,8 +4254,8 @@ public class freeswitch {
return ret; return ret;
} }
public static switch_status_t switch_ivr_read(SWIGTYPE_p_switch_core_session session, uint min_digits, uint max_digits, string prompt_audio_file, string var_name, string digit_buffer, SWIGTYPE_p_switch_size_t digit_buffer_length, uint timeout, string valid_terminators) { public static switch_status_t switch_ivr_read(SWIGTYPE_p_switch_core_session session, uint min_digits, uint max_digits, string prompt_audio_file, string var_name, string digit_buffer, SWIGTYPE_p_switch_size_t digit_buffer_length, uint timeout, string valid_terminators, uint digit_timeout) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_read(SWIGTYPE_p_switch_core_session.getCPtr(session), min_digits, max_digits, prompt_audio_file, var_name, digit_buffer, SWIGTYPE_p_switch_size_t.getCPtr(digit_buffer_length), timeout, valid_terminators); switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_read(SWIGTYPE_p_switch_core_session.getCPtr(session), min_digits, max_digits, prompt_audio_file, var_name, digit_buffer, SWIGTYPE_p_switch_size_t.getCPtr(digit_buffer_length), timeout, valid_terminators, digit_timeout);
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret; return ret;
} }
@ -4762,6 +4800,11 @@ public class freeswitch {
return ret; return ret;
} }
public static switch_status_t switch_xml_reload(ref string err) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_reload(ref err);
return ret;
}
public static switch_status_t switch_xml_destroy() { public static switch_status_t switch_xml_destroy() {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_destroy(); switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_destroy();
return ret; return ret;
@ -8264,6 +8307,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_char_to_rfc2833")] [DllImport("mod_managed", EntryPoint="CSharp_switch_char_to_rfc2833")]
public static extern byte switch_char_to_rfc2833(char jarg1); public static extern byte switch_char_to_rfc2833(char jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_default_ptime")]
public static extern uint switch_default_ptime(string jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_sanitize_number")] [DllImport("mod_managed", EntryPoint="CSharp_switch_sanitize_number")]
public static extern string switch_sanitize_number(string jarg1); public static extern string switch_sanitize_number(string jarg1);
@ -8384,9 +8430,30 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_validate_ip_token")] [DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_validate_ip_token")]
public static extern int switch_network_list_validate_ip_token(HandleRef jarg1, uint jarg2, ref string jarg3); public static extern int switch_network_list_validate_ip_token(HandleRef jarg1, uint jarg2, ref string jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_dow_int2str")]
public static extern string switch_dow_int2str(int jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_dow_str2int")]
public static extern int switch_dow_str2int(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_dow_cmp")]
public static extern int switch_dow_cmp(string jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_number_cmp")] [DllImport("mod_managed", EntryPoint="CSharp_switch_number_cmp")]
public static extern int switch_number_cmp(string jarg1, int jarg2); public static extern int switch_number_cmp(string jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_tod_cmp")]
public static extern int switch_tod_cmp(string jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_fulldate_cmp")]
public static extern int switch_fulldate_cmp(string jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_split_date")]
public static extern void switch_split_date(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_split_time")]
public static extern void switch_split_time(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_split_user_domain")] [DllImport("mod_managed", EntryPoint="CSharp_switch_split_user_domain")]
public static extern int switch_split_user_domain(string jarg1, ref string jarg2, ref string jarg3); public static extern int switch_split_user_domain(string jarg1, ref string jarg2, ref string jarg3);
@ -11748,7 +11815,7 @@ class freeswitchPINVOKE {
public static extern int switch_ivr_record_file(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, uint jarg5); public static extern int switch_ivr_record_file(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, uint jarg5);
[DllImport("mod_managed", EntryPoint="CSharp_switch_play_and_get_digits")] [DllImport("mod_managed", EntryPoint="CSharp_switch_play_and_get_digits")]
public static extern int switch_play_and_get_digits(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, uint jarg11, string jarg12); public static extern int switch_play_and_get_digits(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, uint jarg11, string jarg12, uint jarg13);
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_speak_text_handle")] [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_speak_text_handle")]
public static extern int switch_ivr_speak_text_handle(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, string jarg5, HandleRef jarg6); public static extern int switch_ivr_speak_text_handle(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, string jarg5, HandleRef jarg6);
@ -11886,7 +11953,7 @@ class freeswitchPINVOKE {
public static extern int switch_ivr_wait_for_answer(HandleRef jarg1, HandleRef jarg2); public static extern int switch_ivr_wait_for_answer(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_read")] [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_read")]
public static extern int switch_ivr_read(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4, string jarg5, string jarg6, HandleRef jarg7, uint jarg8, string jarg9); public static extern int switch_ivr_read(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4, string jarg5, string jarg6, HandleRef jarg7, uint jarg8, string jarg9, uint jarg10);
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_block_dtmf_session")] [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_block_dtmf_session")]
public static extern int switch_ivr_block_dtmf_session(HandleRef jarg1); public static extern int switch_ivr_block_dtmf_session(HandleRef jarg1);
@ -12404,6 +12471,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_init")] [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_init")]
public static extern int switch_xml_init(HandleRef jarg1, ref string jarg2); public static extern int switch_xml_init(HandleRef jarg1, ref string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_reload")]
public static extern int switch_xml_reload(ref string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_destroy")] [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_destroy")]
public static extern int switch_xml_destroy(); public static extern int switch_xml_destroy();
@ -13290,10 +13360,10 @@ class freeswitchPINVOKE {
public static extern int CoreSession_Transfer(HandleRef jarg1, string jarg2, string jarg3, string jarg4); public static extern int CoreSession_Transfer(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_CoreSession_read")] [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_read")]
public static extern string CoreSession_read(HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6); public static extern string CoreSession_read(HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6, int jarg7);
[DllImport("mod_managed", EntryPoint="CSharp_CoreSession_PlayAndGetDigits")] [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_PlayAndGetDigits")]
public static extern string CoreSession_PlayAndGetDigits(HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10); public static extern string CoreSession_PlayAndGetDigits(HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, int jarg11);
[DllImport("mod_managed", EntryPoint="CSharp_CoreSession_StreamFile")] [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_StreamFile")]
public static extern int CoreSession_StreamFile(HandleRef jarg1, string jarg2, int jarg3); public static extern int CoreSession_StreamFile(HandleRef jarg1, string jarg2, int jarg3);