reswig and fix header file
This commit is contained in:
parent
3199f5ce0a
commit
f3206e5ff1
|
@ -286,6 +286,7 @@ SWITCH_DECLARE(bool) email(char *to, char *from, char *headers = NULL, char *bod
|
|||
|
||||
SWITCH_DECLARE(int) speak(char *text);
|
||||
SWITCH_DECLARE(void) set_tts_parms(char *tts_name, char *voice_name);
|
||||
SWITCH_DECLARE(void) set_tts_params(char *tts_name, char *voice_name);
|
||||
|
||||
/**
|
||||
* For timeout milliseconds, call the dtmf function set previously
|
||||
|
|
|
@ -12674,14 +12674,14 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql_event_callback(voi
|
|||
int jresult ;
|
||||
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
switch_db_event_callback_func_t arg3 = (switch_db_event_callback_func_t) 0 ;
|
||||
switch_core_db_event_callback_func_t arg3 = (switch_core_db_event_callback_func_t) 0 ;
|
||||
void *arg4 = (void *) 0 ;
|
||||
char **arg5 = (char **) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_cache_db_handle_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (switch_db_event_callback_func_t)jarg3;
|
||||
arg3 = (switch_core_db_event_callback_func_t)jarg3;
|
||||
arg4 = (void *)jarg4;
|
||||
arg5 = (char **)jarg5;
|
||||
result = (switch_status_t)switch_cache_db_execute_sql_event_callback(arg1,(char const *)arg2,arg3,arg4,arg5);
|
||||
|
@ -12690,6 +12690,34 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql_event_callback(voi
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manger_execute_sql_callback(void * jarg1, char * jarg2, void * jarg3, void * jarg4) {
|
||||
switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
switch_core_db_callback_func_t arg3 = (switch_core_db_callback_func_t) 0 ;
|
||||
void *arg4 = (void *) 0 ;
|
||||
|
||||
arg1 = (switch_sql_queue_manager_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (switch_core_db_callback_func_t)jarg3;
|
||||
arg4 = (void *)jarg4;
|
||||
switch_sql_queue_manger_execute_sql_callback(arg1,(char const *)arg2,arg3,arg4);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manger_execute_sql_event_callback(void * jarg1, char * jarg2, void * jarg3, void * jarg4) {
|
||||
switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
switch_core_db_event_callback_func_t arg3 = (switch_core_db_event_callback_func_t) 0 ;
|
||||
void *arg4 = (void *) 0 ;
|
||||
|
||||
arg1 = (switch_sql_queue_manager_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (switch_core_db_event_callback_func_t)jarg3;
|
||||
arg4 = (void *)jarg4;
|
||||
switch_sql_queue_manger_execute_sql_event_callback(arg1,(char const *)arg2,arg3,arg4);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_fork() {
|
||||
void * jresult ;
|
||||
pid_t result;
|
||||
|
|
|
@ -2901,6 +2901,14 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_sql_queue_manger_execute_sql_callback(SWIGTYPE_p_switch_sql_queue_manager qm, string sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int callback, SWIGTYPE_p_void pdata) {
|
||||
freeswitchPINVOKE.switch_sql_queue_manger_execute_sql_callback(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm), sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int.getCPtr(callback), SWIGTYPE_p_void.getCPtr(pdata));
|
||||
}
|
||||
|
||||
public static void switch_sql_queue_manger_execute_sql_event_callback(SWIGTYPE_p_switch_sql_queue_manager qm, string sql, SWIGTYPE_p_f_p_void_p_switch_event__int callback, SWIGTYPE_p_void pdata) {
|
||||
freeswitchPINVOKE.switch_sql_queue_manger_execute_sql_event_callback(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm), sql, SWIGTYPE_p_f_p_void_p_switch_event__int.getCPtr(callback), SWIGTYPE_p_void.getCPtr(pdata));
|
||||
}
|
||||
|
||||
public static SWIGTYPE_p_pid_t switch_fork() {
|
||||
SWIGTYPE_p_pid_t ret = new SWIGTYPE_p_pid_t(freeswitchPINVOKE.switch_fork(), true);
|
||||
return ret;
|
||||
|
@ -9682,6 +9690,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql_event_callback")]
|
||||
public static extern int switch_cache_db_execute_sql_event_callback(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, ref string jarg5);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manger_execute_sql_callback")]
|
||||
public static extern void switch_sql_queue_manger_execute_sql_callback(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manger_execute_sql_event_callback")]
|
||||
public static extern void switch_sql_queue_manger_execute_sql_event_callback(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_fork")]
|
||||
public static extern IntPtr switch_fork();
|
||||
|
||||
|
|
Loading…
Reference in New Issue