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);
}
+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;
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;
[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();