}\r
\r
\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_signal_data(void * jarg1, void * jarg2) {\r
+ int jresult ;\r
+ switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
+ void *arg2 = (void *) 0 ;\r
+ switch_status_t result;\r
+ \r
+ arg1 = (switch_core_session_t *)jarg1; \r
+ arg2 = (void *)jarg2; \r
+ result = (switch_status_t)switch_core_session_queue_signal_data(arg1,arg2);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_signal_data(void * jarg1, void * jarg2) {\r
+ int jresult ;\r
+ switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
+ void **arg2 = (void **) 0 ;\r
+ switch_status_t result;\r
+ \r
+ arg1 = (switch_core_session_t *)jarg1; \r
+ arg2 = (void **)jarg2; \r
+ result = (switch_status_t)switch_core_session_dequeue_signal_data(arg1,arg2);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_pass_indication(void * jarg1, int jarg2) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_insert_wrlock(void * jarg1, char * jarg2, void * jarg3, void * jarg4) {\r
+ int jresult ;\r
+ switch_hash_t *arg1 = (switch_hash_t *) 0 ;\r
+ char *arg2 = (char *) 0 ;\r
+ void *arg3 = (void *) 0 ;\r
+ switch_thread_rwlock_t *arg4 = (switch_thread_rwlock_t *) 0 ;\r
+ switch_status_t result;\r
+ \r
+ arg1 = (switch_hash_t *)jarg1; \r
+ arg2 = (char *)jarg2; \r
+ arg3 = (void *)jarg3; \r
+ arg4 = (switch_thread_rwlock_t *)jarg4; \r
+ result = (switch_status_t)switch_core_hash_insert_wrlock(arg1,(char const *)arg2,(void const *)arg3,arg4);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_delete(void * jarg1, char * jarg2) {\r
int jresult ;\r
switch_hash_t *arg1 = (switch_hash_t *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_delete_wrlock(void * jarg1, char * jarg2, void * jarg3) {\r
+ int jresult ;\r
+ switch_hash_t *arg1 = (switch_hash_t *) 0 ;\r
+ char *arg2 = (char *) 0 ;\r
+ switch_thread_rwlock_t *arg3 = (switch_thread_rwlock_t *) 0 ;\r
+ switch_status_t result;\r
+ \r
+ arg1 = (switch_hash_t *)jarg1; \r
+ arg2 = (char *)jarg2; \r
+ arg3 = (switch_thread_rwlock_t *)jarg3; \r
+ result = (switch_status_t)switch_core_hash_delete_wrlock(arg1,(char const *)arg2,arg3);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_delete_multi(void * jarg1, void * jarg2, void * jarg3) {\r
int jresult ;\r
switch_hash_t *arg1 = (switch_hash_t *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_find_rdlock(void * jarg1, char * jarg2, void * jarg3) {\r
+ void * jresult ;\r
+ switch_hash_t *arg1 = (switch_hash_t *) 0 ;\r
+ char *arg2 = (char *) 0 ;\r
+ switch_thread_rwlock_t *arg3 = (switch_thread_rwlock_t *) 0 ;\r
+ void *result = 0 ;\r
+ \r
+ arg1 = (switch_hash_t *)jarg1; \r
+ arg2 = (char *)jarg2; \r
+ arg3 = (switch_thread_rwlock_t *)jarg3; \r
+ result = (void *)switch_core_hash_find_rdlock(arg1,(char const *)arg2,arg3);\r
+ jresult = (void *)result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_hash_first(char * jarg1, void * jarg2) {\r
void * jresult ;\r
char *arg1 = (char *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_last_hold_set(void * jarg1, void * jarg2) {\r
+ switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ;\r
+ switch_time_t arg2 ;\r
+ switch_time_t *argp2 ;\r
+ \r
+ arg1 = (switch_channel_timetable *)jarg1; \r
+ argp2 = (switch_time_t *)jarg2; \r
+ if (!argp2) {\r
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0);\r
+ return ;\r
+ }\r
+ arg2 = *argp2; \r
+ if (arg1) (arg1)->last_hold = arg2;\r
+}\r
+\r
+\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_last_hold_get(void * jarg1) {\r
+ void * jresult ;\r
+ switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ;\r
+ switch_time_t result;\r
+ \r
+ arg1 = (switch_channel_timetable *)jarg1; \r
+ result = ((arg1)->last_hold);\r
+ jresult = new switch_time_t((const switch_time_t &)result); \r
+ return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_hold_accum_set(void * jarg1, void * jarg2) {\r
+ switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ;\r
+ switch_time_t arg2 ;\r
+ switch_time_t *argp2 ;\r
+ \r
+ arg1 = (switch_channel_timetable *)jarg1; \r
+ argp2 = (switch_time_t *)jarg2; \r
+ if (!argp2) {\r
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0);\r
+ return ;\r
+ }\r
+ arg2 = *argp2; \r
+ if (arg1) (arg1)->hold_accum = arg2;\r
+}\r
+\r
+\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_hold_accum_get(void * jarg1) {\r
+ void * jresult ;\r
+ switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ;\r
+ switch_time_t result;\r
+ \r
+ arg1 = (switch_channel_timetable *)jarg1; \r
+ result = ((arg1)->hold_accum);\r
+ jresult = new switch_time_t((const switch_time_t &)result); \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_next_set(void * jarg1, void * jarg2) {\r
switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ;\r
switch_channel_timetable *arg2 = (switch_channel_timetable *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_cause_ptr(void * jarg1) {\r
+ void * jresult ;\r
+ switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
+ switch_call_cause_t *result = 0 ;\r
+ \r
+ arg1 = (switch_channel_t *)jarg1; \r
+ result = (switch_call_cause_t *)switch_channel_get_cause_ptr(arg1);\r
+ jresult = (void *)result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_cause2str(int jarg1) {\r
char * jresult ;\r
switch_call_cause_t arg1 ;\r
}\r
\r
\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_scope_variables(void * jarg1, void * jarg2) {\r
+ switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
+ switch_event_t **arg2 = (switch_event_t **) 0 ;\r
+ \r
+ arg1 = (switch_channel_t *)jarg1; \r
+ arg2 = (switch_event_t **)jarg2; \r
+ switch_channel_set_scope_variables(arg1,arg2);\r
+}\r
+\r
+\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_scope_variables(void * jarg1, void * jarg2) {\r
+ int jresult ;\r
+ switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
+ switch_event_t **arg2 = (switch_event_t **) 0 ;\r
+ switch_status_t result;\r
+ \r
+ arg1 = (switch_channel_t *)jarg1; \r
+ arg2 = (switch_event_t **)jarg2; \r
+ result = (switch_status_t)switch_channel_get_scope_variables(arg1,arg2);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_variable_dup(void * jarg1, char * jarg2, int jarg3, int jarg4) {\r
char * jresult ;\r
switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_peek_zerocopy(void * jarg1, void * jarg2) {\r
+ void * jresult ;\r
+ switch_buffer_t *arg1 = (switch_buffer_t *) 0 ;\r
+ void **arg2 = (void **) 0 ;\r
+ switch_size_t result;\r
+ \r
+ arg1 = (switch_buffer_t *)jarg1; \r
+ arg2 = (void **)jarg2; \r
+ result = switch_buffer_peek_zerocopy(arg1,(void const **)arg2);\r
+ jresult = new switch_size_t((const switch_size_t &)result); \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_read_loop(void * jarg1, void * jarg2, void * jarg3) {\r
void * jresult ;\r
switch_buffer_t *arg1 = (switch_buffer_t *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_all_signal_data(void * jarg1) {\r
+ int jresult ;\r
+ switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
+ switch_status_t result;\r
+ \r
+ arg1 = (switch_core_session_t *)jarg1; \r
+ result = (switch_status_t)switch_ivr_parse_all_signal_data(arg1);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_sleep(void * jarg1, unsigned long jarg2, int jarg3, void * jarg4) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_set_root(void * jarg1) {\r
+ int jresult ;\r
+ switch_xml_t arg1 = (switch_xml_t) 0 ;\r
+ switch_status_t result;\r
+ \r
+ arg1 = (switch_xml_t)jarg1; \r
+ result = (switch_status_t)switch_xml_set_root(arg1);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_set_open_root_function(void * jarg1, void * jarg2) {\r
+ int jresult ;\r
+ switch_xml_open_root_function_t arg1 = (switch_xml_open_root_function_t) 0 ;\r
+ void *arg2 = (void *) 0 ;\r
+ switch_status_t result;\r
+ \r
+ arg1 = (switch_xml_open_root_function_t)jarg1; \r
+ arg2 = (void *)jarg2; \r
+ result = (switch_status_t)switch_xml_set_open_root_function(arg1,arg2);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_open_root(unsigned char jarg1, void * jarg2) {\r
void * jresult ;\r
uint8_t arg1 ;\r
freeswitchPINVOKE.switch_core_session_free_message(SWIGTYPE_p_p_switch_core_session_message.getCPtr(message));\r
}\r
\r
+ public static switch_status_t switch_core_session_queue_signal_data(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_void signal_data) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_queue_signal_data(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_void.getCPtr(signal_data));\r
+ return ret;\r
+ }\r
+\r
+ public static switch_status_t switch_core_session_dequeue_signal_data(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_void signal_data) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_dequeue_signal_data(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_void.getCPtr(signal_data));\r
+ return ret;\r
+ }\r
+\r
public static switch_status_t switch_core_session_pass_indication(SWIGTYPE_p_switch_core_session session, switch_core_session_message_types_t indication) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_pass_indication(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)indication);\r
return ret;\r
return ret;\r
}\r
\r
+ public static switch_status_t switch_core_hash_insert_wrlock(SWIGTYPE_p_switch_hash hash, string key, SWIGTYPE_p_void data, SWIGTYPE_p_switch_thread_rwlock_t rwlock) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_insert_wrlock(SWIGTYPE_p_switch_hash.getCPtr(hash), key, SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(rwlock));\r
+ return ret;\r
+ }\r
+\r
public static switch_status_t switch_core_hash_delete(SWIGTYPE_p_switch_hash hash, string key) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_delete(SWIGTYPE_p_switch_hash.getCPtr(hash), key);\r
return ret;\r
return ret;\r
}\r
\r
+ public static switch_status_t switch_core_hash_delete_wrlock(SWIGTYPE_p_switch_hash hash, string key, SWIGTYPE_p_switch_thread_rwlock_t rwlock) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_delete_wrlock(SWIGTYPE_p_switch_hash.getCPtr(hash), key, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(rwlock));\r
+ return ret;\r
+ }\r
+\r
public static switch_status_t switch_core_hash_delete_multi(SWIGTYPE_p_switch_hash hash, SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t callback, SWIGTYPE_p_void pData) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_delete_multi(SWIGTYPE_p_switch_hash.getCPtr(hash), SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(pData));\r
return ret;\r
return ret;\r
}\r
\r
+ public static SWIGTYPE_p_void switch_core_hash_find_rdlock(SWIGTYPE_p_switch_hash hash, string key, SWIGTYPE_p_switch_thread_rwlock_t rwlock) {\r
+ IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_find_rdlock(SWIGTYPE_p_switch_hash.getCPtr(hash), key, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(rwlock));\r
+ SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);\r
+ return ret;\r
+ }\r
+\r
public static SWIGTYPE_p_HashElem switch_hash_first(string depricate_me, SWIGTYPE_p_switch_hash hash) {\r
IntPtr cPtr = freeswitchPINVOKE.switch_hash_first(depricate_me, SWIGTYPE_p_switch_hash.getCPtr(hash));\r
SWIGTYPE_p_HashElem ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_HashElem(cPtr, false);\r
return ret;\r
}\r
\r
+ public static SWIGTYPE_p_switch_call_cause_t switch_channel_get_cause_ptr(SWIGTYPE_p_switch_channel channel) {\r
+ IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_cause_ptr(SWIGTYPE_p_switch_channel.getCPtr(channel));\r
+ SWIGTYPE_p_switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_call_cause_t(cPtr, false);\r
+ return ret;\r
+ }\r
+\r
public static string switch_channel_cause2str(switch_call_cause_t cause) {\r
string ret = freeswitchPINVOKE.switch_channel_cause2str((int)cause);\r
return ret;\r
return ret;\r
}\r
\r
+ public static void switch_channel_set_scope_variables(SWIGTYPE_p_switch_channel channel, SWIGTYPE_p_p_switch_event arg1) {\r
+ freeswitchPINVOKE.switch_channel_set_scope_variables(SWIGTYPE_p_switch_channel.getCPtr(channel), SWIGTYPE_p_p_switch_event.getCPtr(arg1));\r
+ }\r
+\r
+ public static switch_status_t switch_channel_get_scope_variables(SWIGTYPE_p_switch_channel channel, SWIGTYPE_p_p_switch_event arg1) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_get_scope_variables(SWIGTYPE_p_switch_channel.getCPtr(channel), SWIGTYPE_p_p_switch_event.getCPtr(arg1));\r
+ return ret;\r
+ }\r
+\r
public static string switch_channel_get_variable_dup(SWIGTYPE_p_switch_channel channel, string varname, switch_bool_t dup, int idx) {\r
string ret = freeswitchPINVOKE.switch_channel_get_variable_dup(SWIGTYPE_p_switch_channel.getCPtr(channel), varname, (int)dup, idx);\r
return ret;\r
return ret;\r
}\r
\r
+ public static SWIGTYPE_p_switch_size_t switch_buffer_peek_zerocopy(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_p_void ptr) {\r
+ SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_peek_zerocopy(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_p_void.getCPtr(ptr)), true);\r
+ return ret;\r
+ }\r
+\r
public static SWIGTYPE_p_switch_size_t switch_buffer_read_loop(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen) {\r
SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_read_loop(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen)), true);\r
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
\r
+ public static switch_status_t switch_ivr_parse_all_signal_data(SWIGTYPE_p_switch_core_session session) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_parse_all_signal_data(SWIGTYPE_p_switch_core_session.getCPtr(session));\r
+ return ret;\r
+ }\r
+\r
public static switch_status_t switch_ivr_sleep(SWIGTYPE_p_switch_core_session session, uint ms, switch_bool_t sync, switch_input_args_t args) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_sleep(SWIGTYPE_p_switch_core_session.getCPtr(session), ms, (int)sync, switch_input_args_t.getCPtr(args));\r
return ret;\r
return ret;\r
}\r
\r
+ public static switch_status_t switch_xml_set_root(switch_xml new_main) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_set_root(switch_xml.getCPtr(new_main));\r
+ return ret;\r
+ }\r
+\r
+ public static switch_status_t switch_xml_set_open_root_function(SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml func, SWIGTYPE_p_void user_data) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_set_open_root_function(SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml.getCPtr(func), SWIGTYPE_p_void.getCPtr(user_data));\r
+ return ret;\r
+ }\r
+\r
public static switch_xml switch_xml_open_root(byte reload, ref string err) {\r
IntPtr cPtr = freeswitchPINVOKE.switch_xml_open_root(reload, ref err);\r
switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false);\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_free_message")]\r
public static extern void switch_core_session_free_message(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_signal_data")]\r
+ public static extern int switch_core_session_queue_signal_data(HandleRef jarg1, HandleRef jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_dequeue_signal_data")]\r
+ public static extern int switch_core_session_dequeue_signal_data(HandleRef jarg1, HandleRef jarg2);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_pass_indication")]\r
public static extern int switch_core_session_pass_indication(HandleRef jarg1, int jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_insert_locked")]\r
public static extern int switch_core_hash_insert_locked(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_insert_wrlock")]\r
+ public static extern int switch_core_hash_insert_wrlock(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete")]\r
public static extern int switch_core_hash_delete(HandleRef jarg1, string jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete_locked")]\r
public static extern int switch_core_hash_delete_locked(HandleRef jarg1, string jarg2, HandleRef jarg3);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete_wrlock")]\r
+ public static extern int switch_core_hash_delete_wrlock(HandleRef jarg1, string jarg2, HandleRef jarg3);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete_multi")]\r
public static extern int switch_core_hash_delete_multi(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_find_locked")]\r
public static extern IntPtr switch_core_hash_find_locked(HandleRef jarg1, string jarg2, HandleRef jarg3);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_find_rdlock")]\r
+ public static extern IntPtr switch_core_hash_find_rdlock(HandleRef jarg1, string jarg2, HandleRef jarg3);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_hash_first")]\r
public static extern IntPtr switch_hash_first(string jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_bridged_get")]\r
public static extern IntPtr switch_channel_timetable_bridged_get(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_last_hold_set")]\r
+ public static extern void switch_channel_timetable_last_hold_set(HandleRef jarg1, HandleRef jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_last_hold_get")]\r
+ public static extern IntPtr switch_channel_timetable_last_hold_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_hold_accum_set")]\r
+ public static extern void switch_channel_timetable_hold_accum_set(HandleRef jarg1, HandleRef jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_hold_accum_get")]\r
+ public static extern IntPtr switch_channel_timetable_hold_accum_get(HandleRef jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_next_set")]\r
public static extern void switch_channel_timetable_next_set(HandleRef jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_cause_q850")]\r
public static extern int switch_channel_get_cause_q850(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_cause_ptr")]\r
+ public static extern IntPtr switch_channel_get_cause_ptr(HandleRef jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_cause2str")]\r
public static extern string switch_channel_cause2str(int jarg1);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_export_variable_printf")]\r
public static extern int switch_channel_export_variable_printf(HandleRef jarg1, string jarg2, string jarg3, string jarg4);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_scope_variables")]\r
+ public static extern void switch_channel_set_scope_variables(HandleRef jarg1, HandleRef jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_scope_variables")]\r
+ public static extern int switch_channel_get_scope_variables(HandleRef jarg1, HandleRef jarg2);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_variable_dup")]\r
public static extern string switch_channel_get_variable_dup(HandleRef jarg1, string jarg2, int jarg3, int jarg4);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_peek")]\r
public static extern IntPtr switch_buffer_peek(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_peek_zerocopy")]\r
+ public static extern IntPtr switch_buffer_peek_zerocopy(HandleRef jarg1, HandleRef jarg2);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_read_loop")]\r
public static extern IntPtr switch_buffer_read_loop(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_all_messages")]\r
public static extern int switch_ivr_parse_all_messages(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_all_signal_data")]\r
+ public static extern int switch_ivr_parse_all_signal_data(HandleRef jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_sleep")]\r
public static extern int switch_ivr_sleep(HandleRef jarg1, uint jarg2, int jarg3, HandleRef jarg4);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_insert")]\r
public static extern IntPtr switch_xml_insert(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_root")]\r
+ public static extern int switch_xml_set_root(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_open_root_function")]\r
+ public static extern int switch_xml_set_open_root_function(HandleRef jarg1, HandleRef jarg2);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_open_root")]\r
public static extern IntPtr switch_xml_open_root(byte jarg1, ref string jarg2);\r
\r
using System;\r
using System.Runtime.InteropServices;\r
\r
+public class SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml {\r
+ private HandleRef swigCPtr;\r
+\r
+ internal SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml(IntPtr cPtr, bool futureUse) {\r
+ swigCPtr = new HandleRef(this, cPtr);\r
+ }\r
+\r
+ protected SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml() {\r
+ swigCPtr = new HandleRef(null, IntPtr.Zero);\r
+ }\r
+\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml obj) {\r
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+}\r
+\r
+}\r
+/* ----------------------------------------------------------------------------\r
+ * This file was automatically generated by SWIG (http://www.swig.org).\r
+ * Version 2.0.1\r
+ *\r
+ * Do not make changes to this file unless you know what you are doing--modify\r
+ * the SWIG interface file instead.\r
+ * ----------------------------------------------------------------------------- */\r
+\r
+namespace FreeSWITCH.Native {\r
+\r
+using System;\r
+using System.Runtime.InteropServices;\r
+\r
public class SWIGTYPE_p_f_void__p_char {\r
private HandleRef swigCPtr;\r
\r
\r
public enum switch_channel_app_flag_t {\r
CF_APP_TAGGED = (1 << 0),\r
- CF_APP_T38 = (1 << 1)\r
+ CF_APP_T38 = (1 << 1),\r
+ CF_APP_T38_REQ = (1 << 2),\r
+ CF_APP_T38_FAIL = (1 << 3)\r
}\r
\r
}\r
} \r
}\r
\r
+ public SWIGTYPE_p_switch_time_t last_hold {\r
+ set {\r
+ freeswitchPINVOKE.switch_channel_timetable_last_hold_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value));\r
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
+ } \r
+ get {\r
+ SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_last_hold_get(swigCPtr), true);\r
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public SWIGTYPE_p_switch_time_t hold_accum {\r
+ set {\r
+ freeswitchPINVOKE.switch_channel_timetable_hold_accum_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value));\r
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
+ } \r
+ get {\r
+ SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_hold_accum_get(swigCPtr), true);\r
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ } \r
+ }\r
+\r
public switch_channel_timetable next {\r
set {\r
freeswitchPINVOKE.switch_channel_timetable_next_set(swigCPtr, switch_channel_timetable.getCPtr(value));\r
SWITCH_MESSAGE_INDICATE_CLEAR_PROGRESS,\r
SWITCH_MESSAGE_INDICATE_JITTER_BUFFER,\r
SWITCH_MESSAGE_INDICATE_RECOVERY_REFRESH,\r
+ SWITCH_MESSAGE_INDICATE_SIGNAL_DATA,\r
SWITCH_MESSAGE_INVALID\r
}\r
\r
SCSC_CRASH,\r
SCSC_MIN_IDLE_CPU,\r
SCSC_VERBOSE_EVENTS,\r
- SCSC_SHUTDOWN_CHECK\r
+ SCSC_SHUTDOWN_CHECK,\r
+ SCSC_PAUSE_CHECK,\r
+ SCSC_READY_CHECK\r
}\r
\r
}\r