From 892e50fc4614c3b59eef8b22a14ec7137442fae4 Mon Sep 17 00:00:00 2001 From: Anthony Minessale <anthony.minessale@gmail.com> Date: Thu, 13 Nov 2008 20:48:49 +0000 Subject: [PATCH] swigall git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10384 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- .../languages/mod_managed/freeswitch_wrap.cxx | 715 +++++++++++++++++- src/mod/languages/mod_managed/managed/swig.cs | 516 ++++++++++++- 2 files changed, 1219 insertions(+), 12 deletions(-) diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.cxx index 0031f5462d..ef3035a9d4 100644 --- a/src/mod/languages/mod_managed/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_managed/freeswitch_wrap.cxx @@ -1378,6 +1378,17 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get() { } +SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get() { + char * jresult ; + char *result = 0 ; + + result = (char *) "park_after_bridge"; + + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get() { char * jresult ; char *result = 0 ; @@ -2683,7 +2694,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_API_VERSION_get() { int jresult ; int result; - result = (int) 1; + result = (int) 3; jresult = result; return jresult; @@ -2782,6 +2793,29 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_run } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_flags_set(void * jarg1, unsigned long jarg2) { + switch_loadable_module_function_table_t *arg1 = (switch_loadable_module_function_table_t *) 0 ; + switch_module_flag_t arg2 ; + + arg1 = (switch_loadable_module_function_table_t *)jarg1; + arg2 = (switch_module_flag_t)jarg2; + if (arg1) (arg1)->flags = arg2; + +} + + +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_flags_get(void * jarg1) { + unsigned long jresult ; + switch_loadable_module_function_table_t *arg1 = (switch_loadable_module_function_table_t *) 0 ; + switch_module_flag_t result; + + arg1 = (switch_loadable_module_function_table_t *)jarg1; + result = (switch_module_flag_t) ((arg1)->flags); + jresult = (unsigned long)result; + return jresult; +} + + SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_loadable_module_function_table_t() { void * jresult ; switch_loadable_module_function_table_t *result = 0 ; @@ -4625,6 +4659,26 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_read(void * jarg1, void } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_flush(void * jarg1) { + switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; + + arg1 = (switch_media_bug_t *)jarg1; + switch_core_media_bug_flush(arg1); +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_flush_all(void * jarg1) { + int jresult ; + switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; + switch_status_t result; + + arg1 = (switch_core_session_t *)jarg1; + result = (switch_status_t)switch_core_media_bug_flush_all(arg1); + jresult = result; + return jresult; +} + + SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(unsigned short jarg1, unsigned short jarg2, unsigned long jarg3, void * jarg4) { int jresult ; switch_port_t arg1 ; @@ -5057,7 +5111,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_request_uuid(void * jar arg1 = (switch_endpoint_interface_t *)jarg1; arg2 = (switch_memory_pool_t **)jarg2; arg3 = (char *)jarg3; - result = (switch_core_session_t *)switch_core_session_request_uuid((switch_endpoint_interface const *)arg1,arg2,(char const *)arg3); + result = (switch_core_session_t *)switch_core_session_request_uuid(arg1,arg2,(char const *)arg3); jresult = (void *)result; return jresult; } @@ -7347,6 +7401,14 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_system(char * jarg1, int jarg2) { } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_cond_yield(unsigned long jarg1) { + uint32_t arg1 ; + + arg1 = (uint32_t)jarg1; + switch_cond_yield(arg1); +} + + SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CMD_CHUNK_LEN_get() { int jresult ; int result; @@ -10611,6 +10673,52 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_rwlock_get(void * } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_refs_set(void * jarg1, int jarg2) { + switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; + int arg2 ; + + arg1 = (switch_endpoint_interface *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->refs = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_endpoint_interface_refs_get(void * jarg1) { + int jresult ; + switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; + int result; + + arg1 = (switch_endpoint_interface *)jarg1; + result = (int) ((arg1)->refs); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_parent_set(void * jarg1, void * jarg2) { + switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; + switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; + + arg1 = (switch_endpoint_interface *)jarg1; + arg2 = (switch_loadable_module_interface_t *)jarg2; + if (arg1) (arg1)->parent = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_parent_get(void * jarg1) { + void * jresult ; + switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; + switch_loadable_module_interface_t *result = 0 ; + + arg1 = (switch_endpoint_interface *)jarg1; + result = (switch_loadable_module_interface_t *) ((arg1)->parent); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_next_set(void * jarg1, void * jarg2) { switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_endpoint_interface *arg2 = (switch_endpoint_interface *) 0 ; @@ -11081,6 +11189,52 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_rwlock_get(void * ja } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_refs_set(void * jarg1, int jarg2) { + switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; + int arg2 ; + + arg1 = (switch_timer_interface *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->refs = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_timer_interface_refs_get(void * jarg1) { + int jresult ; + switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; + int result; + + arg1 = (switch_timer_interface *)jarg1; + result = (int) ((arg1)->refs); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_parent_set(void * jarg1, void * jarg2) { + switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; + switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; + + arg1 = (switch_timer_interface *)jarg1; + arg2 = (switch_loadable_module_interface_t *)jarg2; + if (arg1) (arg1)->parent = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_parent_get(void * jarg1) { + void * jresult ; + switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; + switch_loadable_module_interface_t *result = 0 ; + + arg1 = (switch_timer_interface *)jarg1; + result = (switch_loadable_module_interface_t *) ((arg1)->parent); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_next_set(void * jarg1, void * jarg2) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_timer_interface *arg2 = (switch_timer_interface *) 0 ; @@ -11198,6 +11352,52 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_rwlock_get(void * } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_refs_set(void * jarg1, int jarg2) { + switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; + int arg2 ; + + arg1 = (switch_dialplan_interface *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->refs = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_dialplan_interface_refs_get(void * jarg1) { + int jresult ; + switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; + int result; + + arg1 = (switch_dialplan_interface *)jarg1; + result = (int) ((arg1)->refs); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_parent_set(void * jarg1, void * jarg2) { + switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; + switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; + + arg1 = (switch_dialplan_interface *)jarg1; + arg2 = (switch_loadable_module_interface_t *)jarg2; + if (arg1) (arg1)->parent = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_parent_get(void * jarg1) { + void * jresult ; + switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; + switch_loadable_module_interface_t *result = 0 ; + + arg1 = (switch_dialplan_interface *)jarg1; + result = (switch_loadable_module_interface_t *) ((arg1)->parent); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_next_set(void * jarg1, void * jarg2) { switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; switch_dialplan_interface *arg2 = (switch_dialplan_interface *) 0 ; @@ -11476,6 +11676,52 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_rwlock_get(void * jar } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_refs_set(void * jarg1, int jarg2) { + switch_file_interface *arg1 = (switch_file_interface *) 0 ; + int arg2 ; + + arg1 = (switch_file_interface *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->refs = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_interface_refs_get(void * jarg1) { + int jresult ; + switch_file_interface *arg1 = (switch_file_interface *) 0 ; + int result; + + arg1 = (switch_file_interface *)jarg1; + result = (int) ((arg1)->refs); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_parent_set(void * jarg1, void * jarg2) { + switch_file_interface *arg1 = (switch_file_interface *) 0 ; + switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; + + arg1 = (switch_file_interface *)jarg1; + arg2 = (switch_loadable_module_interface_t *)jarg2; + if (arg1) (arg1)->parent = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_parent_get(void * jarg1) { + void * jresult ; + switch_file_interface *arg1 = (switch_file_interface *) 0 ; + switch_loadable_module_interface_t *result = 0 ; + + arg1 = (switch_file_interface *)jarg1; + result = (switch_loadable_module_interface_t *) ((arg1)->parent); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_next_set(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_file_interface *arg2 = (switch_file_interface *) 0 ; @@ -11524,7 +11770,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_file_interface_set(void * arg1 = (switch_file_handle *)jarg1; arg2 = (switch_file_interface_t *)jarg2; - if (arg1) (arg1)->file_interface = (switch_file_interface_t const *)arg2; + if (arg1) (arg1)->file_interface = arg2; } @@ -12563,6 +12809,52 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_rwlock_get(void * jarg } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_refs_set(void * jarg1, int jarg2) { + switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; + int arg2 ; + + arg1 = (switch_asr_interface *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->refs = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_asr_interface_refs_get(void * jarg1) { + int jresult ; + switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; + int result; + + arg1 = (switch_asr_interface *)jarg1; + result = (int) ((arg1)->refs); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_parent_set(void * jarg1, void * jarg2) { + switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; + switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; + + arg1 = (switch_asr_interface *)jarg1; + arg2 = (switch_loadable_module_interface_t *)jarg2; + if (arg1) (arg1)->parent = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_parent_get(void * jarg1) { + void * jresult ; + switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; + switch_loadable_module_interface_t *result = 0 ; + + arg1 = (switch_asr_interface *)jarg1; + result = (switch_loadable_module_interface_t *) ((arg1)->parent); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_next_set(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_asr_interface *arg2 = (switch_asr_interface *) 0 ; @@ -12611,7 +12903,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_asr_interface_set(void * ja arg1 = (switch_asr_handle *)jarg1; arg2 = (switch_asr_interface_t *)jarg2; - if (arg1) (arg1)->asr_interface = (switch_asr_interface_t const *)arg2; + if (arg1) (arg1)->asr_interface = arg2; } @@ -13095,6 +13387,52 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_rwlock_get(void * j } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_refs_set(void * jarg1, int jarg2) { + switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; + int arg2 ; + + arg1 = (switch_speech_interface *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->refs = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_speech_interface_refs_get(void * jarg1) { + int jresult ; + switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; + int result; + + arg1 = (switch_speech_interface *)jarg1; + result = (int) ((arg1)->refs); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_parent_set(void * jarg1, void * jarg2) { + switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; + switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; + + arg1 = (switch_speech_interface *)jarg1; + arg2 = (switch_loadable_module_interface_t *)jarg2; + if (arg1) (arg1)->parent = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_parent_get(void * jarg1) { + void * jresult ; + switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; + switch_loadable_module_interface_t *result = 0 ; + + arg1 = (switch_speech_interface *)jarg1; + result = (switch_loadable_module_interface_t *) ((arg1)->parent); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_next_set(void * jarg1, void * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_speech_interface *arg2 = (switch_speech_interface *) 0 ; @@ -13143,7 +13481,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_speech_interface_set(voi arg1 = (switch_speech_handle *)jarg1; arg2 = (switch_speech_interface_t *)jarg2; - if (arg1) (arg1)->speech_interface = (switch_speech_interface_t const *)arg2; + if (arg1) (arg1)->speech_interface = arg2; } @@ -13507,6 +13845,52 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_rwlock_get(void * jarg } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_refs_set(void * jarg1, int jarg2) { + switch_say_interface *arg1 = (switch_say_interface *) 0 ; + int arg2 ; + + arg1 = (switch_say_interface *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->refs = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_say_interface_refs_get(void * jarg1) { + int jresult ; + switch_say_interface *arg1 = (switch_say_interface *) 0 ; + int result; + + arg1 = (switch_say_interface *)jarg1; + result = (int) ((arg1)->refs); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_parent_set(void * jarg1, void * jarg2) { + switch_say_interface *arg1 = (switch_say_interface *) 0 ; + switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; + + arg1 = (switch_say_interface *)jarg1; + arg2 = (switch_loadable_module_interface_t *)jarg2; + if (arg1) (arg1)->parent = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_parent_get(void * jarg1) { + void * jresult ; + switch_say_interface *arg1 = (switch_say_interface *) 0 ; + switch_loadable_module_interface_t *result = 0 ; + + arg1 = (switch_say_interface *)jarg1; + result = (switch_loadable_module_interface_t *) ((arg1)->parent); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_next_set(void * jarg1, void * jarg2) { switch_say_interface *arg1 = (switch_say_interface *) 0 ; switch_say_interface *arg2 = (switch_say_interface *) 0 ; @@ -13624,6 +14008,52 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_rwlock_get(void * jar } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_refs_set(void * jarg1, int jarg2) { + switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; + int arg2 ; + + arg1 = (switch_chat_interface *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->refs = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_chat_interface_refs_get(void * jarg1) { + int jresult ; + switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; + int result; + + arg1 = (switch_chat_interface *)jarg1; + result = (int) ((arg1)->refs); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_parent_set(void * jarg1, void * jarg2) { + switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; + switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; + + arg1 = (switch_chat_interface *)jarg1; + arg2 = (switch_loadable_module_interface_t *)jarg2; + if (arg1) (arg1)->parent = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_parent_get(void * jarg1) { + void * jresult ; + switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; + switch_loadable_module_interface_t *result = 0 ; + + arg1 = (switch_chat_interface *)jarg1; + result = (switch_loadable_module_interface_t *) ((arg1)->parent); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_next_set(void * jarg1, void * jarg2) { switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; switch_chat_interface *arg2 = (switch_chat_interface *) 0 ; @@ -13741,6 +14171,52 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_rwlock_get(void } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_refs_set(void * jarg1, int jarg2) { + switch_management_interface *arg1 = (switch_management_interface *) 0 ; + int arg2 ; + + arg1 = (switch_management_interface *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->refs = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_management_interface_refs_get(void * jarg1) { + int jresult ; + switch_management_interface *arg1 = (switch_management_interface *) 0 ; + int result; + + arg1 = (switch_management_interface *)jarg1; + result = (int) ((arg1)->refs); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_parent_set(void * jarg1, void * jarg2) { + switch_management_interface *arg1 = (switch_management_interface *) 0 ; + switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; + + arg1 = (switch_management_interface *)jarg1; + arg2 = (switch_loadable_module_interface_t *)jarg2; + if (arg1) (arg1)->parent = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_parent_get(void * jarg1) { + void * jresult ; + switch_management_interface *arg1 = (switch_management_interface *) 0 ; + switch_loadable_module_interface_t *result = 0 ; + + arg1 = (switch_management_interface *)jarg1; + result = (switch_loadable_module_interface_t *) ((arg1)->parent); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_next_set(void * jarg1, void * jarg2) { switch_management_interface *arg1 = (switch_management_interface *) 0 ; switch_management_interface *arg2 = (switch_management_interface *) 0 ; @@ -13950,6 +14426,52 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_rwlock_get(void } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_refs_set(void * jarg1, int jarg2) { + switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; + int arg2 ; + + arg1 = (switch_directory_interface *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->refs = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_directory_interface_refs_get(void * jarg1) { + int jresult ; + switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; + int result; + + arg1 = (switch_directory_interface *)jarg1; + result = (int) ((arg1)->refs); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_parent_set(void * jarg1, void * jarg2) { + switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; + switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; + + arg1 = (switch_directory_interface *)jarg1; + arg2 = (switch_loadable_module_interface_t *)jarg2; + if (arg1) (arg1)->parent = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_parent_get(void * jarg1) { + void * jresult ; + switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; + switch_loadable_module_interface_t *result = 0 ; + + arg1 = (switch_directory_interface *)jarg1; + result = (switch_loadable_module_interface_t *) ((arg1)->parent); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_next_set(void * jarg1, void * jarg2) { switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_directory_interface *arg2 = (switch_directory_interface *) 0 ; @@ -13998,7 +14520,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_handle_directory_interface_s arg1 = (switch_directory_handle *)jarg1; arg2 = (switch_directory_interface_t *)jarg2; - if (arg1) (arg1)->directory_interface = (switch_directory_interface_t const *)arg2; + if (arg1) (arg1)->directory_interface = arg2; } @@ -14496,7 +15018,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_codec_interface_set(void * jarg1 arg1 = (switch_codec *)jarg1; arg2 = (switch_codec_interface_t *)jarg2; - if (arg1) (arg1)->codec_interface = (switch_codec_interface_t const *)arg2; + if (arg1) (arg1)->codec_interface = arg2; } @@ -14711,6 +15233,29 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_codec_agreed_pt_get(void * ja } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_mutex_set(void * jarg1, void * jarg2) { + switch_codec *arg1 = (switch_codec *) 0 ; + switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; + + arg1 = (switch_codec *)jarg1; + arg2 = (switch_mutex_t *)jarg2; + if (arg1) (arg1)->mutex = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_mutex_get(void * jarg1) { + void * jresult ; + switch_codec *arg1 = (switch_codec *) 0 ; + switch_mutex_t *result = 0 ; + + arg1 = (switch_codec *)jarg1; + result = (switch_mutex_t *) ((arg1)->mutex); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec() { void * jresult ; switch_codec *result = 0 ; @@ -15298,6 +15843,52 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_rwlock_get(void * ja } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_refs_set(void * jarg1, int jarg2) { + switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; + int arg2 ; + + arg1 = (switch_codec_interface *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->refs = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_interface_refs_get(void * jarg1) { + int jresult ; + switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; + int result; + + arg1 = (switch_codec_interface *)jarg1; + result = (int) ((arg1)->refs); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_parent_set(void * jarg1, void * jarg2) { + switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; + switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; + + arg1 = (switch_codec_interface *)jarg1; + arg2 = (switch_loadable_module_interface_t *)jarg2; + if (arg1) (arg1)->parent = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_parent_get(void * jarg1) { + void * jresult ; + switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; + switch_loadable_module_interface_t *result = 0 ; + + arg1 = (switch_codec_interface *)jarg1; + result = (switch_loadable_module_interface_t *) ((arg1)->parent); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_next_set(void * jarg1, void * jarg2) { switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; switch_codec_interface *arg2 = (switch_codec_interface *) 0 ; @@ -15525,6 +16116,52 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_rwlock_get(voi } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_refs_set(void * jarg1, int jarg2) { + switch_application_interface *arg1 = (switch_application_interface *) 0 ; + int arg2 ; + + arg1 = (switch_application_interface *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->refs = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_application_interface_refs_get(void * jarg1) { + int jresult ; + switch_application_interface *arg1 = (switch_application_interface *) 0 ; + int result; + + arg1 = (switch_application_interface *)jarg1; + result = (int) ((arg1)->refs); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_parent_set(void * jarg1, void * jarg2) { + switch_application_interface *arg1 = (switch_application_interface *) 0 ; + switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; + + arg1 = (switch_application_interface *)jarg1; + arg2 = (switch_loadable_module_interface_t *)jarg2; + if (arg1) (arg1)->parent = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_parent_get(void * jarg1) { + void * jresult ; + switch_application_interface *arg1 = (switch_application_interface *) 0 ; + switch_loadable_module_interface_t *result = 0 ; + + arg1 = (switch_application_interface *)jarg1; + result = (switch_loadable_module_interface_t *) ((arg1)->parent); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_next_set(void * jarg1, void * jarg2) { switch_application_interface *arg1 = (switch_application_interface *) 0 ; switch_application_interface *arg2 = (switch_application_interface *) 0 ; @@ -15700,6 +16337,52 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_rwlock_get(void * jarg } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_refs_set(void * jarg1, int jarg2) { + switch_api_interface *arg1 = (switch_api_interface *) 0 ; + int arg2 ; + + arg1 = (switch_api_interface *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->refs = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_api_interface_refs_get(void * jarg1) { + int jresult ; + switch_api_interface *arg1 = (switch_api_interface *) 0 ; + int result; + + arg1 = (switch_api_interface *)jarg1; + result = (int) ((arg1)->refs); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_parent_set(void * jarg1, void * jarg2) { + switch_api_interface *arg1 = (switch_api_interface *) 0 ; + switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; + + arg1 = (switch_api_interface *)jarg1; + arg2 = (switch_loadable_module_interface_t *)jarg2; + if (arg1) (arg1)->parent = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_parent_get(void * jarg1) { + void * jresult ; + switch_api_interface *arg1 = (switch_api_interface *) 0 ; + switch_loadable_module_interface_t *result = 0 ; + + arg1 = (switch_api_interface *)jarg1; + result = (switch_loadable_module_interface_t *) ((arg1)->parent); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_next_set(void * jarg1, void * jarg2) { switch_api_interface *arg1 = (switch_api_interface *) 0 ; switch_api_interface *arg2 = (switch_api_interface *) 0 ; @@ -20549,6 +21232,18 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_release_port(char * jarg1, unsigne } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_change_interval(void * jarg1, unsigned long jarg2, unsigned long jarg3) { + switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; + uint32_t arg2 ; + uint32_t arg3 ; + + arg1 = (switch_rtp_t *)jarg1; + arg2 = (uint32_t)jarg2; + arg3 = (uint32_t)jarg3; + switch_rtp_change_interval(arg1,arg2,arg3); +} + + SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_create(void * jarg1, unsigned char jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, char * jarg6, void * jarg7, void * jarg8) { int jresult ; switch_rtp_t **arg1 = (switch_rtp_t **) 0 ; @@ -20791,12 +21486,12 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_rtp_socket(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_default_samples_per_interval(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_default_samples_per_interval(void * jarg1, unsigned long jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - uint16_t arg2 ; + uint32_t arg2 ; arg1 = (switch_rtp_t *)jarg1; - arg2 = (uint16_t)jarg2; + arg2 = (uint32_t)jarg2; switch_rtp_set_default_samples_per_interval(arg1,arg2); } diff --git a/src/mod/languages/mod_managed/managed/swig.cs b/src/mod/languages/mod_managed/managed/swig.cs index 645e9cacf1..2539dcfc55 100644 --- a/src/mod/languages/mod_managed/managed/swig.cs +++ b/src/mod/languages/mod_managed/managed/swig.cs @@ -926,6 +926,15 @@ public class freeswitch { return ret; } + public static void switch_core_media_bug_flush(SWIGTYPE_p_switch_media_bug bug) { + freeswitchPINVOKE.switch_core_media_bug_flush(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); + } + + public static switch_status_t switch_core_media_bug_flush_all(SWIGTYPE_p_switch_core_session session) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_flush_all(SWIGTYPE_p_switch_core_session.getCPtr(session)); + return ret; + } + public static switch_status_t switch_core_port_allocator_new(ushort start, ushort end, uint flags, SWIGTYPE_p_p_switch_core_port_allocator new_allocator) { switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_port_allocator_new(start, end, flags, SWIGTYPE_p_p_switch_core_port_allocator.getCPtr(new_allocator)); return ret; @@ -1904,6 +1913,10 @@ public class freeswitch { return ret; } + public static void switch_cond_yield(uint ms) { + freeswitchPINVOKE.switch_cond_yield(ms); + } + public static void switch_console_loop() { freeswitchPINVOKE.switch_console_loop(); } @@ -3224,6 +3237,10 @@ public class freeswitch { freeswitchPINVOKE.switch_rtp_release_port(ip, port); } + public static void switch_rtp_change_interval(SWIGTYPE_p_switch_rtp rtp_session, uint ms_per_packet, uint samples_per_interval) { + freeswitchPINVOKE.switch_rtp_change_interval(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), ms_per_packet, samples_per_interval); + } + public static switch_status_t switch_rtp_create(SWIGTYPE_p_p_switch_rtp new_rtp_session, byte payload, uint samples_per_interval, uint ms_per_packet, uint flags, string timer_name, ref string err, SWIGTYPE_p_apr_pool_t pool) { switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_create(SWIGTYPE_p_p_switch_rtp.getCPtr(new_rtp_session), payload, samples_per_interval, ms_per_packet, flags, timer_name, ref err, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); return ret; @@ -3305,7 +3322,7 @@ public class freeswitch { return ret; } - public static void switch_rtp_set_default_samples_per_interval(SWIGTYPE_p_switch_rtp rtp_session, ushort samples_per_interval) { + public static void switch_rtp_set_default_samples_per_interval(SWIGTYPE_p_switch_rtp rtp_session, uint samples_per_interval) { freeswitchPINVOKE.switch_rtp_set_default_samples_per_interval(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), samples_per_interval); } @@ -3924,6 +3941,7 @@ public class freeswitch { public static readonly string SWITCH_LOCAL_VIDEO_IP_VARIABLE = freeswitchPINVOKE.SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(); public static readonly string SWITCH_LOCAL_VIDEO_PORT_VARIABLE = freeswitchPINVOKE.SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(); public static readonly string SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(); + public static readonly string SWITCH_PARK_AFTER_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get(); public static readonly string SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE = freeswitchPINVOKE.SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(); public static readonly string SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE = freeswitchPINVOKE.SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(); public static readonly string SWITCH_MAX_FORWARDS_VARIABLE = freeswitchPINVOKE.SWITCH_MAX_FORWARDS_VARIABLE_get(); @@ -4476,6 +4494,9 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get")] public static extern string SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(); + [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get")] + public static extern string SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get(); + [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get")] public static extern string SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(); @@ -4833,6 +4854,12 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_runtime_get")] public static extern IntPtr switch_loadable_module_function_table_t_runtime_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_flags_set")] + public static extern void switch_loadable_module_function_table_t_flags_set(HandleRef jarg1, uint jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_flags_get")] + public static extern uint switch_loadable_module_function_table_t_flags_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_new_switch_loadable_module_function_table_t")] public static extern IntPtr new_switch_loadable_module_function_table_t(); @@ -5274,6 +5301,12 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_read")] public static extern int switch_core_media_bug_read(HandleRef jarg1, HandleRef jarg2); + [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_flush")] + public static extern void switch_core_media_bug_flush(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_flush_all")] + public static extern int switch_core_media_bug_flush_all(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_new")] public static extern int switch_core_port_allocator_new(ushort jarg1, ushort jarg2, uint jarg3, HandleRef jarg4); @@ -5865,6 +5898,9 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_system")] public static extern int switch_system(string jarg1, int jarg2); + [DllImport("mod_managed", EntryPoint="CSharp_switch_cond_yield")] + public static extern void switch_cond_yield(uint jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CMD_CHUNK_LEN_get")] public static extern int SWITCH_CMD_CHUNK_LEN_get(); @@ -6621,6 +6657,18 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_rwlock_get")] public static extern IntPtr switch_endpoint_interface_rwlock_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_refs_set")] + public static extern void switch_endpoint_interface_refs_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_refs_get")] + public static extern int switch_endpoint_interface_refs_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_parent_set")] + public static extern void switch_endpoint_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_parent_get")] + public static extern IntPtr switch_endpoint_interface_parent_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_next_set")] public static extern void switch_endpoint_interface_next_set(HandleRef jarg1, HandleRef jarg2); @@ -6741,6 +6789,18 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_rwlock_get")] public static extern IntPtr switch_timer_interface_rwlock_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_refs_set")] + public static extern void switch_timer_interface_refs_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_refs_get")] + public static extern int switch_timer_interface_refs_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_parent_set")] + public static extern void switch_timer_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_parent_get")] + public static extern IntPtr switch_timer_interface_parent_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_next_set")] public static extern void switch_timer_interface_next_set(HandleRef jarg1, HandleRef jarg2); @@ -6771,6 +6831,18 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_rwlock_get")] public static extern IntPtr switch_dialplan_interface_rwlock_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_refs_set")] + public static extern void switch_dialplan_interface_refs_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_refs_get")] + public static extern int switch_dialplan_interface_refs_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_parent_set")] + public static extern void switch_dialplan_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_parent_get")] + public static extern IntPtr switch_dialplan_interface_parent_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_next_set")] public static extern void switch_dialplan_interface_next_set(HandleRef jarg1, HandleRef jarg2); @@ -6843,6 +6915,18 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_rwlock_get")] public static extern IntPtr switch_file_interface_rwlock_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_refs_set")] + public static extern void switch_file_interface_refs_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_refs_get")] + public static extern int switch_file_interface_refs_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_parent_set")] + public static extern void switch_file_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_parent_get")] + public static extern IntPtr switch_file_interface_parent_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_next_set")] public static extern void switch_file_interface_next_set(HandleRef jarg1, HandleRef jarg2); @@ -7119,6 +7203,18 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_rwlock_get")] public static extern IntPtr switch_asr_interface_rwlock_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_refs_set")] + public static extern void switch_asr_interface_refs_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_refs_get")] + public static extern int switch_asr_interface_refs_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_parent_set")] + public static extern void switch_asr_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_parent_get")] + public static extern IntPtr switch_asr_interface_parent_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_next_set")] public static extern void switch_asr_interface_next_set(HandleRef jarg1, HandleRef jarg2); @@ -7251,6 +7347,18 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_rwlock_get")] public static extern IntPtr switch_speech_interface_rwlock_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_refs_set")] + public static extern void switch_speech_interface_refs_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_refs_get")] + public static extern int switch_speech_interface_refs_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_parent_set")] + public static extern void switch_speech_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_parent_get")] + public static extern IntPtr switch_speech_interface_parent_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_next_set")] public static extern void switch_speech_interface_next_set(HandleRef jarg1, HandleRef jarg2); @@ -7353,6 +7461,18 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_rwlock_get")] public static extern IntPtr switch_say_interface_rwlock_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_refs_set")] + public static extern void switch_say_interface_refs_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_refs_get")] + public static extern int switch_say_interface_refs_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_parent_set")] + public static extern void switch_say_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_parent_get")] + public static extern IntPtr switch_say_interface_parent_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_next_set")] public static extern void switch_say_interface_next_set(HandleRef jarg1, HandleRef jarg2); @@ -7383,6 +7503,18 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_rwlock_get")] public static extern IntPtr switch_chat_interface_rwlock_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_refs_set")] + public static extern void switch_chat_interface_refs_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_refs_get")] + public static extern int switch_chat_interface_refs_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_parent_set")] + public static extern void switch_chat_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_parent_get")] + public static extern IntPtr switch_chat_interface_parent_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_next_set")] public static extern void switch_chat_interface_next_set(HandleRef jarg1, HandleRef jarg2); @@ -7413,6 +7545,18 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_rwlock_get")] public static extern IntPtr switch_management_interface_rwlock_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_refs_set")] + public static extern void switch_management_interface_refs_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_refs_get")] + public static extern int switch_management_interface_refs_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_parent_set")] + public static extern void switch_management_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_parent_get")] + public static extern IntPtr switch_management_interface_parent_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_next_set")] public static extern void switch_management_interface_next_set(HandleRef jarg1, HandleRef jarg2); @@ -7467,6 +7611,18 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_rwlock_get")] public static extern IntPtr switch_directory_interface_rwlock_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_refs_set")] + public static extern void switch_directory_interface_refs_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_refs_get")] + public static extern int switch_directory_interface_refs_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_parent_set")] + public static extern void switch_directory_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_parent_get")] + public static extern IntPtr switch_directory_interface_parent_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_next_set")] public static extern void switch_directory_interface_next_set(HandleRef jarg1, HandleRef jarg2); @@ -7665,6 +7821,12 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_agreed_pt_get")] public static extern byte switch_codec_agreed_pt_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_mutex_set")] + public static extern void switch_codec_mutex_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_mutex_get")] + public static extern IntPtr switch_codec_mutex_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec")] public static extern IntPtr new_switch_codec(); @@ -7815,6 +7977,18 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_rwlock_get")] public static extern IntPtr switch_codec_interface_rwlock_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_refs_set")] + public static extern void switch_codec_interface_refs_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_refs_get")] + public static extern int switch_codec_interface_refs_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_parent_set")] + public static extern void switch_codec_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_parent_get")] + public static extern IntPtr switch_codec_interface_parent_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_next_set")] public static extern void switch_codec_interface_next_set(HandleRef jarg1, HandleRef jarg2); @@ -7869,6 +8043,18 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_rwlock_get")] public static extern IntPtr switch_application_interface_rwlock_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_refs_set")] + public static extern void switch_application_interface_refs_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_refs_get")] + public static extern int switch_application_interface_refs_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_parent_set")] + public static extern void switch_application_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_parent_get")] + public static extern IntPtr switch_application_interface_parent_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_next_set")] public static extern void switch_application_interface_next_set(HandleRef jarg1, HandleRef jarg2); @@ -7911,6 +8097,18 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_rwlock_get")] public static extern IntPtr switch_api_interface_rwlock_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_refs_set")] + public static extern void switch_api_interface_refs_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_refs_get")] + public static extern int switch_api_interface_refs_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_parent_set")] + public static extern void switch_api_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_parent_get")] + public static extern IntPtr switch_api_interface_parent_get(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_next_set")] public static extern void switch_api_interface_next_set(HandleRef jarg1, HandleRef jarg2); @@ -8943,6 +9141,9 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_release_port")] public static extern void switch_rtp_release_port(string jarg1, ushort jarg2); + [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_change_interval")] + public static extern void switch_rtp_change_interval(HandleRef jarg1, uint jarg2, uint jarg3); + [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_create")] public static extern int switch_rtp_create(HandleRef jarg1, byte jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6, ref string jarg7, HandleRef jarg8); @@ -8995,7 +9196,7 @@ class freeswitchPINVOKE { public static extern IntPtr switch_rtp_get_rtp_socket(HandleRef jarg1); [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_default_samples_per_interval")] - public static extern void switch_rtp_set_default_samples_per_interval(HandleRef jarg1, ushort jarg2); + public static extern void switch_rtp_set_default_samples_per_interval(HandleRef jarg1, uint jarg2); [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_default_samples_per_interval")] public static extern uint switch_rtp_get_default_samples_per_interval(HandleRef jarg1); @@ -14639,6 +14840,27 @@ public class switch_api_interface : IDisposable { } } + public int refs { + set { + freeswitchPINVOKE.switch_api_interface_refs_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_api_interface_refs_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_loadable_module_interface parent { + set { + freeswitchPINVOKE.switch_api_interface_parent_set(swigCPtr, SWIGTYPE_p_switch_loadable_module_interface.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_parent_get(swigCPtr); + SWIGTYPE_p_switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_loadable_module_interface(cPtr, false); + return ret; + } + } + public switch_api_interface next { set { freeswitchPINVOKE.switch_api_interface_next_set(swigCPtr, switch_api_interface.getCPtr(value)); @@ -14785,6 +15007,27 @@ public class switch_application_interface : IDisposable { } } + public int refs { + set { + freeswitchPINVOKE.switch_application_interface_refs_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_application_interface_refs_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_loadable_module_interface parent { + set { + freeswitchPINVOKE.switch_application_interface_parent_set(swigCPtr, SWIGTYPE_p_switch_loadable_module_interface.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_parent_get(swigCPtr); + SWIGTYPE_p_switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_loadable_module_interface(cPtr, false); + return ret; + } + } + public switch_application_interface next { set { freeswitchPINVOKE.switch_application_interface_next_set(swigCPtr, switch_application_interface.getCPtr(value)); @@ -15201,6 +15444,27 @@ public class switch_asr_interface : IDisposable { } } + public int refs { + set { + freeswitchPINVOKE.switch_asr_interface_refs_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_asr_interface_refs_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_loadable_module_interface parent { + set { + freeswitchPINVOKE.switch_asr_interface_parent_set(swigCPtr, SWIGTYPE_p_switch_loadable_module_interface.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_parent_get(swigCPtr); + SWIGTYPE_p_switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_loadable_module_interface(cPtr, false); + return ret; + } + } + public switch_asr_interface next { set { freeswitchPINVOKE.switch_asr_interface_next_set(swigCPtr, switch_asr_interface.getCPtr(value)); @@ -16567,6 +16831,27 @@ public class switch_chat_interface : IDisposable { } } + public int refs { + set { + freeswitchPINVOKE.switch_chat_interface_refs_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_chat_interface_refs_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_loadable_module_interface parent { + set { + freeswitchPINVOKE.switch_chat_interface_parent_set(swigCPtr, SWIGTYPE_p_switch_loadable_module_interface.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_parent_get(swigCPtr); + SWIGTYPE_p_switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_loadable_module_interface(cPtr, false); + return ret; + } + } + public switch_chat_interface next { set { freeswitchPINVOKE.switch_chat_interface_next_set(swigCPtr, switch_chat_interface.getCPtr(value)); @@ -16720,6 +17005,17 @@ public class switch_codec : IDisposable { } } + public SWIGTYPE_p_switch_mutex_t mutex { + set { + freeswitchPINVOKE.switch_codec_mutex_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_codec_mutex_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + return ret; + } + } + public switch_codec() : this(freeswitchPINVOKE.new_switch_codec(), true) { } @@ -17073,6 +17369,27 @@ public class switch_codec_interface : IDisposable { } } + public int refs { + set { + freeswitchPINVOKE.switch_codec_interface_refs_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_codec_interface_refs_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_loadable_module_interface parent { + set { + freeswitchPINVOKE.switch_codec_interface_parent_set(swigCPtr, SWIGTYPE_p_switch_loadable_module_interface.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_parent_get(swigCPtr); + SWIGTYPE_p_switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_loadable_module_interface(cPtr, false); + return ret; + } + } + public switch_codec_interface next { set { freeswitchPINVOKE.switch_codec_interface_next_set(swigCPtr, switch_codec_interface.getCPtr(value)); @@ -18033,6 +18350,27 @@ public class switch_dialplan_interface : IDisposable { } } + public int refs { + set { + freeswitchPINVOKE.switch_dialplan_interface_refs_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_dialplan_interface_refs_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_loadable_module_interface parent { + set { + freeswitchPINVOKE.switch_dialplan_interface_parent_set(swigCPtr, SWIGTYPE_p_switch_loadable_module_interface.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_parent_get(swigCPtr); + SWIGTYPE_p_switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_loadable_module_interface(cPtr, false); + return ret; + } + } + public switch_dialplan_interface next { set { freeswitchPINVOKE.switch_dialplan_interface_next_set(swigCPtr, switch_dialplan_interface.getCPtr(value)); @@ -18419,6 +18757,27 @@ public class switch_directory_interface : IDisposable { } } + public int refs { + set { + freeswitchPINVOKE.switch_directory_interface_refs_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_directory_interface_refs_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_loadable_module_interface parent { + set { + freeswitchPINVOKE.switch_directory_interface_parent_set(swigCPtr, SWIGTYPE_p_switch_loadable_module_interface.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_parent_get(swigCPtr); + SWIGTYPE_p_switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_loadable_module_interface(cPtr, false); + return ret; + } + } + public switch_directory_interface next { set { freeswitchPINVOKE.switch_directory_interface_next_set(swigCPtr, switch_directory_interface.getCPtr(value)); @@ -18631,6 +18990,27 @@ public class switch_endpoint_interface : IDisposable { } } + public int refs { + set { + freeswitchPINVOKE.switch_endpoint_interface_refs_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_endpoint_interface_refs_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_loadable_module_interface parent { + set { + freeswitchPINVOKE.switch_endpoint_interface_parent_set(swigCPtr, SWIGTYPE_p_switch_loadable_module_interface.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_parent_get(swigCPtr); + SWIGTYPE_p_switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_loadable_module_interface(cPtr, false); + return ret; + } + } + public switch_endpoint_interface next { set { freeswitchPINVOKE.switch_endpoint_interface_next_set(swigCPtr, switch_endpoint_interface.getCPtr(value)); @@ -19527,6 +19907,27 @@ public class switch_file_interface : IDisposable { } } + public int refs { + set { + freeswitchPINVOKE.switch_file_interface_refs_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_file_interface_refs_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_loadable_module_interface parent { + set { + freeswitchPINVOKE.switch_file_interface_parent_set(swigCPtr, SWIGTYPE_p_switch_loadable_module_interface.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_parent_get(swigCPtr); + SWIGTYPE_p_switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_loadable_module_interface(cPtr, false); + return ret; + } + } + public switch_file_interface next { set { freeswitchPINVOKE.switch_file_interface_next_set(swigCPtr, switch_file_interface.getCPtr(value)); @@ -21250,6 +21651,16 @@ public class switch_loadable_module_function_table_t : IDisposable { } } + public uint flags { + set { + freeswitchPINVOKE.switch_loadable_module_function_table_t_flags_set(swigCPtr, value); + } + get { + uint ret = freeswitchPINVOKE.switch_loadable_module_function_table_t_flags_get(swigCPtr); + return ret; + } + } + public switch_loadable_module_function_table_t() : this(freeswitchPINVOKE.new_switch_loadable_module_function_table_t(), true) { } @@ -21498,6 +21909,27 @@ public class switch_management_interface : IDisposable { } } + public int refs { + set { + freeswitchPINVOKE.switch_management_interface_refs_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_management_interface_refs_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_loadable_module_interface parent { + set { + freeswitchPINVOKE.switch_management_interface_parent_set(swigCPtr, SWIGTYPE_p_switch_loadable_module_interface.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_parent_get(swigCPtr); + SWIGTYPE_p_switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_loadable_module_interface(cPtr, false); + return ret; + } + } + public switch_management_interface next { set { freeswitchPINVOKE.switch_management_interface_next_set(swigCPtr, switch_management_interface.getCPtr(value)); @@ -21570,6 +22002,22 @@ namespace FreeSWITCH.Native { namespace FreeSWITCH.Native { +public enum switch_module_flag_enum_t { + SMODF_NONE = 0, + SMODF_GLOBAL_SYMBOLS = (1 << 0) +} + +} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 1.3.35 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +namespace FreeSWITCH.Native { + public enum switch_module_interface_name_t { SWITCH_ENDPOINT_INTERFACE, SWITCH_TIMER_INTERFACE, @@ -22020,6 +22468,27 @@ public class switch_say_interface : IDisposable { } } + public int refs { + set { + freeswitchPINVOKE.switch_say_interface_refs_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_say_interface_refs_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_loadable_module_interface parent { + set { + freeswitchPINVOKE.switch_say_interface_parent_set(swigCPtr, SWIGTYPE_p_switch_loadable_module_interface.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_parent_get(swigCPtr); + SWIGTYPE_p_switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_loadable_module_interface(cPtr, false); + return ret; + } + } + public switch_say_interface next { set { freeswitchPINVOKE.switch_say_interface_next_set(swigCPtr, switch_say_interface.getCPtr(value)); @@ -22591,6 +23060,27 @@ public class switch_speech_interface : IDisposable { } } + public int refs { + set { + freeswitchPINVOKE.switch_speech_interface_refs_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_speech_interface_refs_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_loadable_module_interface parent { + set { + freeswitchPINVOKE.switch_speech_interface_parent_set(swigCPtr, SWIGTYPE_p_switch_loadable_module_interface.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_parent_get(swigCPtr); + SWIGTYPE_p_switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_loadable_module_interface(cPtr, false); + return ret; + } + } + public switch_speech_interface next { set { freeswitchPINVOKE.switch_speech_interface_next_set(swigCPtr, switch_speech_interface.getCPtr(value)); @@ -22845,6 +23335,7 @@ public enum switch_status_t { SWITCH_STATUS_UNLOAD, SWITCH_STATUS_NOUNLOAD, SWITCH_STATUS_IGNORE, + SWITCH_STATUS_TOO_SMALL, SWITCH_STATUS_NOT_INITALIZED } @@ -23323,6 +23814,27 @@ public class switch_timer_interface : IDisposable { } } + public int refs { + set { + freeswitchPINVOKE.switch_timer_interface_refs_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_timer_interface_refs_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_loadable_module_interface parent { + set { + freeswitchPINVOKE.switch_timer_interface_parent_set(swigCPtr, SWIGTYPE_p_switch_loadable_module_interface.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_parent_get(swigCPtr); + SWIGTYPE_p_switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_loadable_module_interface(cPtr, false); + return ret; + } + } + public switch_timer_interface next { set { freeswitchPINVOKE.switch_timer_interface_next_set(swigCPtr, switch_timer_interface.getCPtr(value));