diff --git a/src/mod/languages/mod_mono/freeswitch.i b/src/mod/languages/mod_mono/freeswitch.i index 89f46fda76..15dce77ae6 100644 --- a/src/mod/languages/mod_mono/freeswitch.i +++ b/src/mod/languages/mod_mono/freeswitch.i @@ -11,6 +11,35 @@ %typemap(csclassmodifiers) Event "public partial class" %typemap(csclassmodifiers) Stream "public partial class" +// Allow bitwise compare on flag fields +%typemap(csclassmodifiers) session_flag_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_application_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_asr_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_bind_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_caller_profile_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_channel_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_codec_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_core_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_core_session_message_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_directory_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_eavesdrop_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_file_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_frame_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_io_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_media_bug_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_media_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_originate_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_port_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_rtp_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_scheduler_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_speech_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_timer_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_unicast_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_vad_flag_enum_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_xml_flag_t "[System.Flags] public enum" +%typemap(csclassmodifiers) switch_xml_section_enum_t "[System.Flags] public enum" + + // Some things we dont want exposed to managed users directly, since // we're gonna handle them with our own internalcall methods %ignore dtmfDelegateHandle; diff --git a/src/mod/languages/mod_mono/freeswitch_wrap.cxx b/src/mod/languages/mod_mono/freeswitch_wrap.cxx index b665a4a631..6aa5e7defd 100644 --- a/src/mod/languages/mod_mono/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_mono/freeswitch_wrap.cxx @@ -927,6 +927,17 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_g } +SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get() { + char * jresult ; + char *result = 0 ; + + result = (char *) "execute_on_ring"; + + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CALL_TIMEOUT_VARIABLE_get() { char * jresult ; char *result = 0 ; diff --git a/src/mod/languages/mod_mono_managed/swig/freeswitch.cs b/src/mod/languages/mod_mono_managed/swig/freeswitch.cs index 42f72516d9..0076da51f4 100644 --- a/src/mod/languages/mod_mono_managed/swig/freeswitch.cs +++ b/src/mod/languages/mod_mono_managed/swig/freeswitch.cs @@ -2990,6 +2990,7 @@ public class freeswitch { public static readonly string SWITCH_URL_SEPARATOR = freeswitchPINVOKE.SWITCH_URL_SEPARATOR_get(); public static readonly string SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE = freeswitchPINVOKE.SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(); public static readonly string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(); + public static readonly string SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(); public static readonly string SWITCH_CALL_TIMEOUT_VARIABLE = freeswitchPINVOKE.SWITCH_CALL_TIMEOUT_VARIABLE_get(); public static readonly string SWITCH_HOLDING_UUID_VARIABLE = freeswitchPINVOKE.SWITCH_HOLDING_UUID_VARIABLE_get(); public static readonly string SWITCH_API_BRIDGE_END_VARIABLE = freeswitchPINVOKE.SWITCH_API_BRIDGE_END_VARIABLE_get(); diff --git a/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE.cs b/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE.cs index 75da4e3bcc..785d6e7688 100644 --- a/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE.cs +++ b/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE.cs @@ -362,6 +362,9 @@ class freeswitchPINVOKE { [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get")] public static extern string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(); + [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get")] + public static extern string SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(); + [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CALL_TIMEOUT_VARIABLE_get")] public static extern string SWITCH_CALL_TIMEOUT_VARIABLE_get(); diff --git a/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs b/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs index 33e24d9111..86810fcbaf 100644 --- a/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs +++ b/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs @@ -187,26 +187,26 @@ class freeswitchPINVOKE { [DllImport("mod_mono", EntryPoint="CSharp_FREESWITCH_PEN_get")] public static extern IntPtr __FREESWITCH_PEN_get(); - public static string FREESWITCH_PEN_get(){ -var _ptr = __FREESWITCH_PEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string FREESWITCH_PEN_get(){ +var _ptr = __FREESWITCH_PEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_FREESWITCH_OID_PREFIX_get")] public static extern IntPtr __FREESWITCH_OID_PREFIX_get(); - public static string FREESWITCH_OID_PREFIX_get(){ -var _ptr = __FREESWITCH_OID_PREFIX_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string FREESWITCH_OID_PREFIX_get(){ +var _ptr = __FREESWITCH_OID_PREFIX_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_FREESWITCH_ITAD_get")] public static extern IntPtr __FREESWITCH_ITAD_get(); - public static string FREESWITCH_ITAD_get(){ -var _ptr = __FREESWITCH_ITAD_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string FREESWITCH_ITAD_get(){ +var _ptr = __FREESWITCH_ITAD_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp___EXTENSIONS___get")] @@ -217,18 +217,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BLANK_STRING_get")] public static extern IntPtr __SWITCH_BLANK_STRING_get(); - public static string SWITCH_BLANK_STRING_get(){ -var _ptr = __SWITCH_BLANK_STRING_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_BLANK_STRING_get(){ +var _ptr = __SWITCH_BLANK_STRING_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_ESC_get")] public static extern IntPtr __SWITCH_SEQ_ESC_get(); - public static string SWITCH_SEQ_ESC_get(){ -var _ptr = __SWITCH_SEQ_ESC_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_ESC_get(){ +var _ptr = __SWITCH_SEQ_ESC_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_HOME_CHAR_get")] @@ -236,10 +236,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_HOME_CHAR_STR_get")] public static extern IntPtr __SWITCH_SEQ_HOME_CHAR_STR_get(); - public static string SWITCH_SEQ_HOME_CHAR_STR_get(){ -var _ptr = __SWITCH_SEQ_HOME_CHAR_STR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_HOME_CHAR_STR_get(){ +var _ptr = __SWITCH_SEQ_HOME_CHAR_STR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_CHAR_get")] @@ -247,18 +247,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_CHAR_STR_get")] public static extern IntPtr __SWITCH_SEQ_CLEARLINE_CHAR_STR_get(); - public static string SWITCH_SEQ_CLEARLINE_CHAR_STR_get(){ -var _ptr = __SWITCH_SEQ_CLEARLINE_CHAR_STR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_CLEARLINE_CHAR_STR_get(){ +var _ptr = __SWITCH_SEQ_CLEARLINE_CHAR_STR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINEEND_CHAR_get")] public static extern IntPtr __SWITCH_SEQ_CLEARLINEEND_CHAR_get(); - public static string SWITCH_SEQ_CLEARLINEEND_CHAR_get(){ -var _ptr = __SWITCH_SEQ_CLEARLINEEND_CHAR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_CLEARLINEEND_CHAR_get(){ +var _ptr = __SWITCH_SEQ_CLEARLINEEND_CHAR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_CHAR0_get")] @@ -269,314 +269,314 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_CHAR_get")] public static extern IntPtr __SWITCH_SEQ_CLEARSCR_CHAR_get(); - public static string SWITCH_SEQ_CLEARSCR_CHAR_get(){ -var _ptr = __SWITCH_SEQ_CLEARSCR_CHAR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_CLEARSCR_CHAR_get(){ +var _ptr = __SWITCH_SEQ_CLEARSCR_CHAR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_AND_COLOR_get")] public static extern IntPtr __SWITCH_SEQ_AND_COLOR_get(); - public static string SWITCH_SEQ_AND_COLOR_get(){ -var _ptr = __SWITCH_SEQ_AND_COLOR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_AND_COLOR_get(){ +var _ptr = __SWITCH_SEQ_AND_COLOR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_END_COLOR_get")] public static extern IntPtr __SWITCH_SEQ_END_COLOR_get(); - public static string SWITCH_SEQ_END_COLOR_get(){ -var _ptr = __SWITCH_SEQ_END_COLOR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_END_COLOR_get(){ +var _ptr = __SWITCH_SEQ_END_COLOR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_BLACK_get")] public static extern IntPtr __SWITCH_SEQ_F_BLACK_get(); - public static string SWITCH_SEQ_F_BLACK_get(){ -var _ptr = __SWITCH_SEQ_F_BLACK_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_BLACK_get(){ +var _ptr = __SWITCH_SEQ_F_BLACK_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_RED_get")] public static extern IntPtr __SWITCH_SEQ_F_RED_get(); - public static string SWITCH_SEQ_F_RED_get(){ -var _ptr = __SWITCH_SEQ_F_RED_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_RED_get(){ +var _ptr = __SWITCH_SEQ_F_RED_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_GREEN_get")] public static extern IntPtr __SWITCH_SEQ_F_GREEN_get(); - public static string SWITCH_SEQ_F_GREEN_get(){ -var _ptr = __SWITCH_SEQ_F_GREEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_GREEN_get(){ +var _ptr = __SWITCH_SEQ_F_GREEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_YELLOW_get")] public static extern IntPtr __SWITCH_SEQ_F_YELLOW_get(); - public static string SWITCH_SEQ_F_YELLOW_get(){ -var _ptr = __SWITCH_SEQ_F_YELLOW_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_YELLOW_get(){ +var _ptr = __SWITCH_SEQ_F_YELLOW_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_BLUE_get")] public static extern IntPtr __SWITCH_SEQ_F_BLUE_get(); - public static string SWITCH_SEQ_F_BLUE_get(){ -var _ptr = __SWITCH_SEQ_F_BLUE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_BLUE_get(){ +var _ptr = __SWITCH_SEQ_F_BLUE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_MAGEN_get")] public static extern IntPtr __SWITCH_SEQ_F_MAGEN_get(); - public static string SWITCH_SEQ_F_MAGEN_get(){ -var _ptr = __SWITCH_SEQ_F_MAGEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_MAGEN_get(){ +var _ptr = __SWITCH_SEQ_F_MAGEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_CYAN_get")] public static extern IntPtr __SWITCH_SEQ_F_CYAN_get(); - public static string SWITCH_SEQ_F_CYAN_get(){ -var _ptr = __SWITCH_SEQ_F_CYAN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_CYAN_get(){ +var _ptr = __SWITCH_SEQ_F_CYAN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_WHITE_get")] public static extern IntPtr __SWITCH_SEQ_F_WHITE_get(); - public static string SWITCH_SEQ_F_WHITE_get(){ -var _ptr = __SWITCH_SEQ_F_WHITE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_F_WHITE_get(){ +var _ptr = __SWITCH_SEQ_F_WHITE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_BLACK_get")] public static extern IntPtr __SWITCH_SEQ_B_BLACK_get(); - public static string SWITCH_SEQ_B_BLACK_get(){ -var _ptr = __SWITCH_SEQ_B_BLACK_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_BLACK_get(){ +var _ptr = __SWITCH_SEQ_B_BLACK_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_RED_get")] public static extern IntPtr __SWITCH_SEQ_B_RED_get(); - public static string SWITCH_SEQ_B_RED_get(){ -var _ptr = __SWITCH_SEQ_B_RED_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_RED_get(){ +var _ptr = __SWITCH_SEQ_B_RED_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_GREEN_get")] public static extern IntPtr __SWITCH_SEQ_B_GREEN_get(); - public static string SWITCH_SEQ_B_GREEN_get(){ -var _ptr = __SWITCH_SEQ_B_GREEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_GREEN_get(){ +var _ptr = __SWITCH_SEQ_B_GREEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_YELLOW_get")] public static extern IntPtr __SWITCH_SEQ_B_YELLOW_get(); - public static string SWITCH_SEQ_B_YELLOW_get(){ -var _ptr = __SWITCH_SEQ_B_YELLOW_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_YELLOW_get(){ +var _ptr = __SWITCH_SEQ_B_YELLOW_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_BLUE_get")] public static extern IntPtr __SWITCH_SEQ_B_BLUE_get(); - public static string SWITCH_SEQ_B_BLUE_get(){ -var _ptr = __SWITCH_SEQ_B_BLUE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_BLUE_get(){ +var _ptr = __SWITCH_SEQ_B_BLUE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_MAGEN_get")] public static extern IntPtr __SWITCH_SEQ_B_MAGEN_get(); - public static string SWITCH_SEQ_B_MAGEN_get(){ -var _ptr = __SWITCH_SEQ_B_MAGEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_MAGEN_get(){ +var _ptr = __SWITCH_SEQ_B_MAGEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_CYAN_get")] public static extern IntPtr __SWITCH_SEQ_B_CYAN_get(); - public static string SWITCH_SEQ_B_CYAN_get(){ -var _ptr = __SWITCH_SEQ_B_CYAN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_CYAN_get(){ +var _ptr = __SWITCH_SEQ_B_CYAN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_WHITE_get")] public static extern IntPtr __SWITCH_SEQ_B_WHITE_get(); - public static string SWITCH_SEQ_B_WHITE_get(){ -var _ptr = __SWITCH_SEQ_B_WHITE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_B_WHITE_get(){ +var _ptr = __SWITCH_SEQ_B_WHITE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FBLACK_get")] public static extern IntPtr __SWITCH_SEQ_FBLACK_get(); - public static string SWITCH_SEQ_FBLACK_get(){ -var _ptr = __SWITCH_SEQ_FBLACK_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FBLACK_get(){ +var _ptr = __SWITCH_SEQ_FBLACK_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FRED_get")] public static extern IntPtr __SWITCH_SEQ_FRED_get(); - public static string SWITCH_SEQ_FRED_get(){ -var _ptr = __SWITCH_SEQ_FRED_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FRED_get(){ +var _ptr = __SWITCH_SEQ_FRED_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FGREEN_get")] public static extern IntPtr __SWITCH_SEQ_FGREEN_get(); - public static string SWITCH_SEQ_FGREEN_get(){ -var _ptr = __SWITCH_SEQ_FGREEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FGREEN_get(){ +var _ptr = __SWITCH_SEQ_FGREEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FYELLOW_get")] public static extern IntPtr __SWITCH_SEQ_FYELLOW_get(); - public static string SWITCH_SEQ_FYELLOW_get(){ -var _ptr = __SWITCH_SEQ_FYELLOW_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FYELLOW_get(){ +var _ptr = __SWITCH_SEQ_FYELLOW_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FBLUE_get")] public static extern IntPtr __SWITCH_SEQ_FBLUE_get(); - public static string SWITCH_SEQ_FBLUE_get(){ -var _ptr = __SWITCH_SEQ_FBLUE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FBLUE_get(){ +var _ptr = __SWITCH_SEQ_FBLUE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FMAGEN_get")] public static extern IntPtr __SWITCH_SEQ_FMAGEN_get(); - public static string SWITCH_SEQ_FMAGEN_get(){ -var _ptr = __SWITCH_SEQ_FMAGEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FMAGEN_get(){ +var _ptr = __SWITCH_SEQ_FMAGEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FCYAN_get")] public static extern IntPtr __SWITCH_SEQ_FCYAN_get(); - public static string SWITCH_SEQ_FCYAN_get(){ -var _ptr = __SWITCH_SEQ_FCYAN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FCYAN_get(){ +var _ptr = __SWITCH_SEQ_FCYAN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FWHITE_get")] public static extern IntPtr __SWITCH_SEQ_FWHITE_get(); - public static string SWITCH_SEQ_FWHITE_get(){ -var _ptr = __SWITCH_SEQ_FWHITE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_FWHITE_get(){ +var _ptr = __SWITCH_SEQ_FWHITE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BBLACK_get")] public static extern IntPtr __SWITCH_SEQ_BBLACK_get(); - public static string SWITCH_SEQ_BBLACK_get(){ -var _ptr = __SWITCH_SEQ_BBLACK_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BBLACK_get(){ +var _ptr = __SWITCH_SEQ_BBLACK_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BRED_get")] public static extern IntPtr __SWITCH_SEQ_BRED_get(); - public static string SWITCH_SEQ_BRED_get(){ -var _ptr = __SWITCH_SEQ_BRED_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BRED_get(){ +var _ptr = __SWITCH_SEQ_BRED_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BGREEN_get")] public static extern IntPtr __SWITCH_SEQ_BGREEN_get(); - public static string SWITCH_SEQ_BGREEN_get(){ -var _ptr = __SWITCH_SEQ_BGREEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BGREEN_get(){ +var _ptr = __SWITCH_SEQ_BGREEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BYELLOW_get")] public static extern IntPtr __SWITCH_SEQ_BYELLOW_get(); - public static string SWITCH_SEQ_BYELLOW_get(){ -var _ptr = __SWITCH_SEQ_BYELLOW_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BYELLOW_get(){ +var _ptr = __SWITCH_SEQ_BYELLOW_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BBLUE_get")] public static extern IntPtr __SWITCH_SEQ_BBLUE_get(); - public static string SWITCH_SEQ_BBLUE_get(){ -var _ptr = __SWITCH_SEQ_BBLUE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BBLUE_get(){ +var _ptr = __SWITCH_SEQ_BBLUE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BMAGEN_get")] public static extern IntPtr __SWITCH_SEQ_BMAGEN_get(); - public static string SWITCH_SEQ_BMAGEN_get(){ -var _ptr = __SWITCH_SEQ_BMAGEN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BMAGEN_get(){ +var _ptr = __SWITCH_SEQ_BMAGEN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BCYAN_get")] public static extern IntPtr __SWITCH_SEQ_BCYAN_get(); - public static string SWITCH_SEQ_BCYAN_get(){ -var _ptr = __SWITCH_SEQ_BCYAN_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BCYAN_get(){ +var _ptr = __SWITCH_SEQ_BCYAN_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BWHITE_get")] public static extern IntPtr __SWITCH_SEQ_BWHITE_get(); - public static string SWITCH_SEQ_BWHITE_get(){ -var _ptr = __SWITCH_SEQ_BWHITE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_BWHITE_get(){ +var _ptr = __SWITCH_SEQ_BWHITE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_HOME_get")] public static extern IntPtr __SWITCH_SEQ_HOME_get(); - public static string SWITCH_SEQ_HOME_get(){ -var _ptr = __SWITCH_SEQ_HOME_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_HOME_get(){ +var _ptr = __SWITCH_SEQ_HOME_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_get")] public static extern IntPtr __SWITCH_SEQ_CLEARLINE_get(); - public static string SWITCH_SEQ_CLEARLINE_get(){ -var _ptr = __SWITCH_SEQ_CLEARLINE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_CLEARLINE_get(){ +var _ptr = __SWITCH_SEQ_CLEARLINE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINEEND_get")] public static extern IntPtr __SWITCH_SEQ_CLEARLINEEND_get(); - public static string SWITCH_SEQ_CLEARLINEEND_get(){ -var _ptr = __SWITCH_SEQ_CLEARLINEEND_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_CLEARLINEEND_get(){ +var _ptr = __SWITCH_SEQ_CLEARLINEEND_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_get")] public static extern IntPtr __SWITCH_SEQ_CLEARSCR_get(); - public static string SWITCH_SEQ_CLEARSCR_get(){ -var _ptr = __SWITCH_SEQ_CLEARSCR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SEQ_CLEARSCR_get(){ +var _ptr = __SWITCH_SEQ_CLEARSCR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_DEFAULT_DTMF_DURATION_get")] @@ -587,346 +587,354 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PATH_SEPARATOR_get")] public static extern IntPtr __SWITCH_PATH_SEPARATOR_get(); - public static string SWITCH_PATH_SEPARATOR_get(){ -var _ptr = __SWITCH_PATH_SEPARATOR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_PATH_SEPARATOR_get(){ +var _ptr = __SWITCH_PATH_SEPARATOR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_URL_SEPARATOR_get")] public static extern IntPtr __SWITCH_URL_SEPARATOR_get(); - public static string SWITCH_URL_SEPARATOR_get(){ -var _ptr = __SWITCH_URL_SEPARATOR_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_URL_SEPARATOR_get(){ +var _ptr = __SWITCH_URL_SEPARATOR_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get")] public static extern IntPtr __SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(); - public static string SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(){ -var _ptr = __SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(){ +var _ptr = __SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get")] public static extern IntPtr __SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(); - public static string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(){ -var _ptr = __SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(){ +var _ptr = __SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); +return _res; } + + [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get")] + public static extern IntPtr __SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(); + public static string SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(){ +var _ptr = __SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CALL_TIMEOUT_VARIABLE_get")] public static extern IntPtr __SWITCH_CALL_TIMEOUT_VARIABLE_get(); - public static string SWITCH_CALL_TIMEOUT_VARIABLE_get(){ -var _ptr = __SWITCH_CALL_TIMEOUT_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_CALL_TIMEOUT_VARIABLE_get(){ +var _ptr = __SWITCH_CALL_TIMEOUT_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_HOLDING_UUID_VARIABLE_get")] public static extern IntPtr __SWITCH_HOLDING_UUID_VARIABLE_get(); - public static string SWITCH_HOLDING_UUID_VARIABLE_get(){ -var _ptr = __SWITCH_HOLDING_UUID_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_HOLDING_UUID_VARIABLE_get(){ +var _ptr = __SWITCH_HOLDING_UUID_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_API_BRIDGE_END_VARIABLE_get")] public static extern IntPtr __SWITCH_API_BRIDGE_END_VARIABLE_get(); - public static string SWITCH_API_BRIDGE_END_VARIABLE_get(){ -var _ptr = __SWITCH_API_BRIDGE_END_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_API_BRIDGE_END_VARIABLE_get(){ +var _ptr = __SWITCH_API_BRIDGE_END_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_API_HANGUP_HOOK_VARIABLE_get")] public static extern IntPtr __SWITCH_API_HANGUP_HOOK_VARIABLE_get(); - public static string SWITCH_API_HANGUP_HOOK_VARIABLE_get(){ -var _ptr = __SWITCH_API_HANGUP_HOOK_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_API_HANGUP_HOOK_VARIABLE_get(){ +var _ptr = __SWITCH_API_HANGUP_HOOK_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PROCESS_CDR_VARIABLE_get")] public static extern IntPtr __SWITCH_PROCESS_CDR_VARIABLE_get(); - public static string SWITCH_PROCESS_CDR_VARIABLE_get(){ -var _ptr = __SWITCH_PROCESS_CDR_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_PROCESS_CDR_VARIABLE_get(){ +var _ptr = __SWITCH_PROCESS_CDR_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BRIDGE_CHANNEL_VARIABLE_get")] public static extern IntPtr __SWITCH_BRIDGE_CHANNEL_VARIABLE_get(); - public static string SWITCH_BRIDGE_CHANNEL_VARIABLE_get(){ -var _ptr = __SWITCH_BRIDGE_CHANNEL_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_BRIDGE_CHANNEL_VARIABLE_get(){ +var _ptr = __SWITCH_BRIDGE_CHANNEL_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CHANNEL_NAME_VARIABLE_get")] public static extern IntPtr __SWITCH_CHANNEL_NAME_VARIABLE_get(); - public static string SWITCH_CHANNEL_NAME_VARIABLE_get(){ -var _ptr = __SWITCH_CHANNEL_NAME_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_CHANNEL_NAME_VARIABLE_get(){ +var _ptr = __SWITCH_CHANNEL_NAME_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BRIDGE_UUID_VARIABLE_get")] public static extern IntPtr __SWITCH_BRIDGE_UUID_VARIABLE_get(); - public static string SWITCH_BRIDGE_UUID_VARIABLE_get(){ -var _ptr = __SWITCH_BRIDGE_UUID_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_BRIDGE_UUID_VARIABLE_get(){ +var _ptr = __SWITCH_BRIDGE_UUID_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get")] public static extern IntPtr __SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(); - public static string SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(){ -var _ptr = __SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(){ +var _ptr = __SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get")] public static extern IntPtr __SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(); - public static string SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(){ -var _ptr = __SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(){ +var _ptr = __SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get")] public static extern IntPtr __SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(); - public static string SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(){ -var _ptr = __SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(){ +var _ptr = __SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BYPASS_MEDIA_VARIABLE_get")] public static extern IntPtr __SWITCH_BYPASS_MEDIA_VARIABLE_get(); - public static string SWITCH_BYPASS_MEDIA_VARIABLE_get(){ -var _ptr = __SWITCH_BYPASS_MEDIA_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_BYPASS_MEDIA_VARIABLE_get(){ +var _ptr = __SWITCH_BYPASS_MEDIA_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PROXY_MEDIA_VARIABLE_get")] public static extern IntPtr __SWITCH_PROXY_MEDIA_VARIABLE_get(); - public static string SWITCH_PROXY_MEDIA_VARIABLE_get(){ -var _ptr = __SWITCH_PROXY_MEDIA_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_PROXY_MEDIA_VARIABLE_get(){ +var _ptr = __SWITCH_PROXY_MEDIA_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get")] public static extern IntPtr __SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(); - public static string SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(){ -var _ptr = __SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(){ +var _ptr = __SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_HOLD_MUSIC_VARIABLE_get")] public static extern IntPtr __SWITCH_HOLD_MUSIC_VARIABLE_get(); - public static string SWITCH_HOLD_MUSIC_VARIABLE_get(){ -var _ptr = __SWITCH_HOLD_MUSIC_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_HOLD_MUSIC_VARIABLE_get(){ +var _ptr = __SWITCH_HOLD_MUSIC_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_EXPORT_VARS_VARIABLE_get")] public static extern IntPtr __SWITCH_EXPORT_VARS_VARIABLE_get(); - public static string SWITCH_EXPORT_VARS_VARIABLE_get(){ -var _ptr = __SWITCH_EXPORT_VARS_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_EXPORT_VARS_VARIABLE_get(){ +var _ptr = __SWITCH_EXPORT_VARS_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_R_SDP_VARIABLE_get")] public static extern IntPtr __SWITCH_R_SDP_VARIABLE_get(); - public static string SWITCH_R_SDP_VARIABLE_get(){ -var _ptr = __SWITCH_R_SDP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_R_SDP_VARIABLE_get(){ +var _ptr = __SWITCH_R_SDP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_L_SDP_VARIABLE_get")] public static extern IntPtr __SWITCH_L_SDP_VARIABLE_get(); - public static string SWITCH_L_SDP_VARIABLE_get(){ -var _ptr = __SWITCH_L_SDP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_L_SDP_VARIABLE_get(){ +var _ptr = __SWITCH_L_SDP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_B_SDP_VARIABLE_get")] public static extern IntPtr __SWITCH_B_SDP_VARIABLE_get(); - public static string SWITCH_B_SDP_VARIABLE_get(){ -var _ptr = __SWITCH_B_SDP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_B_SDP_VARIABLE_get(){ +var _ptr = __SWITCH_B_SDP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BRIDGE_VARIABLE_get")] public static extern IntPtr __SWITCH_BRIDGE_VARIABLE_get(); - public static string SWITCH_BRIDGE_VARIABLE_get(){ -var _ptr = __SWITCH_BRIDGE_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_BRIDGE_VARIABLE_get(){ +var _ptr = __SWITCH_BRIDGE_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SIGNAL_BRIDGE_VARIABLE_get")] public static extern IntPtr __SWITCH_SIGNAL_BRIDGE_VARIABLE_get(); - public static string SWITCH_SIGNAL_BRIDGE_VARIABLE_get(){ -var _ptr = __SWITCH_SIGNAL_BRIDGE_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SIGNAL_BRIDGE_VARIABLE_get(){ +var _ptr = __SWITCH_SIGNAL_BRIDGE_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SIGNAL_BOND_VARIABLE_get")] public static extern IntPtr __SWITCH_SIGNAL_BOND_VARIABLE_get(); - public static string SWITCH_SIGNAL_BOND_VARIABLE_get(){ -var _ptr = __SWITCH_SIGNAL_BOND_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SIGNAL_BOND_VARIABLE_get(){ +var _ptr = __SWITCH_SIGNAL_BOND_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_ORIGINATOR_VARIABLE_get")] public static extern IntPtr __SWITCH_ORIGINATOR_VARIABLE_get(); - public static string SWITCH_ORIGINATOR_VARIABLE_get(){ -var _ptr = __SWITCH_ORIGINATOR_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_ORIGINATOR_VARIABLE_get(){ +var _ptr = __SWITCH_ORIGINATOR_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_ORIGINATOR_CODEC_VARIABLE_get")] public static extern IntPtr __SWITCH_ORIGINATOR_CODEC_VARIABLE_get(); - public static string SWITCH_ORIGINATOR_CODEC_VARIABLE_get(){ -var _ptr = __SWITCH_ORIGINATOR_CODEC_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_ORIGINATOR_CODEC_VARIABLE_get(){ +var _ptr = __SWITCH_ORIGINATOR_CODEC_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_LOCAL_MEDIA_IP_VARIABLE_get")] public static extern IntPtr __SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(); - public static string SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(){ -var _ptr = __SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(){ +var _ptr = __SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get")] public static extern IntPtr __SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(); - public static string SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(){ -var _ptr = __SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(){ +var _ptr = __SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_REMOTE_MEDIA_IP_VARIABLE_get")] public static extern IntPtr __SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(); - public static string SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(){ -var _ptr = __SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(){ +var _ptr = __SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get")] public static extern IntPtr __SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(); - public static string SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(){ -var _ptr = __SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(){ +var _ptr = __SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_REMOTE_VIDEO_IP_VARIABLE_get")] public static extern IntPtr __SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(); - public static string SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(){ -var _ptr = __SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(){ +var _ptr = __SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get")] public static extern IntPtr __SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(); - public static string SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(){ -var _ptr = __SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(){ +var _ptr = __SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_LOCAL_VIDEO_IP_VARIABLE_get")] public static extern IntPtr __SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(); - public static string SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(){ -var _ptr = __SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(){ +var _ptr = __SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get")] public static extern IntPtr __SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(); - public static string SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(){ -var _ptr = __SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(){ +var _ptr = __SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get")] public static extern IntPtr __SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(); - public static string SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(){ -var _ptr = __SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(){ +var _ptr = __SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get")] public static extern IntPtr __SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(); - public static string SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(){ -var _ptr = __SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(){ +var _ptr = __SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get")] public static extern IntPtr __SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(); - public static string SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(){ -var _ptr = __SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(){ +var _ptr = __SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_MAX_FORWARDS_VARIABLE_get")] public static extern IntPtr __SWITCH_MAX_FORWARDS_VARIABLE_get(); - public static string SWITCH_MAX_FORWARDS_VARIABLE_get(){ -var _ptr = __SWITCH_MAX_FORWARDS_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_MAX_FORWARDS_VARIABLE_get(){ +var _ptr = __SWITCH_MAX_FORWARDS_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_DISABLE_APP_LOG_VARIABLE_get")] public static extern IntPtr __SWITCH_DISABLE_APP_LOG_VARIABLE_get(); - public static string SWITCH_DISABLE_APP_LOG_VARIABLE_get(){ -var _ptr = __SWITCH_DISABLE_APP_LOG_VARIABLE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_DISABLE_APP_LOG_VARIABLE_get(){ +var _ptr = __SWITCH_DISABLE_APP_LOG_VARIABLE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SPEECH_KEY_get")] public static extern IntPtr __SWITCH_SPEECH_KEY_get(); - public static string SWITCH_SPEECH_KEY_get(){ -var _ptr = __SWITCH_SPEECH_KEY_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_SPEECH_KEY_get(){ +var _ptr = __SWITCH_SPEECH_KEY_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_UUID_BRIDGE_get")] public static extern IntPtr __SWITCH_UUID_BRIDGE_get(); - public static string SWITCH_UUID_BRIDGE_get(){ -var _ptr = __SWITCH_UUID_BRIDGE_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_UUID_BRIDGE_get(){ +var _ptr = __SWITCH_UUID_BRIDGE_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BITS_PER_BYTE_get")] @@ -1039,10 +1047,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_base_dir_get")] public static extern IntPtr __switch_directories_base_dir_get(HandleRef jarg1); - public static string switch_directories_base_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_base_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_base_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_base_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_mod_dir_set")] @@ -1050,10 +1058,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_mod_dir_get")] public static extern IntPtr __switch_directories_mod_dir_get(HandleRef jarg1); - public static string switch_directories_mod_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_mod_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_mod_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_mod_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_conf_dir_set")] @@ -1061,10 +1069,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_conf_dir_get")] public static extern IntPtr __switch_directories_conf_dir_get(HandleRef jarg1); - public static string switch_directories_conf_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_conf_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_conf_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_conf_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_log_dir_set")] @@ -1072,10 +1080,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_log_dir_get")] public static extern IntPtr __switch_directories_log_dir_get(HandleRef jarg1); - public static string switch_directories_log_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_log_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_log_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_log_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_db_dir_set")] @@ -1083,10 +1091,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_db_dir_get")] public static extern IntPtr __switch_directories_db_dir_get(HandleRef jarg1); - public static string switch_directories_db_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_db_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_db_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_db_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_script_dir_set")] @@ -1094,10 +1102,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_script_dir_get")] public static extern IntPtr __switch_directories_script_dir_get(HandleRef jarg1); - public static string switch_directories_script_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_script_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_script_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_script_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_temp_dir_set")] @@ -1105,10 +1113,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_temp_dir_get")] public static extern IntPtr __switch_directories_temp_dir_get(HandleRef jarg1); - public static string switch_directories_temp_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_temp_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_temp_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_temp_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_htdocs_dir_set")] @@ -1116,10 +1124,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_htdocs_dir_get")] public static extern IntPtr __switch_directories_htdocs_dir_get(HandleRef jarg1); - public static string switch_directories_htdocs_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_htdocs_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_htdocs_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_htdocs_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_grammar_dir_set")] @@ -1127,10 +1135,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_grammar_dir_get")] public static extern IntPtr __switch_directories_grammar_dir_get(HandleRef jarg1); - public static string switch_directories_grammar_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_grammar_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_grammar_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_grammar_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_storage_dir_set")] @@ -1138,10 +1146,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directories_storage_dir_get")] public static extern IntPtr __switch_directories_storage_dir_get(HandleRef jarg1); - public static string switch_directories_storage_dir_get(HandleRef jarg1){ -var _ptr = __switch_directories_storage_dir_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directories_storage_dir_get(HandleRef jarg1){ +var _ptr = __switch_directories_storage_dir_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_new_switch_directories")] @@ -1332,10 +1340,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_db_column_name")] public static extern IntPtr __switch_core_db_column_name(HandleRef jarg1, int jarg2); - public static string switch_core_db_column_name(HandleRef jarg1, int jarg2){ -var _ptr = __switch_core_db_column_name(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_db_column_name(HandleRef jarg1, int jarg2){ +var _ptr = __switch_core_db_column_name(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_db_column_count")] @@ -1343,10 +1351,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_db_errmsg")] public static extern IntPtr __switch_core_db_errmsg(HandleRef jarg1); - public static string switch_core_db_errmsg(HandleRef jarg1){ -var _ptr = __switch_core_db_errmsg(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_db_errmsg(HandleRef jarg1){ +var _ptr = __switch_core_db_errmsg(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_db_exec")] @@ -1480,10 +1488,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_mprintf")] public static extern IntPtr __switch_mprintf(string jarg1); - public static string switch_mprintf(string jarg1){ -var _ptr = __switch_mprintf(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_mprintf(string jarg1){ +var _ptr = __switch_mprintf(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_regex_compile")] @@ -1563,10 +1571,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_app_log_app_get")] public static extern IntPtr __switch_app_log_app_get(HandleRef jarg1); - public static string switch_app_log_app_get(HandleRef jarg1){ -var _ptr = __switch_app_log_app_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_app_log_app_get(HandleRef jarg1){ +var _ptr = __switch_app_log_app_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_app_log_arg_set")] @@ -1574,10 +1582,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_app_log_arg_get")] public static extern IntPtr __switch_app_log_arg_get(HandleRef jarg1); - public static string switch_app_log_arg_get(HandleRef jarg1){ -var _ptr = __switch_app_log_arg_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_app_log_arg_get(HandleRef jarg1){ +var _ptr = __switch_app_log_arg_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_app_log_next_set")] @@ -1597,10 +1605,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_from_get")] public static extern IntPtr __switch_core_session_message_from_get(HandleRef jarg1); - public static string switch_core_session_message_from_get(HandleRef jarg1){ -var _ptr = __switch_core_session_message_from_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_session_message_from_get(HandleRef jarg1){ +var _ptr = __switch_core_session_message_from_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_message_id_set")] @@ -1620,10 +1628,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_string_arg_get")] public static extern IntPtr __switch_core_session_message_string_arg_get(HandleRef jarg1); - public static string switch_core_session_message_string_arg_get(HandleRef jarg1){ -var _ptr = __switch_core_session_message_string_arg_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_session_message_string_arg_get(HandleRef jarg1){ +var _ptr = __switch_core_session_message_string_arg_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_string_arg_size_set")] @@ -1655,10 +1663,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_string_reply_get")] public static extern IntPtr __switch_core_session_message_string_reply_get(HandleRef jarg1); - public static string switch_core_session_message_string_reply_get(HandleRef jarg1){ -var _ptr = __switch_core_session_message_string_reply_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_session_message_string_reply_get(HandleRef jarg1){ +var _ptr = __switch_core_session_message_string_reply_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_string_reply_size_set")] @@ -1837,42 +1845,42 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_perform_permanent_strdup")] public static extern IntPtr __switch_core_perform_permanent_strdup(string jarg1, string jarg2, string jarg3, int jarg4); - public static string switch_core_perform_permanent_strdup(string jarg1, string jarg2, string jarg3, int jarg4){ -var _ptr = __switch_core_perform_permanent_strdup(jarg1, jarg2, jarg3, jarg4); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_perform_permanent_strdup(string jarg1, string jarg2, string jarg3, int jarg4){ +var _ptr = __switch_core_perform_permanent_strdup(jarg1, jarg2, jarg3, jarg4); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_perform_session_strdup")] public static extern IntPtr __switch_core_perform_session_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); - public static string switch_core_perform_session_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5){ -var _ptr = __switch_core_perform_session_strdup(jarg1, jarg2, jarg3, jarg4, jarg5); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_perform_session_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5){ +var _ptr = __switch_core_perform_session_strdup(jarg1, jarg2, jarg3, jarg4, jarg5); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_perform_strdup")] public static extern IntPtr __switch_core_perform_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); - public static string switch_core_perform_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5){ -var _ptr = __switch_core_perform_strdup(jarg1, jarg2, jarg3, jarg4, jarg5); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_perform_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5){ +var _ptr = __switch_core_perform_strdup(jarg1, jarg2, jarg3, jarg4, jarg5); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_sprintf")] public static extern IntPtr __switch_core_session_sprintf(HandleRef jarg1, string jarg2); - public static string switch_core_session_sprintf(HandleRef jarg1, string jarg2){ -var _ptr = __switch_core_session_sprintf(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_session_sprintf(HandleRef jarg1, string jarg2){ +var _ptr = __switch_core_session_sprintf(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_sprintf")] public static extern IntPtr __switch_core_sprintf(HandleRef jarg1, string jarg2); - public static string switch_core_sprintf(HandleRef jarg1, string jarg2){ -var _ptr = __switch_core_sprintf(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_sprintf(HandleRef jarg1, string jarg2){ +var _ptr = __switch_core_sprintf(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_get_pool")] @@ -1904,18 +1912,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_get_uuid")] public static extern IntPtr __switch_core_session_get_uuid(HandleRef jarg1); - public static string switch_core_session_get_uuid(HandleRef jarg1){ -var _ptr = __switch_core_session_get_uuid(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_session_get_uuid(HandleRef jarg1){ +var _ptr = __switch_core_session_get_uuid(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_get_uuid")] public static extern IntPtr __switch_core_get_uuid(); - public static string switch_core_get_uuid(){ -var _ptr = __switch_core_get_uuid(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_get_uuid(){ +var _ptr = __switch_core_get_uuid(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_locate")] @@ -1923,10 +1931,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_get_variable")] public static extern IntPtr __switch_core_get_variable(string jarg1); - public static string switch_core_get_variable(string jarg1){ -var _ptr = __switch_core_get_variable(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_get_variable(string jarg1){ +var _ptr = __switch_core_get_variable(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_set_variable")] @@ -2153,10 +2161,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CORE_DB_get")] public static extern IntPtr __SWITCH_CORE_DB_get(); - public static string SWITCH_CORE_DB_get(){ -var _ptr = __SWITCH_CORE_DB_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_CORE_DB_get(){ +var _ptr = __SWITCH_CORE_DB_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_perform_file_open")] @@ -2296,10 +2304,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_mime_ext2type")] public static extern IntPtr __switch_core_mime_ext2type(string jarg1); - public static string switch_core_mime_ext2type(string jarg1){ -var _ptr = __switch_core_mime_ext2type(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_core_mime_ext2type(string jarg1){ +var _ptr = __switch_core_mime_ext2type(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_core_mime_add_type")] @@ -2382,10 +2390,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_amp_encode")] public static extern IntPtr __switch_amp_encode(string jarg1, string jarg2, HandleRef jarg3); - public static string switch_amp_encode(string jarg1, string jarg2, HandleRef jarg3){ -var _ptr = __switch_amp_encode(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_amp_encode(string jarg1, string jarg2, HandleRef jarg3){ +var _ptr = __switch_amp_encode(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_is_digit_string")] @@ -2399,18 +2407,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_get_addr")] public static extern IntPtr __get_addr(string jarg1, HandleRef jarg2, HandleRef jarg3); - public static string get_addr(string jarg1, HandleRef jarg2, HandleRef jarg3){ -var _ptr = __get_addr(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string get_addr(string jarg1, HandleRef jarg2, HandleRef jarg3){ +var _ptr = __get_addr(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_priority_name")] public static extern IntPtr __switch_priority_name(int jarg1); - public static string switch_priority_name(int jarg1){ -var _ptr = __switch_priority_name(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_priority_name(int jarg1){ +var _ptr = __switch_priority_name(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_rfc2833_to_char")] @@ -2421,10 +2429,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_clean_string")] public static extern IntPtr __switch_clean_string(string jarg1); - public static string switch_clean_string(string jarg1){ -var _ptr = __switch_clean_string(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_clean_string(string jarg1){ +var _ptr = __switch_clean_string(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_strstr")] @@ -2441,26 +2449,26 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_strip_spaces")] public static extern IntPtr __switch_strip_spaces(string jarg1); - public static string switch_strip_spaces(string jarg1){ -var _ptr = __switch_strip_spaces(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_strip_spaces(string jarg1){ +var _ptr = __switch_strip_spaces(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_separate_paren_args")] public static extern IntPtr __switch_separate_paren_args(string jarg1); - public static string switch_separate_paren_args(string jarg1){ -var _ptr = __switch_separate_paren_args(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_separate_paren_args(string jarg1){ +var _ptr = __switch_separate_paren_args(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_stristr")] public static extern IntPtr __switch_stristr(string jarg1, string jarg2); - public static string switch_stristr(string jarg1, string jarg2){ -var _ptr = __switch_stristr(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_stristr(string jarg1, string jarg2){ +var _ptr = __switch_stristr(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_is_lan_addr")] @@ -2468,10 +2476,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_replace_char")] public static extern IntPtr __switch_replace_char(string jarg1, char jarg2, char jarg3, int jarg4); - public static string switch_replace_char(string jarg1, char jarg2, char jarg3, int jarg4){ -var _ptr = __switch_replace_char(jarg1, jarg2, jarg3, jarg4); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_replace_char(string jarg1, char jarg2, char jarg3, int jarg4){ +var _ptr = __switch_replace_char(jarg1, jarg2, jarg3, jarg4); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_ast2regex")] @@ -2479,10 +2487,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_escape_char")] public static extern IntPtr __switch_escape_char(HandleRef jarg1, string jarg2, string jarg3, char jarg4); - public static string switch_escape_char(HandleRef jarg1, string jarg2, string jarg3, char jarg4){ -var _ptr = __switch_escape_char(jarg1, jarg2, jarg3, jarg4); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_escape_char(HandleRef jarg1, string jarg2, string jarg3, char jarg4){ +var _ptr = __switch_escape_char(jarg1, jarg2, jarg3, jarg4); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_socket_waitfor")] @@ -2490,18 +2498,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_cut_path")] public static extern IntPtr __switch_cut_path(string jarg1); - public static string switch_cut_path(string jarg1){ -var _ptr = __switch_cut_path(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_cut_path(string jarg1){ +var _ptr = __switch_cut_path(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_string_replace")] public static extern IntPtr __switch_string_replace(string jarg1, string jarg2, string jarg3); - public static string switch_string_replace(string jarg1, string jarg2, string jarg3){ -var _ptr = __switch_string_replace(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_string_replace(string jarg1, string jarg2, string jarg3){ +var _ptr = __switch_string_replace(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_string_match")] @@ -2512,10 +2520,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_url_decode")] public static extern IntPtr __switch_url_decode(string jarg1); - public static string switch_url_decode(string jarg1){ -var _ptr = __switch_url_decode(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_url_decode(string jarg1){ +var _ptr = __switch_url_decode(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_simple_email")] @@ -2523,10 +2531,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_find_end_paren")] public static extern IntPtr __switch_find_end_paren(string jarg1, char jarg2, char jarg3); - public static string switch_find_end_paren(string jarg1, char jarg2, char jarg3){ -var _ptr = __switch_find_end_paren(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_find_end_paren(string jarg1, char jarg2, char jarg3){ +var _ptr = __switch_find_end_paren(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_parse_cidr")] @@ -2549,10 +2557,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_username_get")] public static extern IntPtr __switch_caller_profile_username_get(HandleRef jarg1); - public static string switch_caller_profile_username_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_username_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_username_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_username_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_dialplan_set")] @@ -2560,10 +2568,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_dialplan_get")] public static extern IntPtr __switch_caller_profile_dialplan_get(HandleRef jarg1); - public static string switch_caller_profile_dialplan_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_dialplan_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_dialplan_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_dialplan_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_id_name_set")] @@ -2571,10 +2579,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_id_name_get")] public static extern IntPtr __switch_caller_profile_caller_id_name_get(HandleRef jarg1); - public static string switch_caller_profile_caller_id_name_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_caller_id_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_caller_id_name_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_caller_id_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_id_number_set")] @@ -2582,10 +2590,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_id_number_get")] public static extern IntPtr __switch_caller_profile_caller_id_number_get(HandleRef jarg1); - public static string switch_caller_profile_caller_id_number_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_caller_id_number_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_caller_id_number_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_caller_id_number_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_ton_set")] @@ -2605,10 +2613,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_network_addr_get")] public static extern IntPtr __switch_caller_profile_network_addr_get(HandleRef jarg1); - public static string switch_caller_profile_network_addr_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_network_addr_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_network_addr_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_network_addr_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_ani_set")] @@ -2616,10 +2624,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_ani_get")] public static extern IntPtr __switch_caller_profile_ani_get(HandleRef jarg1); - public static string switch_caller_profile_ani_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_ani_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_ani_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_ani_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_ani_ton_set")] @@ -2639,10 +2647,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_aniii_get")] public static extern IntPtr __switch_caller_profile_aniii_get(HandleRef jarg1); - public static string switch_caller_profile_aniii_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_aniii_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_aniii_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_aniii_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_rdnis_set")] @@ -2650,10 +2658,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_rdnis_get")] public static extern IntPtr __switch_caller_profile_rdnis_get(HandleRef jarg1); - public static string switch_caller_profile_rdnis_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_rdnis_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_rdnis_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_rdnis_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_rdnis_ton_set")] @@ -2673,10 +2681,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_destination_number_get")] public static extern IntPtr __switch_caller_profile_destination_number_get(HandleRef jarg1); - public static string switch_caller_profile_destination_number_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_destination_number_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_destination_number_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_destination_number_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_destination_number_ton_set")] @@ -2696,10 +2704,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_source_get")] public static extern IntPtr __switch_caller_profile_source_get(HandleRef jarg1); - public static string switch_caller_profile_source_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_source_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_source_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_source_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_chan_name_set")] @@ -2707,10 +2715,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_chan_name_get")] public static extern IntPtr __switch_caller_profile_chan_name_get(HandleRef jarg1); - public static string switch_caller_profile_chan_name_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_chan_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_chan_name_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_chan_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_uuid_set")] @@ -2718,10 +2726,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_uuid_get")] public static extern IntPtr __switch_caller_profile_uuid_get(HandleRef jarg1); - public static string switch_caller_profile_uuid_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_uuid_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_uuid_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_uuid_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_context_set")] @@ -2729,10 +2737,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_context_get")] public static extern IntPtr __switch_caller_profile_context_get(HandleRef jarg1); - public static string switch_caller_profile_context_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_context_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_context_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_context_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_profile_index_set")] @@ -2740,10 +2748,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_profile_index_get")] public static extern IntPtr __switch_caller_profile_profile_index_get(HandleRef jarg1); - public static string switch_caller_profile_profile_index_get(HandleRef jarg1){ -var _ptr = __switch_caller_profile_profile_index_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_profile_profile_index_get(HandleRef jarg1){ +var _ptr = __switch_caller_profile_profile_index_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_flags_set")] @@ -2799,10 +2807,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_application_application_name_get")] public static extern IntPtr __switch_caller_application_application_name_get(HandleRef jarg1); - public static string switch_caller_application_application_name_get(HandleRef jarg1){ -var _ptr = __switch_caller_application_application_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_application_application_name_get(HandleRef jarg1){ +var _ptr = __switch_caller_application_application_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_application_application_data_set")] @@ -2810,10 +2818,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_application_application_data_get")] public static extern IntPtr __switch_caller_application_application_data_get(HandleRef jarg1); - public static string switch_caller_application_application_data_get(HandleRef jarg1){ -var _ptr = __switch_caller_application_application_data_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_application_application_data_get(HandleRef jarg1){ +var _ptr = __switch_caller_application_application_data_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_application_application_function_set")] @@ -2839,10 +2847,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_extension_extension_name_get")] public static extern IntPtr __switch_caller_extension_extension_name_get(HandleRef jarg1); - public static string switch_caller_extension_extension_name_get(HandleRef jarg1){ -var _ptr = __switch_caller_extension_extension_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_extension_extension_name_get(HandleRef jarg1){ +var _ptr = __switch_caller_extension_extension_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_extension_extension_number_set")] @@ -2850,10 +2858,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_extension_extension_number_get")] public static extern IntPtr __switch_caller_extension_extension_number_get(HandleRef jarg1); - public static string switch_caller_extension_extension_number_get(HandleRef jarg1){ -var _ptr = __switch_caller_extension_extension_number_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_extension_extension_number_get(HandleRef jarg1){ +var _ptr = __switch_caller_extension_extension_number_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_extension_current_application_set")] @@ -2900,10 +2908,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_get_field_by_name")] public static extern IntPtr __switch_caller_get_field_by_name(HandleRef jarg1, string jarg2); - public static string switch_caller_get_field_by_name(HandleRef jarg1, string jarg2){ -var _ptr = __switch_caller_get_field_by_name(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_caller_get_field_by_name(HandleRef jarg1, string jarg2){ +var _ptr = __switch_caller_get_field_by_name(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_new")] @@ -2929,10 +2937,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_frame_source_get")] public static extern IntPtr __switch_frame_source_get(HandleRef jarg1); - public static string switch_frame_source_get(HandleRef jarg1){ -var _ptr = __switch_frame_source_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_frame_source_get(HandleRef jarg1){ +var _ptr = __switch_frame_source_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_frame_packet_set")] @@ -3234,10 +3242,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_endpoint_interface_interface_name_get")] public static extern IntPtr __switch_endpoint_interface_interface_name_get(HandleRef jarg1); - public static string switch_endpoint_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_endpoint_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_endpoint_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_endpoint_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_endpoint_interface_io_routines_set")] @@ -3335,10 +3343,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_timer_interface_interface_name_get")] public static extern IntPtr __switch_timer_interface_interface_name_get(HandleRef jarg1); - public static string switch_timer_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_timer_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_timer_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_timer_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_timer_interface_timer_init_set")] @@ -3394,10 +3402,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_dialplan_interface_interface_name_get")] public static extern IntPtr __switch_dialplan_interface_interface_name_get(HandleRef jarg1); - public static string switch_dialplan_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_dialplan_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_dialplan_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_dialplan_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_dialplan_interface_hunt_function_set")] @@ -3423,10 +3431,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_interface_interface_name_get")] public static extern IntPtr __switch_file_interface_interface_name_get(HandleRef jarg1); - public static string switch_file_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_file_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_file_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_file_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_interface_file_open_set")] @@ -3590,10 +3598,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_handler_get")] public static extern IntPtr __switch_file_handle_handler_get(HandleRef jarg1); - public static string switch_file_handle_handler_get(HandleRef jarg1){ -var _ptr = __switch_file_handle_handler_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_file_handle_handler_get(HandleRef jarg1){ +var _ptr = __switch_file_handle_handler_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_pos_set")] @@ -3673,10 +3681,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_file_get")] public static extern IntPtr __switch_file_handle_file_get(HandleRef jarg1); - public static string switch_file_handle_file_get(HandleRef jarg1){ -var _ptr = __switch_file_handle_file_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_file_handle_file_get(HandleRef jarg1){ +var _ptr = __switch_file_handle_file_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_func_set")] @@ -3684,10 +3692,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_func_get")] public static extern IntPtr __switch_file_handle_func_get(HandleRef jarg1); - public static string switch_file_handle_func_get(HandleRef jarg1){ -var _ptr = __switch_file_handle_func_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_file_handle_func_get(HandleRef jarg1){ +var _ptr = __switch_file_handle_func_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_line_set")] @@ -3707,10 +3715,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_interface_interface_name_get")] public static extern IntPtr __switch_asr_interface_interface_name_get(HandleRef jarg1); - public static string switch_asr_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_asr_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_asr_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_asr_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_interface_asr_open_set")] @@ -3796,10 +3804,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_name_get")] public static extern IntPtr __switch_asr_handle_name_get(HandleRef jarg1); - public static string switch_asr_handle_name_get(HandleRef jarg1){ -var _ptr = __switch_asr_handle_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_asr_handle_name_get(HandleRef jarg1){ +var _ptr = __switch_asr_handle_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_codec_set")] @@ -3807,10 +3815,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_codec_get")] public static extern IntPtr __switch_asr_handle_codec_get(HandleRef jarg1); - public static string switch_asr_handle_codec_get(HandleRef jarg1){ -var _ptr = __switch_asr_handle_codec_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_asr_handle_codec_get(HandleRef jarg1){ +var _ptr = __switch_asr_handle_codec_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_rate_set")] @@ -3824,10 +3832,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_grammar_get")] public static extern IntPtr __switch_asr_handle_grammar_get(HandleRef jarg1); - public static string switch_asr_handle_grammar_get(HandleRef jarg1){ -var _ptr = __switch_asr_handle_grammar_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_asr_handle_grammar_get(HandleRef jarg1){ +var _ptr = __switch_asr_handle_grammar_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_param_set")] @@ -3835,10 +3843,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_param_get")] public static extern IntPtr __switch_asr_handle_param_get(HandleRef jarg1); - public static string switch_asr_handle_param_get(HandleRef jarg1){ -var _ptr = __switch_asr_handle_param_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_asr_handle_param_get(HandleRef jarg1){ +var _ptr = __switch_asr_handle_param_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_memory_pool_set")] @@ -3864,10 +3872,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_interface_interface_name_get")] public static extern IntPtr __switch_speech_interface_interface_name_get(HandleRef jarg1); - public static string switch_speech_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_speech_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_speech_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_speech_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_interface_speech_open_set")] @@ -3947,10 +3955,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_name_get")] public static extern IntPtr __switch_speech_handle_name_get(HandleRef jarg1); - public static string switch_speech_handle_name_get(HandleRef jarg1){ -var _ptr = __switch_speech_handle_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_speech_handle_name_get(HandleRef jarg1){ +var _ptr = __switch_speech_handle_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_rate_set")] @@ -3976,10 +3984,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_voice_get")] public static extern IntPtr __switch_speech_handle_voice_get(HandleRef jarg1); - public static string switch_speech_handle_voice_get(HandleRef jarg1){ -var _ptr = __switch_speech_handle_voice_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_speech_handle_voice_get(HandleRef jarg1){ +var _ptr = __switch_speech_handle_voice_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_engine_set")] @@ -3987,10 +3995,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_engine_get")] public static extern IntPtr __switch_speech_handle_engine_get(HandleRef jarg1); - public static string switch_speech_handle_engine_get(HandleRef jarg1){ -var _ptr = __switch_speech_handle_engine_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_speech_handle_engine_get(HandleRef jarg1){ +var _ptr = __switch_speech_handle_engine_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_param_set")] @@ -3998,10 +4006,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_param_get")] public static extern IntPtr __switch_speech_handle_param_get(HandleRef jarg1); - public static string switch_speech_handle_param_get(HandleRef jarg1){ -var _ptr = __switch_speech_handle_param_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_speech_handle_param_get(HandleRef jarg1){ +var _ptr = __switch_speech_handle_param_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_memory_pool_set")] @@ -4027,10 +4035,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_say_interface_interface_name_get")] public static extern IntPtr __switch_say_interface_interface_name_get(HandleRef jarg1); - public static string switch_say_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_say_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_say_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_say_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_say_interface_say_function_set")] @@ -4056,10 +4064,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_chat_interface_interface_name_get")] public static extern IntPtr __switch_chat_interface_interface_name_get(HandleRef jarg1); - public static string switch_chat_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_chat_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_chat_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_chat_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_chat_interface_chat_send_set")] @@ -4085,10 +4093,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_management_interface_relative_oid_get")] public static extern IntPtr __switch_management_interface_relative_oid_get(HandleRef jarg1); - public static string switch_management_interface_relative_oid_get(HandleRef jarg1){ -var _ptr = __switch_management_interface_relative_oid_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_management_interface_relative_oid_get(HandleRef jarg1){ +var _ptr = __switch_management_interface_relative_oid_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_management_interface_management_function_set")] @@ -4114,10 +4122,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directory_interface_interface_name_get")] public static extern IntPtr __switch_directory_interface_interface_name_get(HandleRef jarg1); - public static string switch_directory_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_directory_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_directory_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_directory_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_directory_interface_directory_open_set")] @@ -4311,10 +4319,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_fmtp_in_get")] public static extern IntPtr __switch_codec_fmtp_in_get(HandleRef jarg1); - public static string switch_codec_fmtp_in_get(HandleRef jarg1){ -var _ptr = __switch_codec_fmtp_in_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_codec_fmtp_in_get(HandleRef jarg1){ +var _ptr = __switch_codec_fmtp_in_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_fmtp_out_set")] @@ -4322,10 +4330,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_fmtp_out_get")] public static extern IntPtr __switch_codec_fmtp_out_get(HandleRef jarg1); - public static string switch_codec_fmtp_out_get(HandleRef jarg1){ -var _ptr = __switch_codec_fmtp_out_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_codec_fmtp_out_get(HandleRef jarg1){ +var _ptr = __switch_codec_fmtp_out_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_codec_settings_set")] @@ -4381,10 +4389,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_implementation_iananame_get")] public static extern IntPtr __switch_codec_implementation_iananame_get(HandleRef jarg1); - public static string switch_codec_implementation_iananame_get(HandleRef jarg1){ -var _ptr = __switch_codec_implementation_iananame_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_codec_implementation_iananame_get(HandleRef jarg1){ +var _ptr = __switch_codec_implementation_iananame_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_implementation_fmtp_set")] @@ -4392,10 +4400,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_implementation_fmtp_get")] public static extern IntPtr __switch_codec_implementation_fmtp_get(HandleRef jarg1); - public static string switch_codec_implementation_fmtp_get(HandleRef jarg1){ -var _ptr = __switch_codec_implementation_fmtp_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_codec_implementation_fmtp_get(HandleRef jarg1){ +var _ptr = __switch_codec_implementation_fmtp_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_implementation_samples_per_second_set")] @@ -4505,10 +4513,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_interface_interface_name_get")] public static extern IntPtr __switch_codec_interface_interface_name_get(HandleRef jarg1); - public static string switch_codec_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_codec_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_codec_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_codec_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_codec_interface_implementations_set")] @@ -4540,10 +4548,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_interface_name_get")] public static extern IntPtr __switch_application_interface_interface_name_get(HandleRef jarg1); - public static string switch_application_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_application_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_application_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_application_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_application_function_set")] @@ -4557,10 +4565,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_long_desc_get")] public static extern IntPtr __switch_application_interface_long_desc_get(HandleRef jarg1); - public static string switch_application_interface_long_desc_get(HandleRef jarg1){ -var _ptr = __switch_application_interface_long_desc_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_application_interface_long_desc_get(HandleRef jarg1){ +var _ptr = __switch_application_interface_long_desc_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_short_desc_set")] @@ -4568,10 +4576,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_short_desc_get")] public static extern IntPtr __switch_application_interface_short_desc_get(HandleRef jarg1); - public static string switch_application_interface_short_desc_get(HandleRef jarg1){ -var _ptr = __switch_application_interface_short_desc_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_application_interface_short_desc_get(HandleRef jarg1){ +var _ptr = __switch_application_interface_short_desc_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_syntax_set")] @@ -4579,10 +4587,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_syntax_get")] public static extern IntPtr __switch_application_interface_syntax_get(HandleRef jarg1); - public static string switch_application_interface_syntax_get(HandleRef jarg1){ -var _ptr = __switch_application_interface_syntax_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_application_interface_syntax_get(HandleRef jarg1){ +var _ptr = __switch_application_interface_syntax_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_flags_set")] @@ -4608,10 +4616,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_interface_name_get")] public static extern IntPtr __switch_api_interface_interface_name_get(HandleRef jarg1); - public static string switch_api_interface_interface_name_get(HandleRef jarg1){ -var _ptr = __switch_api_interface_interface_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_api_interface_interface_name_get(HandleRef jarg1){ +var _ptr = __switch_api_interface_interface_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_desc_set")] @@ -4619,10 +4627,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_desc_get")] public static extern IntPtr __switch_api_interface_desc_get(HandleRef jarg1); - public static string switch_api_interface_desc_get(HandleRef jarg1){ -var _ptr = __switch_api_interface_desc_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_api_interface_desc_get(HandleRef jarg1){ +var _ptr = __switch_api_interface_desc_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_function_set")] @@ -4636,10 +4644,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_syntax_get")] public static extern IntPtr __switch_api_interface_syntax_get(HandleRef jarg1); - public static string switch_api_interface_syntax_get(HandleRef jarg1){ -var _ptr = __switch_api_interface_syntax_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_api_interface_syntax_get(HandleRef jarg1){ +var _ptr = __switch_api_interface_syntax_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_next_set")] @@ -4737,10 +4745,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_cause2str")] public static extern IntPtr __switch_channel_cause2str(int jarg1); - public static string switch_channel_cause2str(int jarg1){ -var _ptr = __switch_channel_cause2str(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_cause2str(int jarg1){ +var _ptr = __switch_channel_cause2str(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_timetable")] @@ -4778,10 +4786,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_uuid")] public static extern IntPtr __switch_channel_get_uuid(HandleRef jarg1); - public static string switch_channel_get_uuid(HandleRef jarg1){ -var _ptr = __switch_channel_get_uuid(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_get_uuid(HandleRef jarg1){ +var _ptr = __switch_channel_get_uuid(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_variable")] @@ -4792,18 +4800,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_variable_partner")] public static extern IntPtr __switch_channel_get_variable_partner(HandleRef jarg1, string jarg2); - public static string switch_channel_get_variable_partner(HandleRef jarg1, string jarg2){ -var _ptr = __switch_channel_get_variable_partner(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_get_variable_partner(HandleRef jarg1, string jarg2){ +var _ptr = __switch_channel_get_variable_partner(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_variable")] public static extern IntPtr __switch_channel_get_variable(HandleRef jarg1, string jarg2); - public static string switch_channel_get_variable(HandleRef jarg1, string jarg2){ -var _ptr = __switch_channel_get_variable(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_get_variable(HandleRef jarg1, string jarg2){ +var _ptr = __switch_channel_get_variable(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_variable_first")] @@ -4874,10 +4882,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_name")] public static extern IntPtr __switch_channel_get_name(HandleRef jarg1); - public static string switch_channel_get_name(HandleRef jarg1){ -var _ptr = __switch_channel_get_name(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_get_name(HandleRef jarg1){ +var _ptr = __switch_channel_get_name(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_perform_hangup")] @@ -4903,10 +4911,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_state_name")] public static extern IntPtr __switch_channel_state_name(int jarg1); - public static string switch_channel_state_name(int jarg1){ -var _ptr = __switch_channel_state_name(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_state_name(int jarg1){ +var _ptr = __switch_channel_state_name(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_name_state")] @@ -4917,18 +4925,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_expand_variables")] public static extern IntPtr __switch_channel_expand_variables(HandleRef jarg1, string jarg2); - public static string switch_channel_expand_variables(HandleRef jarg1, string jarg2){ -var _ptr = __switch_channel_expand_variables(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_expand_variables(HandleRef jarg1, string jarg2){ +var _ptr = __switch_channel_expand_variables(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_build_param_string")] public static extern IntPtr __switch_channel_build_param_string(HandleRef jarg1, HandleRef jarg2, string jarg3); - public static string switch_channel_build_param_string(HandleRef jarg1, HandleRef jarg2, string jarg3){ -var _ptr = __switch_channel_build_param_string(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_channel_build_param_string(HandleRef jarg1, HandleRef jarg2, string jarg3){ +var _ptr = __switch_channel_build_param_string(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_timestamps")] @@ -4990,10 +4998,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_header_name_get")] public static extern IntPtr __switch_event_header_name_get(HandleRef jarg1); - public static string switch_event_header_name_get(HandleRef jarg1){ -var _ptr = __switch_event_header_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_header_name_get(HandleRef jarg1){ +var _ptr = __switch_event_header_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_header_value_set")] @@ -5001,10 +5009,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_header_value_get")] public static extern IntPtr __switch_event_header_value_get(HandleRef jarg1); - public static string switch_event_header_value_get(HandleRef jarg1){ -var _ptr = __switch_event_header_value_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_header_value_get(HandleRef jarg1){ +var _ptr = __switch_event_header_value_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_header_next_set")] @@ -5024,10 +5032,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_subclass_owner_get")] public static extern IntPtr __switch_event_subclass_owner_get(HandleRef jarg1); - public static string switch_event_subclass_owner_get(HandleRef jarg1){ -var _ptr = __switch_event_subclass_owner_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_subclass_owner_get(HandleRef jarg1){ +var _ptr = __switch_event_subclass_owner_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_subclass_name_set")] @@ -5035,10 +5043,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_subclass_name_get")] public static extern IntPtr __switch_event_subclass_name_get(HandleRef jarg1); - public static string switch_event_subclass_name_get(HandleRef jarg1){ -var _ptr = __switch_event_subclass_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_subclass_name_get(HandleRef jarg1){ +var _ptr = __switch_event_subclass_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_new_switch_event_subclass")] @@ -5064,10 +5072,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_owner_get")] public static extern IntPtr __switch_event_owner_get(HandleRef jarg1); - public static string switch_event_owner_get(HandleRef jarg1){ -var _ptr = __switch_event_owner_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_owner_get(HandleRef jarg1){ +var _ptr = __switch_event_owner_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_subclass_set")] @@ -5093,10 +5101,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_body_get")] public static extern IntPtr __switch_event_body_get(HandleRef jarg1); - public static string switch_event_body_get(HandleRef jarg1){ -var _ptr = __switch_event_body_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_body_get(HandleRef jarg1){ +var _ptr = __switch_event_body_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_bind_user_data_set")] @@ -5134,10 +5142,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_node_id_get")] public static extern IntPtr __switch_event_node_id_get(HandleRef jarg1); - public static string switch_event_node_id_get(HandleRef jarg1){ -var _ptr = __switch_event_node_id_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_node_id_get(HandleRef jarg1){ +var _ptr = __switch_event_node_id_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_node_event_id_set")] @@ -5190,18 +5198,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_get_header")] public static extern IntPtr __switch_event_get_header(HandleRef jarg1, string jarg2); - public static string switch_event_get_header(HandleRef jarg1, string jarg2){ -var _ptr = __switch_event_get_header(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_get_header(HandleRef jarg1, string jarg2){ +var _ptr = __switch_event_get_header(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_get_body")] public static extern IntPtr __switch_event_get_body(HandleRef jarg1); - public static string switch_event_get_body(HandleRef jarg1){ -var _ptr = __switch_event_get_body(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_get_body(HandleRef jarg1){ +var _ptr = __switch_event_get_body(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_add_header_string")] @@ -5224,10 +5232,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_name")] public static extern IntPtr __switch_event_name(int jarg1); - public static string switch_event_name(int jarg1){ -var _ptr = __switch_event_name(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_name(int jarg1){ +var _ptr = __switch_event_name(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_name_event")] @@ -5244,10 +5252,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_expand_headers")] public static extern IntPtr __switch_event_expand_headers(HandleRef jarg1, string jarg2); - public static string switch_event_expand_headers(HandleRef jarg1, string jarg2){ -var _ptr = __switch_event_expand_headers(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_expand_headers(HandleRef jarg1, string jarg2){ +var _ptr = __switch_event_expand_headers(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_create_pres_in_detailed")] @@ -5258,10 +5266,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_event_build_param_string")] public static extern IntPtr __switch_event_build_param_string(HandleRef jarg1, string jarg2, HandleRef jarg3); - public static string switch_event_build_param_string(HandleRef jarg1, string jarg2, HandleRef jarg3){ -var _ptr = __switch_event_build_param_string(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_event_build_param_string(HandleRef jarg1, string jarg2, HandleRef jarg3){ +var _ptr = __switch_event_build_param_string(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_audio_resampler_t_resampler_set")] @@ -5398,10 +5406,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_unicast_conninfo_local_ip_get")] public static extern IntPtr __switch_unicast_conninfo_local_ip_get(HandleRef jarg1); - public static string switch_unicast_conninfo_local_ip_get(HandleRef jarg1){ -var _ptr = __switch_unicast_conninfo_local_ip_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_unicast_conninfo_local_ip_get(HandleRef jarg1){ +var _ptr = __switch_unicast_conninfo_local_ip_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_unicast_conninfo_local_port_set")] @@ -5415,10 +5423,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_unicast_conninfo_remote_ip_get")] public static extern IntPtr __switch_unicast_conninfo_remote_ip_get(HandleRef jarg1); - public static string switch_unicast_conninfo_remote_ip_get(HandleRef jarg1){ -var _ptr = __switch_unicast_conninfo_remote_ip_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_unicast_conninfo_remote_ip_get(HandleRef jarg1){ +var _ptr = __switch_unicast_conninfo_remote_ip_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_unicast_conninfo_remote_port_set")] @@ -5738,18 +5746,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_RTP_CRYPTO_KEY_32_get")] public static extern IntPtr __SWITCH_RTP_CRYPTO_KEY_32_get(); - public static string SWITCH_RTP_CRYPTO_KEY_32_get(){ -var _ptr = __SWITCH_RTP_CRYPTO_KEY_32_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_RTP_CRYPTO_KEY_32_get(){ +var _ptr = __SWITCH_RTP_CRYPTO_KEY_32_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_RTP_CRYPTO_KEY_80_get")] public static extern IntPtr __SWITCH_RTP_CRYPTO_KEY_80_get(); - public static string SWITCH_RTP_CRYPTO_KEY_80_get(){ -var _ptr = __SWITCH_RTP_CRYPTO_KEY_80_get(); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string SWITCH_RTP_CRYPTO_KEY_80_get(){ +var _ptr = __SWITCH_RTP_CRYPTO_KEY_80_get(); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_crypto_key_index_set")] @@ -5925,10 +5933,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_data_get")] public static extern IntPtr __switch_log_node_t_data_get(HandleRef jarg1); - public static string switch_log_node_t_data_get(HandleRef jarg1){ -var _ptr = __switch_log_node_t_data_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_log_node_t_data_get(HandleRef jarg1){ +var _ptr = __switch_log_node_t_data_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_file_set")] @@ -5936,10 +5944,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_file_get")] public static extern IntPtr __switch_log_node_t_file_get(HandleRef jarg1); - public static string switch_log_node_t_file_get(HandleRef jarg1){ -var _ptr = __switch_log_node_t_file_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_log_node_t_file_get(HandleRef jarg1){ +var _ptr = __switch_log_node_t_file_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_line_set")] @@ -5953,10 +5961,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_func_get")] public static extern IntPtr __switch_log_node_t_func_get(HandleRef jarg1); - public static string switch_log_node_t_func_get(HandleRef jarg1){ -var _ptr = __switch_log_node_t_func_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_log_node_t_func_get(HandleRef jarg1){ +var _ptr = __switch_log_node_t_func_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_level_set")] @@ -5976,10 +5984,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_content_get")] public static extern IntPtr __switch_log_node_t_content_get(HandleRef jarg1); - public static string switch_log_node_t_content_get(HandleRef jarg1){ -var _ptr = __switch_log_node_t_content_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_log_node_t_content_get(HandleRef jarg1){ +var _ptr = __switch_log_node_t_content_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_userdata_set")] @@ -5987,10 +5995,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_userdata_get")] public static extern IntPtr __switch_log_node_t_userdata_get(HandleRef jarg1); - public static string switch_log_node_t_userdata_get(HandleRef jarg1){ -var _ptr = __switch_log_node_t_userdata_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_log_node_t_userdata_get(HandleRef jarg1){ +var _ptr = __switch_log_node_t_userdata_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_new_switch_log_node_t")] @@ -6010,10 +6018,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_level2str")] public static extern IntPtr __switch_log_level2str(int jarg1); - public static string switch_log_level2str(int jarg1){ -var _ptr = __switch_log_level2str(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_log_level2str(int jarg1){ +var _ptr = __switch_log_level2str(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_log_str2level")] @@ -6030,10 +6038,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_name_get")] public static extern IntPtr __switch_xml_name_get(HandleRef jarg1); - public static string switch_xml_name_get(HandleRef jarg1){ -var _ptr = __switch_xml_name_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_name_get(HandleRef jarg1){ +var _ptr = __switch_xml_name_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_attr_set")] @@ -6047,10 +6055,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_txt_get")] public static extern IntPtr __switch_xml_txt_get(HandleRef jarg1); - public static string switch_xml_txt_get(HandleRef jarg1){ -var _ptr = __switch_xml_txt_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_txt_get(HandleRef jarg1){ +var _ptr = __switch_xml_txt_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_free_path_set")] @@ -6058,10 +6066,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_free_path_get")] public static extern IntPtr __switch_xml_free_path_get(HandleRef jarg1); - public static string switch_xml_free_path_get(HandleRef jarg1){ -var _ptr = __switch_xml_free_path_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_free_path_get(HandleRef jarg1){ +var _ptr = __switch_xml_free_path_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_off_set")] @@ -6135,18 +6143,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_attr")] public static extern IntPtr __switch_xml_attr(HandleRef jarg1, string jarg2); - public static string switch_xml_attr(HandleRef jarg1, string jarg2){ -var _ptr = __switch_xml_attr(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_attr(HandleRef jarg1, string jarg2){ +var _ptr = __switch_xml_attr(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_attr_soft")] public static extern IntPtr __switch_xml_attr_soft(HandleRef jarg1, string jarg2); - public static string switch_xml_attr_soft(HandleRef jarg1, string jarg2){ -var _ptr = __switch_xml_attr_soft(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_attr_soft(HandleRef jarg1, string jarg2){ +var _ptr = __switch_xml_attr_soft(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_get")] @@ -6154,18 +6162,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_toxml")] public static extern IntPtr __switch_xml_toxml(HandleRef jarg1, int jarg2); - public static string switch_xml_toxml(HandleRef jarg1, int jarg2){ -var _ptr = __switch_xml_toxml(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_toxml(HandleRef jarg1, int jarg2){ +var _ptr = __switch_xml_toxml(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_toxml_buf")] public static extern IntPtr __switch_xml_toxml_buf(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5); - public static string switch_xml_toxml_buf(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5){ -var _ptr = __switch_xml_toxml_buf(jarg1, jarg2, jarg3, jarg4, jarg5); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_toxml_buf(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5){ +var _ptr = __switch_xml_toxml_buf(jarg1, jarg2, jarg3, jarg4, jarg5); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_pi")] @@ -6176,10 +6184,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_error")] public static extern IntPtr __switch_xml_error(HandleRef jarg1); - public static string switch_xml_error(HandleRef jarg1){ -var _ptr = __switch_xml_error(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_xml_error(HandleRef jarg1){ +var _ptr = __switch_xml_error(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_xml_new")] @@ -6622,10 +6630,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_task_group_get")] public static extern IntPtr __switch_scheduler_task_group_get(HandleRef jarg1); - public static string switch_scheduler_task_group_get(HandleRef jarg1){ -var _ptr = __switch_scheduler_task_group_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_scheduler_task_group_get(HandleRef jarg1){ +var _ptr = __switch_scheduler_task_group_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_task_cmd_arg_set")] @@ -6672,10 +6680,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_path_get")] public static extern IntPtr __switch_config_path_get(HandleRef jarg1); - public static string switch_config_path_get(HandleRef jarg1){ -var _ptr = __switch_config_path_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_config_path_get(HandleRef jarg1){ +var _ptr = __switch_config_path_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_category_set")] @@ -6683,10 +6691,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_category_get")] public static extern IntPtr __switch_config_category_get(HandleRef jarg1); - public static string switch_config_category_get(HandleRef jarg1){ -var _ptr = __switch_config_category_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_config_category_get(HandleRef jarg1){ +var _ptr = __switch_config_category_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_section_set")] @@ -6694,10 +6702,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_section_get")] public static extern IntPtr __switch_config_section_get(HandleRef jarg1); - public static string switch_config_section_get(HandleRef jarg1){ -var _ptr = __switch_config_section_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_config_section_get(HandleRef jarg1){ +var _ptr = __switch_config_section_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_buf_set")] @@ -6705,10 +6713,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_buf_get")] public static extern IntPtr __switch_config_buf_get(HandleRef jarg1); - public static string switch_config_buf_get(HandleRef jarg1){ -var _ptr = __switch_config_buf_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string switch_config_buf_get(HandleRef jarg1){ +var _ptr = __switch_config_buf_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_switch_config_lineno_set")] @@ -6776,18 +6784,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Api_Execute")] public static extern IntPtr __Api_Execute(HandleRef jarg1, string jarg2, string jarg3); - public static string Api_Execute(HandleRef jarg1, string jarg2, string jarg3){ -var _ptr = __Api_Execute(jarg1, jarg2, jarg3); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Api_Execute(HandleRef jarg1, string jarg2, string jarg3){ +var _ptr = __Api_Execute(jarg1, jarg2, jarg3); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Api_ExecuteString")] public static extern IntPtr __Api_ExecuteString(HandleRef jarg1, string jarg2); - public static string Api_ExecuteString(HandleRef jarg1, string jarg2){ -var _ptr = __Api_ExecuteString(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Api_ExecuteString(HandleRef jarg1, string jarg2){ +var _ptr = __Api_ExecuteString(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_input_callback_state_t_function_set")] @@ -6813,10 +6821,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_input_callback_state_t_funcargs_get")] public static extern IntPtr __input_callback_state_t_funcargs_get(HandleRef jarg1); - public static string input_callback_state_t_funcargs_get(HandleRef jarg1){ -var _ptr = __input_callback_state_t_funcargs_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string input_callback_state_t_funcargs_get(HandleRef jarg1){ +var _ptr = __input_callback_state_t_funcargs_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_new_input_callback_state_t")] @@ -6839,10 +6847,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Stream_get_data")] public static extern IntPtr __Stream_get_data(HandleRef jarg1); - public static string Stream_get_data(HandleRef jarg1){ -var _ptr = __Stream_get_data(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Stream_get_data(HandleRef jarg1){ +var _ptr = __Stream_get_data(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_InternalEvent_set")] @@ -6856,10 +6864,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_serialized_string_get")] public static extern IntPtr __Event_serialized_string_get(HandleRef jarg1); - public static string Event_serialized_string_get(HandleRef jarg1){ -var _ptr = __Event_serialized_string_get(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Event_serialized_string_get(HandleRef jarg1){ +var _ptr = __Event_serialized_string_get(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_mine_set")] @@ -6879,10 +6887,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_Serialize")] public static extern IntPtr __Event_Serialize(HandleRef jarg1, string jarg2); - public static string Event_Serialize(HandleRef jarg1, string jarg2){ -var _ptr = __Event_Serialize(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Event_Serialize(HandleRef jarg1, string jarg2){ +var _ptr = __Event_Serialize(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_SetPriority")] @@ -6890,26 +6898,26 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_GetHeader")] public static extern IntPtr __Event_GetHeader(HandleRef jarg1, string jarg2); - public static string Event_GetHeader(HandleRef jarg1, string jarg2){ -var _ptr = __Event_GetHeader(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Event_GetHeader(HandleRef jarg1, string jarg2){ +var _ptr = __Event_GetHeader(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_GetBody")] public static extern IntPtr __Event_GetBody(HandleRef jarg1); - public static string Event_GetBody(HandleRef jarg1){ -var _ptr = __Event_GetBody(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Event_GetBody(HandleRef jarg1){ +var _ptr = __Event_GetBody(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_GetEventType")] public static extern IntPtr __Event_GetEventType(HandleRef jarg1); - public static string Event_GetEventType(HandleRef jarg1){ -var _ptr = __Event_GetEventType(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string Event_GetEventType(HandleRef jarg1){ +var _ptr = __Event_GetEventType(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_Event_AddBody")] @@ -6983,10 +6991,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_GetVariable")] public static extern IntPtr __CoreSession_GetVariable(HandleRef jarg1, string jarg2); - public static string CoreSession_GetVariable(HandleRef jarg1, string jarg2){ -var _ptr = __CoreSession_GetVariable(jarg1, jarg2); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string CoreSession_GetVariable(HandleRef jarg1, string jarg2){ +var _ptr = __CoreSession_GetVariable(jarg1, jarg2); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Say")] @@ -7015,10 +7023,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_GetDigits")] public static extern IntPtr __CoreSession_GetDigits(HandleRef jarg1, int jarg2, string jarg3, int jarg4); - public static string CoreSession_GetDigits(HandleRef jarg1, int jarg2, string jarg3, int jarg4){ -var _ptr = __CoreSession_GetDigits(jarg1, jarg2, jarg3, jarg4); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string CoreSession_GetDigits(HandleRef jarg1, int jarg2, string jarg3, int jarg4){ +var _ptr = __CoreSession_GetDigits(jarg1, jarg2, jarg3, jarg4); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Transfer")] @@ -7026,18 +7034,18 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_read")] public static extern IntPtr __CoreSession_read(HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6); - public static string CoreSession_read(HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6){ -var _ptr = __CoreSession_read(jarg1, jarg2, jarg3, jarg4, jarg5, jarg6); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string CoreSession_read(HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6){ +var _ptr = __CoreSession_read(jarg1, jarg2, jarg3, jarg4, jarg5, jarg6); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_PlayAndGetDigits")] public static extern IntPtr __CoreSession_PlayAndGetDigits(HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9); - public static string CoreSession_PlayAndGetDigits(HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9){ -var _ptr = __CoreSession_PlayAndGetDigits(jarg1, jarg2, jarg3, jarg4, jarg5, jarg6, jarg7, jarg8, jarg9); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string CoreSession_PlayAndGetDigits(HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9){ +var _ptr = __CoreSession_PlayAndGetDigits(jarg1, jarg2, jarg3, jarg4, jarg5, jarg6, jarg7, jarg8, jarg9); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_StreamFile")] @@ -7075,10 +7083,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_getXMLCDR")] public static extern IntPtr __CoreSession_getXMLCDR(HandleRef jarg1); - public static string CoreSession_getXMLCDR(HandleRef jarg1){ -var _ptr = __CoreSession_getXMLCDR(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string CoreSession_getXMLCDR(HandleRef jarg1){ +var _ptr = __CoreSession_getXMLCDR(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_begin_allow_threads")] @@ -7089,10 +7097,10 @@ return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_GetUuid")] public static extern IntPtr __CoreSession_GetUuid(HandleRef jarg1); - public static string CoreSession_GetUuid(HandleRef jarg1){ -var _ptr = __CoreSession_GetUuid(jarg1); -var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); -System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); + public static string CoreSession_GetUuid(HandleRef jarg1){ +var _ptr = __CoreSession_GetUuid(jarg1); +var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr); +System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr); return _res; } [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_get_cb_args")] diff --git a/src/mod/languages/mod_mono_managed/swig/session_flag_t.cs b/src/mod/languages/mod_mono_managed/swig/session_flag_t.cs index dd8a148efd..abba0bbcbd 100644 --- a/src/mod/languages/mod_mono_managed/swig/session_flag_t.cs +++ b/src/mod/languages/mod_mono_managed/swig/session_flag_t.cs @@ -8,7 +8,7 @@ namespace FreeSWITCH.Native { -public enum session_flag_t { +[System.Flags] public enum session_flag_t { S_HUP = (1 << 0), S_FREE = (1 << 1), S_RDLOCK = (1 << 2) diff --git a/src/mod/languages/mod_mono_managed/swig/switch_application_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_application_flag_enum_t.cs new file mode 100644 index 0000000000..e2a836088f --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_application_flag_enum_t.cs @@ -0,0 +1,16 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_application_flag_enum_t { + SAF_NONE = 0, + SAF_SUPPORT_NOMEDIA = (1 << 0) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_asr_flag_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_asr_flag_enum_t.cs similarity index 89% rename from src/mod/languages/mod_mono_managed/swig/switch_asr_flag_t.cs rename to src/mod/languages/mod_mono_managed/swig/switch_asr_flag_enum_t.cs index 5a2f08bf3e..dbc1b2e3e4 100644 --- a/src/mod/languages/mod_mono_managed/swig/switch_asr_flag_t.cs +++ b/src/mod/languages/mod_mono_managed/swig/switch_asr_flag_enum_t.cs @@ -8,7 +8,7 @@ namespace FreeSWITCH.Native { -public enum switch_asr_flag_t { +[System.Flags] public enum switch_asr_flag_enum_t { SWITCH_ASR_FLAG_NONE = 0, SWITCH_ASR_FLAG_DATA = (1 << 0), SWITCH_ASR_FLAG_FREE_POOL = (1 << 1), diff --git a/src/mod/languages/mod_mono_managed/swig/switch_bind_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_bind_flag_enum_t.cs new file mode 100644 index 0000000000..32eb74f79d --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_bind_flag_enum_t.cs @@ -0,0 +1,20 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_bind_flag_enum_t { + SBF_DIAL_ALEG = (1 << 0), + SBF_EXEC_ALEG = (1 << 1), + SBF_DIAL_BLEG = (1 << 2), + SBF_EXEC_BLEG = (1 << 3), + SBF_EXEC_OPPOSITE = (1 << 4), + SBF_EXEC_SAME = (1 << 5) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_caller_profile_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_caller_profile_flag_enum_t.cs new file mode 100644 index 0000000000..c707e56f93 --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_caller_profile_flag_enum_t.cs @@ -0,0 +1,17 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_caller_profile_flag_enum_t { + SWITCH_CPF_SCREEN = (1 << 0), + SWITCH_CPF_HIDE_NAME = (1 << 1), + SWITCH_CPF_HIDE_NUMBER = (1 << 2) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_channel_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_channel_flag_enum_t.cs new file mode 100644 index 0000000000..6357f9f09b --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_channel_flag_enum_t.cs @@ -0,0 +1,44 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_channel_flag_enum_t { + CF_ANSWERED = (1 << 0), + CF_OUTBOUND = (1 << 1), + CF_EARLY_MEDIA = (1 << 2), + CF_ORIGINATOR = (1 << 3), + CF_TRANSFER = (1 << 4), + CF_ACCEPT_CNG = (1 << 5), + CF_WAIT_FOR_ME = (1 << 6), + CF_BRIDGED = (1 << 7), + CF_HOLD = (1 << 8), + CF_SERVICE = (1 << 9), + CF_TAGGED = (1 << 10), + CF_WINNER = (1 << 11), + CF_CONTROLLED = (1 << 12), + CF_PROXY_MODE = (1 << 13), + CF_SUSPEND = (1 << 14), + CF_EVENT_PARSE = (1 << 15), + CF_REPEAT_STATE = (1 << 16), + CF_GEN_RINGBACK = (1 << 17), + CF_RING_READY = (1 << 18), + CF_BREAK = (1 << 19), + CF_BROADCAST = (1 << 20), + CF_UNICAST = (1 << 21), + CF_VIDEO = (1 << 22), + CF_EVENT_LOCK = (1 << 23), + CF_RESET = (1 << 24), + CF_ORIGINATING = (1 << 25), + CF_STOP_BROADCAST = (1 << 26), + CF_PROXY_MEDIA = (1 << 27), + CF_INNER_BRIDGE = (1 << 28), + CF_REQ_MEDIA = (1 << 29) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_codec_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_codec_flag_enum_t.cs new file mode 100644 index 0000000000..25d1ae0179 --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_codec_flag_enum_t.cs @@ -0,0 +1,22 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_codec_flag_enum_t { + SWITCH_CODEC_FLAG_ENCODE = (1 << 0), + SWITCH_CODEC_FLAG_DECODE = (1 << 1), + SWITCH_CODEC_FLAG_SILENCE_START = (1 << 2), + SWITCH_CODEC_FLAG_SILENCE_STOP = (1 << 3), + SWITCH_CODEC_FLAG_SILENCE = (1 << 4), + SWITCH_CODEC_FLAG_FREE_POOL = (1 << 5), + SWITCH_CODEC_FLAG_AAL2 = (1 << 6), + SWITCH_CODEC_FLAG_PASSTHROUGH = (1 << 7) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_core_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_core_flag_enum_t.cs new file mode 100644 index 0000000000..8352336fb4 --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_core_flag_enum_t.cs @@ -0,0 +1,19 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_core_flag_enum_t { + SCF_NONE = 0, + SCF_USE_SQL = (1 << 0), + SCF_NO_NEW_SESSIONS = (1 << 1), + SCF_SHUTTING_DOWN = (1 << 2), + SCF_CRASH_PROT = (1 << 3) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_core_session_message_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_core_session_message_flag_enum_t.cs new file mode 100644 index 0000000000..9e8e739a73 --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_core_session_message_flag_enum_t.cs @@ -0,0 +1,15 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_core_session_message_flag_enum_t { + SCSMF_DYNAMIC = (1 << 0) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_directory_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_directory_flag_enum_t.cs new file mode 100644 index 0000000000..952afeea08 --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_directory_flag_enum_t.cs @@ -0,0 +1,15 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_directory_flag_enum_t { + SWITCH_DIRECTORY_FLAG_FREE_POOL = (1 << 0) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_eavesdrop_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_eavesdrop_flag_enum_t.cs new file mode 100644 index 0000000000..0f5599642a --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_eavesdrop_flag_enum_t.cs @@ -0,0 +1,17 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_eavesdrop_flag_enum_t { + ED_MUX_READ = (1 << 0), + ED_MUX_WRITE = (1 << 1), + ED_DTMF = (1 << 2) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_file_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_file_flag_enum_t.cs new file mode 100644 index 0000000000..5fa92cba04 --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_file_flag_enum_t.cs @@ -0,0 +1,27 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_file_flag_enum_t { + SWITCH_FILE_FLAG_READ = (1 << 0), + SWITCH_FILE_FLAG_WRITE = (1 << 1), + SWITCH_FILE_FLAG_FREE_POOL = (1 << 2), + SWITCH_FILE_DATA_SHORT = (1 << 3), + SWITCH_FILE_DATA_INT = (1 << 4), + SWITCH_FILE_DATA_FLOAT = (1 << 5), + SWITCH_FILE_DATA_DOUBLE = (1 << 6), + SWITCH_FILE_DATA_RAW = (1 << 7), + SWITCH_FILE_PAUSE = (1 << 8), + SWITCH_FILE_NATIVE = (1 << 9), + SWITCH_FILE_SEEK = (1 << 10), + SWITCH_FILE_OPEN = (1 << 11), + SWITCH_FILE_CALLBACK = (1 << 12) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_frame_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_frame_flag_enum_t.cs new file mode 100644 index 0000000000..9b0f0f94e9 --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_frame_flag_enum_t.cs @@ -0,0 +1,21 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_frame_flag_enum_t { + SFF_NONE = 0, + SFF_CNG = (1 << 0), + SFF_RAW_RTP = (1 << 1), + SFF_RTP_HEADER = (1 << 2), + SFF_PLC = (1 << 3), + SFF_RFC2833 = (1 << 4), + SFF_PROXY_PACKET = (1 << 5) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_io_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_io_flag_enum_t.cs new file mode 100644 index 0000000000..614b523fb0 --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_io_flag_enum_t.cs @@ -0,0 +1,16 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_io_flag_enum_t { + SWITCH_IO_FLAG_NONE = 0, + SWITCH_IO_FLAG_NOBLOCK = (1 << 0) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_ivr_option_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_ivr_option_enum_t.cs new file mode 100644 index 0000000000..4b58142b8f --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_ivr_option_enum_t.cs @@ -0,0 +1,17 @@ +/* ---------------------------------------------------------------------------- + * 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_ivr_option_enum_t { + SWITCH_IVR_OPTION_NONE = 0, + SWITCH_IVR_OPTION_ASYNC = (1 << 0), + SWITCH_IVR_OPTION_FILE = (1 << 1) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_media_bug_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_media_bug_flag_enum_t.cs new file mode 100644 index 0000000000..cc94fe71b1 --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_media_bug_flag_enum_t.cs @@ -0,0 +1,23 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_media_bug_flag_enum_t { + SMBF_BOTH = 0, + SMBF_READ_STREAM = (1 << 0), + SMBF_WRITE_STREAM = (1 << 1), + SMBF_WRITE_REPLACE = (1 << 2), + SMBF_READ_REPLACE = (1 << 3), + SMBF_READ_PING = (1 << 4), + SMBF_STEREO = (1 << 5), + SMBF_RECORD_ANSWER_REQ = (1 << 6), + SMBF_THREAD_LOCK = (1 << 7) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_media_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_media_flag_enum_t.cs new file mode 100644 index 0000000000..888b262aed --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_media_flag_enum_t.cs @@ -0,0 +1,21 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_media_flag_enum_t { + SMF_NONE = 0, + SMF_REBRIDGE = (1 << 0), + SMF_ECHO_ALEG = (1 << 1), + SMF_ECHO_BLEG = (1 << 2), + SMF_FORCE = (1 << 3), + SMF_LOOP = (1 << 4), + SMF_HOLD_BLEG = (1 << 5) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_originate_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_originate_flag_enum_t.cs new file mode 100644 index 0000000000..2ebcad72ad --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_originate_flag_enum_t.cs @@ -0,0 +1,17 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_originate_flag_enum_t { + SOF_NONE = 0, + SOF_NOBLOCK = (1 << 0), + SOF_FORKED_DIAL = (1 << 1) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_port_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_port_flag_enum_t.cs new file mode 100644 index 0000000000..ad558c519f --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_port_flag_enum_t.cs @@ -0,0 +1,17 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_port_flag_enum_t { + SPF_NONE = 0, + SPF_ODD = (1 << 0), + SPF_EVEN = (1 << 1) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_rtp_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_rtp_flag_enum_t.cs new file mode 100644 index 0000000000..70087ab4e5 --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_rtp_flag_enum_t.cs @@ -0,0 +1,34 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_rtp_flag_enum_t { + SWITCH_RTP_FLAG_NOBLOCK = (1 << 0), + SWITCH_RTP_FLAG_IO = (1 << 1), + SWITCH_RTP_FLAG_USE_TIMER = (1 << 2), + SWITCH_RTP_FLAG_TIMER_RECLOCK = (1 << 3), + SWITCH_RTP_FLAG_SECURE_SEND = (1 << 4), + SWITCH_RTP_FLAG_SECURE_RECV = (1 << 5), + SWITCH_RTP_FLAG_AUTOADJ = (1 << 6), + SWITCH_RTP_FLAG_RAW_WRITE = (1 << 7), + SWITCH_RTP_FLAG_GOOGLEHACK = (1 << 8), + SWITCH_RTP_FLAG_VAD = (1 << 9), + SWITCH_RTP_FLAG_BREAK = (1 << 10), + SWITCH_RTP_FLAG_MINI = (1 << 11), + SWITCH_RTP_FLAG_DATAWAIT = (1 << 12), + SWITCH_RTP_FLAG_BUGGY_2833 = (1 << 13), + SWITCH_RTP_FLAG_PASS_RFC2833 = (1 << 14), + SWITCH_RTP_FLAG_AUTO_CNG = (1 << 15), + SWITCH_RTP_FLAG_SECURE_SEND_RESET = (1 << 16), + SWITCH_RTP_FLAG_SECURE_RECV_RESET = (1 << 17), + SWITCH_RTP_FLAG_PROXY_MEDIA = (1 << 18), + SWITCH_RTP_FLAG_SHUTDOWN = (1 << 19) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_scheduler_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_scheduler_flag_enum_t.cs new file mode 100644 index 0000000000..f06cbbdc90 --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_scheduler_flag_enum_t.cs @@ -0,0 +1,18 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_scheduler_flag_enum_t { + SSHF_NONE = 0, + SSHF_OWN_THREAD = (1 << 0), + SSHF_FREE_ARG = (1 << 1), + SSHF_NO_DEL = (1 << 2) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_speech_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_speech_flag_enum_t.cs new file mode 100644 index 0000000000..53695a4a9b --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_speech_flag_enum_t.cs @@ -0,0 +1,20 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_speech_flag_enum_t { + SWITCH_SPEECH_FLAG_NONE = 0, + SWITCH_SPEECH_FLAG_HASTEXT = (1 << 0), + SWITCH_SPEECH_FLAG_PEEK = (1 << 1), + SWITCH_SPEECH_FLAG_FREE_POOL = (1 << 2), + SWITCH_SPEECH_FLAG_BLOCKING = (1 << 3), + SWITCH_SPEECH_FLAG_PAUSE = (1 << 4) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_timer_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_timer_flag_enum_t.cs new file mode 100644 index 0000000000..9311bc291d --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_timer_flag_enum_t.cs @@ -0,0 +1,15 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_timer_flag_enum_t { + SWITCH_TIMER_FLAG_FREE_POOL = (1 << 0) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_unicast_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_unicast_flag_enum_t.cs new file mode 100644 index 0000000000..ed85d7c32c --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_unicast_flag_enum_t.cs @@ -0,0 +1,18 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_unicast_flag_enum_t { + SUF_NONE = 0, + SUF_THREAD_RUNNING = (1 << 0), + SUF_READY = (1 << 1), + SUF_NATIVE = (1 << 2) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_vad_flag_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_vad_flag_enum_t.cs new file mode 100644 index 0000000000..3b76b9688b --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_vad_flag_enum_t.cs @@ -0,0 +1,18 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_vad_flag_enum_t { + SWITCH_VAD_FLAG_TALKING = (1 << 0), + SWITCH_VAD_FLAG_EVENTS_TALK = (1 << 1), + SWITCH_VAD_FLAG_EVENTS_NOTALK = (1 << 2), + SWITCH_VAD_FLAG_CNG = (1 << 3) +} + +} diff --git a/src/mod/languages/mod_mono_managed/swig/switch_xml_flag_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_xml_flag_t.cs index 219fee2a49..f6d670f4c3 100644 --- a/src/mod/languages/mod_mono_managed/swig/switch_xml_flag_t.cs +++ b/src/mod/languages/mod_mono_managed/swig/switch_xml_flag_t.cs @@ -8,7 +8,7 @@ namespace FreeSWITCH.Native { -public enum switch_xml_flag_t { +[System.Flags] public enum switch_xml_flag_t { SWITCH_XML_ROOT = (1 << 0), SWITCH_XML_NAMEM = (1 << 1), SWITCH_XML_TXTM = (1 << 2), diff --git a/src/mod/languages/mod_mono_managed/swig/switch_xml_section_enum_t.cs b/src/mod/languages/mod_mono_managed/swig/switch_xml_section_enum_t.cs new file mode 100644 index 0000000000..40c1e41902 --- /dev/null +++ b/src/mod/languages/mod_mono_managed/swig/switch_xml_section_enum_t.cs @@ -0,0 +1,19 @@ +/* ---------------------------------------------------------------------------- + * 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 { + +[System.Flags] public enum switch_xml_section_enum_t { + SWITCH_XML_SECTION_RESULT = 0, + SWITCH_XML_SECTION_CONFIG = (1 << 0), + SWITCH_XML_SECTION_DIRECTORY = (1 << 1), + SWITCH_XML_SECTION_DIALPLAN = (1 << 2), + SWITCH_XML_SECTION_PHRASES = (1 << 3) +} + +}