}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_sqldb_stop_thread() {\r
- switch_core_sqldb_stop_thread();\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_sqldb_pause() {\r
+ switch_core_sqldb_pause();\r
}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_sqldb_start_thread() {\r
- switch_core_sqldb_start_thread();\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_sqldb_resume() {\r
+ switch_core_sqldb_resume();\r
}\r
\r
\r
}\r
\r
\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_size(void * jarg1, unsigned long jarg2) {\r
+ int jresult ;\r
+ switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ;\r
+ uint32_t arg2 ;\r
+ int result;\r
+ \r
+ arg1 = (switch_sql_queue_manager_t *)jarg1; \r
+ arg2 = (uint32_t)jarg2; \r
+ result = (int)switch_sql_queue_manager_size(arg1,arg2);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_push_confirm(void * jarg1, char * jarg2, unsigned long jarg3, int jarg4) {\r
int jresult ;\r
switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ;\r
return ret;\r
}\r
\r
- public static void switch_core_sqldb_stop_thread() {\r
- freeswitchPINVOKE.switch_core_sqldb_stop_thread();\r
+ public static void switch_core_sqldb_pause() {\r
+ freeswitchPINVOKE.switch_core_sqldb_pause();\r
}\r
\r
- public static void switch_core_sqldb_start_thread() {\r
- freeswitchPINVOKE.switch_core_sqldb_start_thread();\r
+ public static void switch_core_sqldb_resume() {\r
+ freeswitchPINVOKE.switch_core_sqldb_resume();\r
}\r
\r
public static string switch_cache_db_type_name(switch_cache_db_handle_type_t type) {\r
freeswitchPINVOKE.switch_core_recovery_flush(technology, profile_name);\r
}\r
\r
+ public static int switch_sql_queue_manager_size(SWIGTYPE_p_switch_sql_queue_manager qm, uint index) {\r
+ int ret = freeswitchPINVOKE.switch_sql_queue_manager_size(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm), index);\r
+ return ret;\r
+ }\r
+\r
public static switch_status_t switch_sql_queue_manager_push_confirm(SWIGTYPE_p_switch_sql_queue_manager qm, string sql, uint pos, switch_bool_t dup) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_sql_queue_manager_push_confirm(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm), sql, pos, (int)dup);\r
return ret;\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_preprocess_session")]\r
public static extern int switch_ivr_preprocess_session(HandleRef jarg1, string jarg2);\r
\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sqldb_stop_thread")]\r
- public static extern void switch_core_sqldb_stop_thread();\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sqldb_pause")]\r
+ public static extern void switch_core_sqldb_pause();\r
\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sqldb_start_thread")]\r
- public static extern void switch_core_sqldb_start_thread();\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sqldb_resume")]\r
+ public static extern void switch_core_sqldb_resume();\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_CACHE_DB_LEN_get")]\r
public static extern int CACHE_DB_LEN_get();\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_recovery_flush")]\r
public static extern void switch_core_recovery_flush(string jarg1, string jarg2);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_size")]\r
+ public static extern int switch_sql_queue_manager_size(HandleRef jarg1, uint jarg2);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_push_confirm")]\r
public static extern int switch_sql_queue_manager_push_confirm(HandleRef jarg1, string jarg2, uint jarg3, int jarg4);\r
\r