From d591f32c36cab95551e44e89ed7b800d743548ff Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 15 Dec 2009 20:45:10 +0000 Subject: [PATCH] swigall git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15974 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- .../languages/mod_managed/freeswitch_wrap.cxx | 264 +++++++++++++++ src/mod/languages/mod_managed/managed/swig.cs | 311 ++++++++++++++++++ 2 files changed, 575 insertions(+) diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.cxx index 7eb5223de1..aea3b29c56 100644 --- a/src/mod/languages/mod_managed/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_managed/freeswitch_wrap.cxx @@ -3447,6 +3447,166 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_t38_options_t(void * jarg1) { } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_node_val_set(void * jarg1, char * jarg2) { + switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; + char *arg2 = (char *) 0 ; + + arg1 = (switch_console_callback_match_node *)jarg1; + arg2 = (char *)jarg2; + { + if (arg1->val) delete [] arg1->val; + if (arg2) { + arg1->val = (char *) (new char[strlen((const char *)arg2)+1]); + strcpy((char *)arg1->val, (const char *)arg2); + } else { + arg1->val = 0; + } + } +} + + +SWIGEXPORT char * SWIGSTDCALL CSharp_switch_console_callback_match_node_val_get(void * jarg1) { + char * jresult ; + switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; + char *result = 0 ; + + arg1 = (switch_console_callback_match_node *)jarg1; + result = (char *) ((arg1)->val); + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_node_next_set(void * jarg1, void * jarg2) { + switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; + switch_console_callback_match_node *arg2 = (switch_console_callback_match_node *) 0 ; + + arg1 = (switch_console_callback_match_node *)jarg1; + arg2 = (switch_console_callback_match_node *)jarg2; + if (arg1) (arg1)->next = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_console_callback_match_node_next_get(void * jarg1) { + void * jresult ; + switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; + switch_console_callback_match_node *result = 0 ; + + arg1 = (switch_console_callback_match_node *)jarg1; + result = (switch_console_callback_match_node *) ((arg1)->next); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_console_callback_match_node() { + void * jresult ; + switch_console_callback_match_node *result = 0 ; + + result = (switch_console_callback_match_node *)new switch_console_callback_match_node(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_console_callback_match_node(void * jarg1) { + switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; + + arg1 = (switch_console_callback_match_node *)jarg1; + delete arg1; + +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_head_set(void * jarg1, void * jarg2) { + switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; + switch_console_callback_match_node *arg2 = (switch_console_callback_match_node *) 0 ; + + arg1 = (switch_console_callback_match *)jarg1; + arg2 = (switch_console_callback_match_node *)jarg2; + if (arg1) (arg1)->head = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_console_callback_match_head_get(void * jarg1) { + void * jresult ; + switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; + switch_console_callback_match_node *result = 0 ; + + arg1 = (switch_console_callback_match *)jarg1; + result = (switch_console_callback_match_node *) ((arg1)->head); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_end_set(void * jarg1, void * jarg2) { + switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; + switch_console_callback_match_node *arg2 = (switch_console_callback_match_node *) 0 ; + + arg1 = (switch_console_callback_match *)jarg1; + arg2 = (switch_console_callback_match_node *)jarg2; + if (arg1) (arg1)->end = arg2; + +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_console_callback_match_end_get(void * jarg1) { + void * jresult ; + switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; + switch_console_callback_match_node *result = 0 ; + + arg1 = (switch_console_callback_match *)jarg1; + result = (switch_console_callback_match_node *) ((arg1)->end); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_dynamic_set(void * jarg1, int jarg2) { + switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; + int arg2 ; + + arg1 = (switch_console_callback_match *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->dynamic = arg2; + +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_callback_match_dynamic_get(void * jarg1) { + int jresult ; + switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; + int result; + + arg1 = (switch_console_callback_match *)jarg1; + result = (int) ((arg1)->dynamic); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_console_callback_match() { + void * jresult ; + switch_console_callback_match *result = 0 ; + + result = (switch_console_callback_match *)new switch_console_callback_match(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_console_callback_match(void * jarg1) { + switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; + + arg1 = (switch_console_callback_match *)jarg1; + delete arg1; + +} + + SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_input_callback_set(void * jarg1, void * jarg2) { switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; switch_input_callback_function_t arg2 = (switch_input_callback_function_t) 0 ; @@ -9575,6 +9735,110 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_stream_write_file_contents(void * jarg1 } +SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_init(void * jarg1) { + int jresult ; + switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; + switch_status_t result; + + arg1 = (switch_memory_pool_t *)jarg1; + result = (switch_status_t)switch_console_init(arg1); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_shutdown() { + int jresult ; + switch_status_t result; + + result = (switch_status_t)switch_console_shutdown(); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_add_complete_func(char * jarg1, void * jarg2) { + int jresult ; + char *arg1 = (char *) 0 ; + switch_console_complete_callback_t arg2 = (switch_console_complete_callback_t) 0 ; + switch_status_t result; + + arg1 = (char *)jarg1; + arg2 = (switch_console_complete_callback_t)jarg2; + result = (switch_status_t)switch_console_add_complete_func((char const *)arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_del_complete_func(char * jarg1) { + int jresult ; + char *arg1 = (char *) 0 ; + switch_status_t result; + + arg1 = (char *)jarg1; + result = (switch_status_t)switch_console_del_complete_func((char const *)arg1); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_run_complete_func(char * jarg1, char * jarg2, char * jarg3, void * jarg4) { + int jresult ; + char *arg1 = (char *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + switch_console_callback_match_t **arg4 = (switch_console_callback_match_t **) 0 ; + switch_status_t result; + + arg1 = (char *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + arg4 = (switch_console_callback_match_t **)jarg4; + result = (switch_status_t)switch_console_run_complete_func((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_push_match(void * jarg1, char * jarg2) { + switch_console_callback_match_t **arg1 = (switch_console_callback_match_t **) 0 ; + char *arg2 = (char *) 0 ; + + arg1 = (switch_console_callback_match_t **)jarg1; + arg2 = (char *)jarg2; + switch_console_push_match(arg1,(char const *)arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_free_matches(void * jarg1) { + switch_console_callback_match_t **arg1 = (switch_console_callback_match_t **) 0 ; + + arg1 = (switch_console_callback_match_t **)jarg1; + switch_console_free_matches(arg1); +} + + +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_console_complete(char * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { + unsigned char jresult ; + char *arg1 = (char *) 0 ; + char *arg2 = (char *) 0 ; + FILE *arg3 = (FILE *) 0 ; + switch_stream_handle_t *arg4 = (switch_stream_handle_t *) 0 ; + switch_xml_t arg5 = (switch_xml_t) 0 ; + unsigned char result; + + arg1 = (char *)jarg1; + arg2 = (char *)jarg2; + arg3 = (FILE *)jarg3; + arg4 = (switch_stream_handle_t *)jarg4; + arg5 = (switch_xml_t)jarg5; + result = (unsigned char)switch_console_complete((char const *)arg1,(char const *)arg2,arg3,arg4,arg5); + jresult = result; + return jresult; +} + + SWIGEXPORT int SWIGSTDCALL CSharp_switch_toupper(int jarg1) { int jresult ; int arg1 ; diff --git a/src/mod/languages/mod_managed/managed/swig.cs b/src/mod/languages/mod_managed/managed/swig.cs index 39e46e198c..9603a1f616 100644 --- a/src/mod/languages/mod_managed/managed/swig.cs +++ b/src/mod/languages/mod_managed/managed/swig.cs @@ -2189,6 +2189,44 @@ public class freeswitch { return ret; } + public static switch_status_t switch_console_init(SWIGTYPE_p_apr_pool_t pool) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_init(SWIGTYPE_p_apr_pool_t.getCPtr(pool)); + return ret; + } + + public static switch_status_t switch_console_shutdown() { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_shutdown(); + return ret; + } + + public static switch_status_t switch_console_add_complete_func(string name, SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t cb) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_add_complete_func(name, SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t.getCPtr(cb)); + return ret; + } + + public static switch_status_t switch_console_del_complete_func(string name) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_del_complete_func(name); + return ret; + } + + public static switch_status_t switch_console_run_complete_func(string func, string line, string last_word, SWIGTYPE_p_p_switch_console_callback_match matches) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_run_complete_func(func, line, last_word, SWIGTYPE_p_p_switch_console_callback_match.getCPtr(matches)); + return ret; + } + + public static void switch_console_push_match(SWIGTYPE_p_p_switch_console_callback_match matches, string new_val) { + freeswitchPINVOKE.switch_console_push_match(SWIGTYPE_p_p_switch_console_callback_match.getCPtr(matches), new_val); + } + + public static void switch_console_free_matches(SWIGTYPE_p_p_switch_console_callback_match matches) { + freeswitchPINVOKE.switch_console_free_matches(SWIGTYPE_p_p_switch_console_callback_match.getCPtr(matches)); + } + + public static byte switch_console_complete(string line, string last_word, SWIGTYPE_p_FILE console_out, switch_stream_handle stream, switch_xml xml) { + byte ret = freeswitchPINVOKE.switch_console_complete(line, last_word, SWIGTYPE_p_FILE.getCPtr(console_out), switch_stream_handle.getCPtr(stream), switch_xml.getCPtr(xml)); + return ret; + } + public static int switch_toupper(int c) { int ret = freeswitchPINVOKE.switch_toupper(c); return ret; @@ -5672,6 +5710,48 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_t38_options_t")] public static extern void delete_switch_t38_options_t(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_node_val_set")] + public static extern void switch_console_callback_match_node_val_set(HandleRef jarg1, string jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_node_val_get")] + public static extern string switch_console_callback_match_node_val_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_node_next_set")] + public static extern void switch_console_callback_match_node_next_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_node_next_get")] + public static extern IntPtr switch_console_callback_match_node_next_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_new_switch_console_callback_match_node")] + public static extern IntPtr new_switch_console_callback_match_node(); + + [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_console_callback_match_node")] + public static extern void delete_switch_console_callback_match_node(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_head_set")] + public static extern void switch_console_callback_match_head_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_head_get")] + public static extern IntPtr switch_console_callback_match_head_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_end_set")] + public static extern void switch_console_callback_match_end_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_end_get")] + public static extern IntPtr switch_console_callback_match_end_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_dynamic_set")] + public static extern void switch_console_callback_match_dynamic_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_dynamic_get")] + public static extern int switch_console_callback_match_dynamic_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_new_switch_console_callback_match")] + public static extern IntPtr new_switch_console_callback_match(); + + [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_console_callback_match")] + public static extern void delete_switch_console_callback_match(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_input_callback_set")] public static extern void switch_input_args_t_input_callback_set(HandleRef jarg1, HandleRef jarg2); @@ -7091,6 +7171,30 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_write_file_contents")] public static extern int switch_stream_write_file_contents(HandleRef jarg1, string jarg2); + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_init")] + public static extern int switch_console_init(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_shutdown")] + public static extern int switch_console_shutdown(); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_add_complete_func")] + public static extern int switch_console_add_complete_func(string jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_del_complete_func")] + public static extern int switch_console_del_complete_func(string jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_run_complete_func")] + public static extern int switch_console_run_complete_func(string jarg1, string jarg2, string jarg3, HandleRef jarg4); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_push_match")] + public static extern void switch_console_push_match(HandleRef jarg1, string jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_free_matches")] + public static extern void switch_console_free_matches(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_console_complete")] + public static extern byte switch_console_complete(string jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5); + [DllImport("mod_managed", EntryPoint="CSharp_switch_toupper")] public static extern int switch_toupper(int jarg1); @@ -12536,6 +12640,36 @@ namespace FreeSWITCH.Native { using System; using System.Runtime.InteropServices; +public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t { + private HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t(IntPtr cPtr, bool futureUse) { + swigCPtr = new HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t() { + swigCPtr = new HandleRef(null, IntPtr.Zero); + } + + internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } +} + +} +/* ---------------------------------------------------------------------------- + * 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 { + +using System; +using System.Runtime.InteropServices; + public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t { private HandleRef swigCPtr; @@ -14846,6 +14980,36 @@ namespace FreeSWITCH.Native { using System; using System.Runtime.InteropServices; +public class SWIGTYPE_p_p_switch_console_callback_match { + private HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_console_callback_match(IntPtr cPtr, bool futureUse) { + swigCPtr = new HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_console_callback_match() { + swigCPtr = new HandleRef(null, IntPtr.Zero); + } + + internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_console_callback_match obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } +} + +} +/* ---------------------------------------------------------------------------- + * 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 { + +using System; +using System.Runtime.InteropServices; + public class SWIGTYPE_p_p_switch_core_port_allocator { private HandleRef swigCPtr; @@ -20381,6 +20545,153 @@ public class switch_config : IDisposable { namespace FreeSWITCH.Native { +using System; +using System.Runtime.InteropServices; + +public class switch_console_callback_match : IDisposable { + private HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal switch_console_callback_match(IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new HandleRef(this, cPtr); + } + + internal static HandleRef getCPtr(switch_console_callback_match obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } + + ~switch_console_callback_match() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { + swigCMemOwn = false; + freeswitchPINVOKE.delete_switch_console_callback_match(swigCPtr); + } + swigCPtr = new HandleRef(null, IntPtr.Zero); + GC.SuppressFinalize(this); + } + } + + public switch_console_callback_match_node head { + set { + freeswitchPINVOKE.switch_console_callback_match_head_set(swigCPtr, switch_console_callback_match_node.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_console_callback_match_head_get(swigCPtr); + switch_console_callback_match_node ret = (cPtr == IntPtr.Zero) ? null : new switch_console_callback_match_node(cPtr, false); + return ret; + } + } + + public switch_console_callback_match_node end { + set { + freeswitchPINVOKE.switch_console_callback_match_end_set(swigCPtr, switch_console_callback_match_node.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_console_callback_match_end_get(swigCPtr); + switch_console_callback_match_node ret = (cPtr == IntPtr.Zero) ? null : new switch_console_callback_match_node(cPtr, false); + return ret; + } + } + + public int dynamic { + set { + freeswitchPINVOKE.switch_console_callback_match_dynamic_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_console_callback_match_dynamic_get(swigCPtr); + return ret; + } + } + + public switch_console_callback_match() : this(freeswitchPINVOKE.new_switch_console_callback_match(), true) { + } + +} + +} +/* ---------------------------------------------------------------------------- + * 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 { + +using System; +using System.Runtime.InteropServices; + +public class switch_console_callback_match_node : IDisposable { + private HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal switch_console_callback_match_node(IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new HandleRef(this, cPtr); + } + + internal static HandleRef getCPtr(switch_console_callback_match_node obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } + + ~switch_console_callback_match_node() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { + swigCMemOwn = false; + freeswitchPINVOKE.delete_switch_console_callback_match_node(swigCPtr); + } + swigCPtr = new HandleRef(null, IntPtr.Zero); + GC.SuppressFinalize(this); + } + } + + public string val { + set { + freeswitchPINVOKE.switch_console_callback_match_node_val_set(swigCPtr, value); + } + get { + string ret = freeswitchPINVOKE.switch_console_callback_match_node_val_get(swigCPtr); + return ret; + } + } + + public switch_console_callback_match_node next { + set { + freeswitchPINVOKE.switch_console_callback_match_node_next_set(swigCPtr, switch_console_callback_match_node.getCPtr(value)); + } + get { + IntPtr cPtr = freeswitchPINVOKE.switch_console_callback_match_node_next_get(swigCPtr); + switch_console_callback_match_node ret = (cPtr == IntPtr.Zero) ? null : new switch_console_callback_match_node(cPtr, false); + return ret; + } + } + + public switch_console_callback_match_node() : this(freeswitchPINVOKE.new_switch_console_callback_match_node(), true) { + } + +} + +} +/* ---------------------------------------------------------------------------- + * 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),