<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[Freeswitch-trunk][15601] </title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<div id="header">FreeSWITCH Subversion</div>
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=15601">15601</a></dd>
<dt>Author</dt> <dd>mikej</dd>
<dt>Date</dt> <dd>2009-11-21 13:36:39 -0600 (Sat, 21 Nov 2009)</dd>
</dl>

<h3>Log Message</h3>
<pre>swigall</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#freeswitchtrunksrcmodlanguagesmod_managedfreeswitch_wrapcxx">freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx</a></li>
<li><a href="#freeswitchtrunksrcmodlanguagesmod_managedmanagedswigcs">freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="freeswitchtrunksrcmodlanguagesmod_managedfreeswitch_wrapcxx"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx (15600 => 15601)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx        2009-11-21 18:57:15 UTC (rev 15600)
+++ freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx        2009-11-21 19:36:39 UTC (rev 15601)
</span><span class="lines">@@ -5606,6 +5606,18 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><ins>+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_prune(void * jarg1) {
+  unsigned long jresult ;
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+  uint32_t result;
+  
+  arg1 = (switch_core_session_t *)jarg1; 
+  result = (uint32_t)switch_core_media_bug_prune(arg1);
+  jresult = (unsigned long)result; 
+  return jresult;
+}
+
+
</ins><span class="cx"> SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_remove_callback(void * jarg1, void * jarg2) {
</span><span class="cx">   int jresult ;
</span><span class="cx">   switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
</span><span class="lines">@@ -8739,6 +8751,294 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><ins>+SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_core_db_dbh_set(void * jarg1, void * jarg2) {
+  switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ;
+  switch_core_db_t *arg2 = (switch_core_db_t *) 0 ;
+  
+  arg1 = (switch_cache_db_native_handle_t *)jarg1; 
+  arg2 = (switch_core_db_t *)jarg2; 
+  if (arg1) (arg1)-&gt;core_db_dbh = arg2;
+  
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_core_db_dbh_get(void * jarg1) {
+  void * jresult ;
+  switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ;
+  switch_core_db_t *result = 0 ;
+  
+  arg1 = (switch_cache_db_native_handle_t *)jarg1; 
+  result = (switch_core_db_t *) ((arg1)-&gt;core_db_dbh);
+  jresult = (void *)result; 
+  return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_odbc_dbh_set(void * jarg1, void * jarg2) {
+  switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ;
+  switch_odbc_handle_t *arg2 = (switch_odbc_handle_t *) 0 ;
+  
+  arg1 = (switch_cache_db_native_handle_t *)jarg1; 
+  arg2 = (switch_odbc_handle_t *)jarg2; 
+  if (arg1) (arg1)-&gt;odbc_dbh = arg2;
+  
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_odbc_dbh_get(void * jarg1) {
+  void * jresult ;
+  switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ;
+  switch_odbc_handle_t *result = 0 ;
+  
+  arg1 = (switch_cache_db_native_handle_t *)jarg1; 
+  result = (switch_odbc_handle_t *) ((arg1)-&gt;odbc_dbh);
+  jresult = (void *)result; 
+  return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_native_handle_t() {
+  void * jresult ;
+  switch_cache_db_native_handle_t *result = 0 ;
+  
+  result = (switch_cache_db_native_handle_t *)new switch_cache_db_native_handle_t();
+  jresult = (void *)result; 
+  return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_native_handle_t(void * jarg1) {
+  switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ;
+  
+  arg1 = (switch_cache_db_native_handle_t *)jarg1; 
+  delete arg1;
+  
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_core_db_options_t_db_path_set(void * jarg1, char * jarg2) {
+  switch_cache_db_core_db_options_t *arg1 = (switch_cache_db_core_db_options_t *) 0 ;
+  char *arg2 = (char *) 0 ;
+  
+  arg1 = (switch_cache_db_core_db_options_t *)jarg1; 
+  arg2 = (char *)jarg2; 
+  {
+    if (arg1-&gt;db_path) delete [] arg1-&gt;db_path;
+    if (arg2) {
+      arg1-&gt;db_path = (char *) (new char[strlen((const char *)arg2)+1]);
+      strcpy((char *)arg1-&gt;db_path, (const char *)arg2);
+    } else {
+      arg1-&gt;db_path = 0;
+    }
+  }
+}
+
+
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_core_db_options_t_db_path_get(void * jarg1) {
+  char * jresult ;
+  switch_cache_db_core_db_options_t *arg1 = (switch_cache_db_core_db_options_t *) 0 ;
+  char *result = 0 ;
+  
+  arg1 = (switch_cache_db_core_db_options_t *)jarg1; 
+  result = (char *) ((arg1)-&gt;db_path);
+  jresult = SWIG_csharp_string_callback((const char *)result); 
+  return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_core_db_options_t() {
+  void * jresult ;
+  switch_cache_db_core_db_options_t *result = 0 ;
+  
+  result = (switch_cache_db_core_db_options_t *)new switch_cache_db_core_db_options_t();
+  jresult = (void *)result; 
+  return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_core_db_options_t(void * jarg1) {
+  switch_cache_db_core_db_options_t *arg1 = (switch_cache_db_core_db_options_t *) 0 ;
+  
+  arg1 = (switch_cache_db_core_db_options_t *)jarg1; 
+  delete arg1;
+  
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_dsn_set(void * jarg1, char * jarg2) {
+  switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ;
+  char *arg2 = (char *) 0 ;
+  
+  arg1 = (switch_cache_db_odbc_options_t *)jarg1; 
+  arg2 = (char *)jarg2; 
+  {
+    if (arg1-&gt;dsn) delete [] arg1-&gt;dsn;
+    if (arg2) {
+      arg1-&gt;dsn = (char *) (new char[strlen((const char *)arg2)+1]);
+      strcpy((char *)arg1-&gt;dsn, (const char *)arg2);
+    } else {
+      arg1-&gt;dsn = 0;
+    }
+  }
+}
+
+
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_dsn_get(void * jarg1) {
+  char * jresult ;
+  switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ;
+  char *result = 0 ;
+  
+  arg1 = (switch_cache_db_odbc_options_t *)jarg1; 
+  result = (char *) ((arg1)-&gt;dsn);
+  jresult = SWIG_csharp_string_callback((const char *)result); 
+  return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_user_set(void * jarg1, char * jarg2) {
+  switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ;
+  char *arg2 = (char *) 0 ;
+  
+  arg1 = (switch_cache_db_odbc_options_t *)jarg1; 
+  arg2 = (char *)jarg2; 
+  {
+    if (arg1-&gt;user) delete [] arg1-&gt;user;
+    if (arg2) {
+      arg1-&gt;user = (char *) (new char[strlen((const char *)arg2)+1]);
+      strcpy((char *)arg1-&gt;user, (const char *)arg2);
+    } else {
+      arg1-&gt;user = 0;
+    }
+  }
+}
+
+
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_user_get(void * jarg1) {
+  char * jresult ;
+  switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ;
+  char *result = 0 ;
+  
+  arg1 = (switch_cache_db_odbc_options_t *)jarg1; 
+  result = (char *) ((arg1)-&gt;user);
+  jresult = SWIG_csharp_string_callback((const char *)result); 
+  return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_pass_set(void * jarg1, char * jarg2) {
+  switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ;
+  char *arg2 = (char *) 0 ;
+  
+  arg1 = (switch_cache_db_odbc_options_t *)jarg1; 
+  arg2 = (char *)jarg2; 
+  {
+    if (arg1-&gt;pass) delete [] arg1-&gt;pass;
+    if (arg2) {
+      arg1-&gt;pass = (char *) (new char[strlen((const char *)arg2)+1]);
+      strcpy((char *)arg1-&gt;pass, (const char *)arg2);
+    } else {
+      arg1-&gt;pass = 0;
+    }
+  }
+}
+
+
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_pass_get(void * jarg1) {
+  char * jresult ;
+  switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ;
+  char *result = 0 ;
+  
+  arg1 = (switch_cache_db_odbc_options_t *)jarg1; 
+  result = (char *) ((arg1)-&gt;pass);
+  jresult = SWIG_csharp_string_callback((const char *)result); 
+  return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_odbc_options_t() {
+  void * jresult ;
+  switch_cache_db_odbc_options_t *result = 0 ;
+  
+  result = (switch_cache_db_odbc_options_t *)new switch_cache_db_odbc_options_t();
+  jresult = (void *)result; 
+  return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_odbc_options_t(void * jarg1) {
+  switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ;
+  
+  arg1 = (switch_cache_db_odbc_options_t *)jarg1; 
+  delete arg1;
+  
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_core_db_options_set(void * jarg1, void * jarg2) {
+  switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ;
+  switch_cache_db_core_db_options_t *arg2 = (switch_cache_db_core_db_options_t *) 0 ;
+  
+  arg1 = (switch_cache_db_connection_options_t *)jarg1; 
+  arg2 = (switch_cache_db_core_db_options_t *)jarg2; 
+  if (arg1) (arg1)-&gt;core_db_options = *arg2;
+  
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_core_db_options_get(void * jarg1) {
+  void * jresult ;
+  switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ;
+  switch_cache_db_core_db_options_t *result = 0 ;
+  
+  arg1 = (switch_cache_db_connection_options_t *)jarg1; 
+  result = (switch_cache_db_core_db_options_t *)&amp; ((arg1)-&gt;core_db_options);
+  jresult = (void *)result; 
+  return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_odbc_options_set(void * jarg1, void * jarg2) {
+  switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ;
+  switch_cache_db_odbc_options_t *arg2 = (switch_cache_db_odbc_options_t *) 0 ;
+  
+  arg1 = (switch_cache_db_connection_options_t *)jarg1; 
+  arg2 = (switch_cache_db_odbc_options_t *)jarg2; 
+  if (arg1) (arg1)-&gt;odbc_options = *arg2;
+  
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_odbc_options_get(void * jarg1) {
+  void * jresult ;
+  switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ;
+  switch_cache_db_odbc_options_t *result = 0 ;
+  
+  arg1 = (switch_cache_db_connection_options_t *)jarg1; 
+  result = (switch_cache_db_odbc_options_t *)&amp; ((arg1)-&gt;odbc_options);
+  jresult = (void *)result; 
+  return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_connection_options_t() {
+  void * jresult ;
+  switch_cache_db_connection_options_t *result = 0 ;
+  
+  result = (switch_cache_db_connection_options_t *)new switch_cache_db_connection_options_t();
+  jresult = (void *)result; 
+  return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_connection_options_t(void * jarg1) {
+  switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ;
+  
+  arg1 = (switch_cache_db_connection_options_t *)jarg1; 
+  delete arg1;
+  
+}
+
+
</ins><span class="cx"> SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_handle_t_name_set(void * jarg1, char * jarg2) {
</span><span class="cx">   switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
</span><span class="cx">   char *arg2 ;
</span><span class="lines">@@ -8764,47 +9064,47 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_handle_t_db_set(void * jarg1, void * jarg2) {
</del><ins>+SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_handle_t_type_set(void * jarg1, int jarg2) {
</ins><span class="cx">   switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
</span><del>-  switch_core_db_t *arg2 = (switch_core_db_t *) 0 ;
</del><ins>+  switch_cache_db_handle_type_t arg2 ;
</ins><span class="cx">   
</span><span class="cx">   arg1 = (switch_cache_db_handle_t *)jarg1; 
</span><del>-  arg2 = (switch_core_db_t *)jarg2; 
-  if (arg1) (arg1)-&gt;db = arg2;
</del><ins>+  arg2 = (switch_cache_db_handle_type_t)jarg2; 
+  if (arg1) (arg1)-&gt;type = arg2;
</ins><span class="cx">   
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_handle_t_db_get(void * jarg1) {
-  void * jresult ;
</del><ins>+SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_handle_t_type_get(void * jarg1) {
+  int jresult ;
</ins><span class="cx">   switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
</span><del>-  switch_core_db_t *result = 0 ;
</del><ins>+  switch_cache_db_handle_type_t result;
</ins><span class="cx">   
</span><span class="cx">   arg1 = (switch_cache_db_handle_t *)jarg1; 
</span><del>-  result = (switch_core_db_t *) ((arg1)-&gt;db);
-  jresult = (void *)result; 
</del><ins>+  result = (switch_cache_db_handle_type_t) ((arg1)-&gt;type);
+  jresult = result; 
</ins><span class="cx">   return jresult;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_handle_t_odbc_dbh_set(void * jarg1, void * jarg2) {
</del><ins>+SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_handle_t_native_handle_set(void * jarg1, void * jarg2) {
</ins><span class="cx">   switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
</span><del>-  switch_odbc_handle_t *arg2 = (switch_odbc_handle_t *) 0 ;
</del><ins>+  switch_cache_db_native_handle_t *arg2 = (switch_cache_db_native_handle_t *) 0 ;
</ins><span class="cx">   
</span><span class="cx">   arg1 = (switch_cache_db_handle_t *)jarg1; 
</span><del>-  arg2 = (switch_odbc_handle_t *)jarg2; 
-  if (arg1) (arg1)-&gt;odbc_dbh = arg2;
</del><ins>+  arg2 = (switch_cache_db_native_handle_t *)jarg2; 
+  if (arg1) (arg1)-&gt;native_handle = *arg2;
</ins><span class="cx">   
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_handle_t_odbc_dbh_get(void * jarg1) {
</del><ins>+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_handle_t_native_handle_get(void * jarg1) {
</ins><span class="cx">   void * jresult ;
</span><span class="cx">   switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
</span><del>-  switch_odbc_handle_t *result = 0 ;
</del><ins>+  switch_cache_db_native_handle_t *result = 0 ;
</ins><span class="cx">   
</span><span class="cx">   arg1 = (switch_cache_db_handle_t *)jarg1; 
</span><del>-  result = (switch_odbc_handle_t *) ((arg1)-&gt;odbc_dbh);
</del><ins>+  result = (switch_cache_db_native_handle_t *)&amp; ((arg1)-&gt;native_handle);
</ins><span class="cx">   jresult = (void *)result; 
</span><span class="cx">   return jresult;
</span><span class="cx"> }
</span><span class="lines">@@ -8927,6 +9227,18 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><ins>+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_type_name(int jarg1) {
+  char * jresult ;
+  switch_cache_db_handle_type_t arg1 ;
+  char *result = 0 ;
+  
+  arg1 = (switch_cache_db_handle_type_t)jarg1; 
+  result = (char *)switch_cache_db_type_name(arg1);
+  jresult = SWIG_csharp_string_callback((const char *)result); 
+  return jresult;
+}
+
+
</ins><span class="cx"> SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_release_db_handle(void * jarg1) {
</span><span class="cx">   switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ;
</span><span class="cx">   
</span><span class="lines">@@ -8943,24 +9255,48 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_get_db_handle(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
</del><ins>+SWIGEXPORT int SWIGSTDCALL CSharp__switch_cache_db_get_db_handle(void * jarg1, int jarg2, void * jarg3, char * jarg4, char * jarg5, int jarg6) {
</ins><span class="cx">   int jresult ;
</span><span class="cx">   switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ;
</span><del>-  char *arg2 = (char *) 0 ;
-  char *arg3 = (char *) 0 ;
</del><ins>+  switch_cache_db_handle_type_t arg2 ;
+  switch_cache_db_connection_options_t *arg3 = (switch_cache_db_connection_options_t *) 0 ;
</ins><span class="cx">   char *arg4 = (char *) 0 ;
</span><ins>+  char *arg5 = (char *) 0 ;
+  int arg6 ;
</ins><span class="cx">   switch_status_t result;
</span><span class="cx">   
</span><span class="cx">   arg1 = (switch_cache_db_handle_t **)jarg1; 
</span><del>-  arg2 = (char *)jarg2; 
-  arg3 = (char *)jarg3; 
</del><ins>+  arg2 = (switch_cache_db_handle_type_t)jarg2; 
+  arg3 = (switch_cache_db_connection_options_t *)jarg3; 
</ins><span class="cx">   arg4 = (char *)jarg4; 
</span><del>-  result = (switch_status_t)switch_cache_db_get_db_handle(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
</del><ins>+  arg5 = (char *)jarg5; 
+  arg6 = (int)jarg6; 
+  result = (switch_status_t)_switch_cache_db_get_db_handle(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6);
</ins><span class="cx">   jresult = result; 
</span><span class="cx">   return jresult;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><ins>+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_execute_sql2str(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4, void * jarg5) {
+  char * jresult ;
+  switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
+  char *arg2 = (char *) 0 ;
+  char *arg3 = (char *) 0 ;
+  size_t arg4 ;
+  char **arg5 = (char **) 0 ;
+  char *result = 0 ;
+  
+  arg1 = (switch_cache_db_handle_t *)jarg1; 
+  arg2 = (char *)jarg2; 
+  arg3 = (char *)jarg3; 
+  arg4 = (size_t)jarg4; 
+  arg5 = (char **)jarg5; 
+  result = (char *)switch_cache_db_execute_sql2str(arg1,arg2,arg3,arg4,arg5);
+  jresult = SWIG_csharp_string_callback((const char *)result); 
+  return jresult;
+}
+
+
</ins><span class="cx"> SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql(void * jarg1, char * jarg2, void * jarg3) {
</span><span class="cx">   int jresult ;
</span><span class="cx">   switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
</span><span class="lines">@@ -8971,7 +9307,7 @@
</span><span class="cx">   arg1 = (switch_cache_db_handle_t *)jarg1; 
</span><span class="cx">   arg2 = (char *)jarg2; 
</span><span class="cx">   arg3 = (char **)jarg3; 
</span><del>-  result = (switch_status_t)switch_cache_db_execute_sql(arg1,(char const *)arg2,arg3);
</del><ins>+  result = (switch_status_t)switch_cache_db_execute_sql(arg1,arg2,arg3);
</ins><span class="cx">   jresult = result; 
</span><span class="cx">   return jresult;
</span><span class="cx"> }
</span><span class="lines">@@ -8997,13 +9333,19 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_handle(void * jarg1) {
</del><ins>+SWIGEXPORT int SWIGSTDCALL CSharp__switch_core_db_handle(void * jarg1, char * jarg2, char * jarg3, int jarg4) {
</ins><span class="cx">   int jresult ;
</span><span class="cx">   switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ;
</span><ins>+  char *arg2 = (char *) 0 ;
+  char *arg3 = (char *) 0 ;
+  int arg4 ;
</ins><span class="cx">   switch_status_t result;
</span><span class="cx">   
</span><span class="cx">   arg1 = (switch_cache_db_handle_t **)jarg1; 
</span><del>-  result = (switch_status_t)switch_core_db_handle(arg1);
</del><ins>+  arg2 = (char *)jarg2; 
+  arg3 = (char *)jarg3; 
+  arg4 = (int)jarg4; 
+  result = (switch_status_t)_switch_core_db_handle(arg1,(char const *)arg2,(char const *)arg3,arg4);
</ins><span class="cx">   jresult = result; 
</span><span class="cx">   return jresult;
</span><span class="cx"> }
</span><span class="lines">@@ -9049,7 +9391,7 @@
</span><span class="cx">   arg1 = (switch_cache_db_handle_t *)jarg1; 
</span><span class="cx">   arg2 = (char *)jarg2; 
</span><span class="cx">   arg3 = (uint32_t)jarg3; 
</span><del>-  result = (switch_status_t)switch_cache_db_persistant_execute_trans(arg1,(char const *)arg2,arg3);
</del><ins>+  result = (switch_status_t)switch_cache_db_persistant_execute_trans(arg1,arg2,arg3);
</ins><span class="cx">   jresult = result; 
</span><span class="cx">   return jresult;
</span><span class="cx"> }
</span><span class="lines">@@ -9060,6 +9402,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><ins>+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_debug_level() {
+  unsigned long jresult ;
+  uint32_t result;
+  
+  result = (uint32_t)switch_core_debug_level();
+  jresult = (unsigned long)result; 
+  return jresult;
+}
+
+
</ins><span class="cx"> SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CMD_CHUNK_LEN_get() {
</span><span class="cx">   int jresult ;
</span><span class="cx">   int result;
</span></span></pre></div>
<a id="freeswitchtrunksrcmodlanguagesmod_managedmanagedswigcs"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs (15600 => 15601)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs        2009-11-21 18:57:15 UTC (rev 15600)
+++ freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs        2009-11-21 19:36:39 UTC (rev 15601)
</span><span class="lines">@@ -968,6 +968,11 @@
</span><span class="cx">     return ret;
</span><span class="cx">   }
</span><span class="cx"> 
</span><ins>+  public static uint switch_core_media_bug_prune(SWIGTYPE_p_switch_core_session session) {
+    uint ret = freeswitchPINVOKE.switch_core_media_bug_prune(SWIGTYPE_p_switch_core_session.getCPtr(session));
+    return ret;
+  }
+
</ins><span class="cx">   public static switch_status_t switch_core_media_bug_remove_callback(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t callback) {
</span><span class="cx">     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_remove_callback(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t.getCPtr(callback));
</span><span class="cx">     return ret;
</span><span class="lines">@@ -2104,6 +2109,11 @@
</span><span class="cx">     return ret;
</span><span class="cx">   }
</span><span class="cx"> 
</span><ins>+  public static string switch_cache_db_type_name(switch_cache_db_handle_type_t type) {
+    string ret = freeswitchPINVOKE.switch_cache_db_type_name((int)type);
+    return ret;
+  }
+
</ins><span class="cx">   public static void switch_cache_db_release_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t dbh) {
</span><span class="cx">     freeswitchPINVOKE.switch_cache_db_release_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t.getCPtr(dbh));
</span><span class="cx">   }
</span><span class="lines">@@ -2112,11 +2122,16 @@
</span><span class="cx">     freeswitchPINVOKE.switch_cache_db_destroy_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t.getCPtr(dbh));
</span><span class="cx">   }
</span><span class="cx"> 
</span><del>-  public static switch_status_t switch_cache_db_get_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t dbh, string db_name, string odbc_user, string odbc_pass) {
-    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_get_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t.getCPtr(dbh), db_name, odbc_user, odbc_pass);
</del><ins>+  public static switch_status_t _switch_cache_db_get_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t dbh, switch_cache_db_handle_type_t type, switch_cache_db_connection_options_t connection_options, string file, string func, int line) {
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE._switch_cache_db_get_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t.getCPtr(dbh), (int)type, switch_cache_db_connection_options_t.getCPtr(connection_options), file, func, line);
</ins><span class="cx">     return ret;
</span><span class="cx">   }
</span><span class="cx"> 
</span><ins>+  public static string switch_cache_db_execute_sql2str(switch_cache_db_handle_t dbh, string sql, string str, uint len, ref string err) {
+    string ret = freeswitchPINVOKE.switch_cache_db_execute_sql2str(switch_cache_db_handle_t.getCPtr(dbh), sql, str, len, ref err);
+    return ret;
+  }
+
</ins><span class="cx">   public static switch_status_t switch_cache_db_execute_sql(switch_cache_db_handle_t dbh, string sql, ref string err) {
</span><span class="cx">     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_execute_sql(switch_cache_db_handle_t.getCPtr(dbh), sql, ref err);
</span><span class="cx">     return ret;
</span><span class="lines">@@ -2127,8 +2142,8 @@
</span><span class="cx">     return ret;
</span><span class="cx">   }
</span><span class="cx"> 
</span><del>-  public static switch_status_t switch_core_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t dbh) {
-    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t.getCPtr(dbh));
</del><ins>+  public static switch_status_t _switch_core_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t dbh, string file, string func, int line) {
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE._switch_core_db_handle(SWIGTYPE_p_p_switch_cache_db_handle_t.getCPtr(dbh), file, func, line);
</ins><span class="cx">     return ret;
</span><span class="cx">   }
</span><span class="cx"> 
</span><span class="lines">@@ -2150,6 +2165,11 @@
</span><span class="cx">     freeswitchPINVOKE.switch_cache_db_detach();
</span><span class="cx">   }
</span><span class="cx"> 
</span><ins>+  public static uint switch_core_debug_level() {
+    uint ret = freeswitchPINVOKE.switch_core_debug_level();
+    return ret;
+  }
+
</ins><span class="cx">   public static void switch_console_loop() {
</span><span class="cx">     freeswitchPINVOKE.switch_console_loop();
</span><span class="cx">   }
</span><span class="lines">@@ -6158,6 +6178,9 @@
</span><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_core_media_bug_remove&quot;)]
</span><span class="cx">   public static extern int switch_core_media_bug_remove(HandleRef jarg1, HandleRef jarg2);
</span><span class="cx"> 
</span><ins>+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_core_media_bug_prune&quot;)]
+  public static extern uint switch_core_media_bug_prune(HandleRef jarg1);
+
</ins><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_core_media_bug_remove_callback&quot;)]
</span><span class="cx">   public static extern int switch_core_media_bug_remove_callback(HandleRef jarg1, HandleRef jarg2);
</span><span class="cx"> 
</span><span class="lines">@@ -6851,23 +6874,95 @@
</span><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_CACHE_DB_LEN_get&quot;)]
</span><span class="cx">   public static extern int CACHE_DB_LEN_get();
</span><span class="cx"> 
</span><ins>+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_native_handle_t_core_db_dbh_set&quot;)]
+  public static extern void switch_cache_db_native_handle_t_core_db_dbh_set(HandleRef jarg1, HandleRef jarg2);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_native_handle_t_core_db_dbh_get&quot;)]
+  public static extern IntPtr switch_cache_db_native_handle_t_core_db_dbh_get(HandleRef jarg1);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_native_handle_t_odbc_dbh_set&quot;)]
+  public static extern void switch_cache_db_native_handle_t_odbc_dbh_set(HandleRef jarg1, HandleRef jarg2);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_native_handle_t_odbc_dbh_get&quot;)]
+  public static extern IntPtr switch_cache_db_native_handle_t_odbc_dbh_get(HandleRef jarg1);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_new_switch_cache_db_native_handle_t&quot;)]
+  public static extern IntPtr new_switch_cache_db_native_handle_t();
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_delete_switch_cache_db_native_handle_t&quot;)]
+  public static extern void delete_switch_cache_db_native_handle_t(HandleRef jarg1);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_core_db_options_t_db_path_set&quot;)]
+  public static extern void switch_cache_db_core_db_options_t_db_path_set(HandleRef jarg1, string jarg2);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_core_db_options_t_db_path_get&quot;)]
+  public static extern string switch_cache_db_core_db_options_t_db_path_get(HandleRef jarg1);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_new_switch_cache_db_core_db_options_t&quot;)]
+  public static extern IntPtr new_switch_cache_db_core_db_options_t();
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_delete_switch_cache_db_core_db_options_t&quot;)]
+  public static extern void delete_switch_cache_db_core_db_options_t(HandleRef jarg1);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_odbc_options_t_dsn_set&quot;)]
+  public static extern void switch_cache_db_odbc_options_t_dsn_set(HandleRef jarg1, string jarg2);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_odbc_options_t_dsn_get&quot;)]
+  public static extern string switch_cache_db_odbc_options_t_dsn_get(HandleRef jarg1);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_odbc_options_t_user_set&quot;)]
+  public static extern void switch_cache_db_odbc_options_t_user_set(HandleRef jarg1, string jarg2);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_odbc_options_t_user_get&quot;)]
+  public static extern string switch_cache_db_odbc_options_t_user_get(HandleRef jarg1);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_odbc_options_t_pass_set&quot;)]
+  public static extern void switch_cache_db_odbc_options_t_pass_set(HandleRef jarg1, string jarg2);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_odbc_options_t_pass_get&quot;)]
+  public static extern string switch_cache_db_odbc_options_t_pass_get(HandleRef jarg1);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_new_switch_cache_db_odbc_options_t&quot;)]
+  public static extern IntPtr new_switch_cache_db_odbc_options_t();
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_delete_switch_cache_db_odbc_options_t&quot;)]
+  public static extern void delete_switch_cache_db_odbc_options_t(HandleRef jarg1);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_connection_options_t_core_db_options_set&quot;)]
+  public static extern void switch_cache_db_connection_options_t_core_db_options_set(HandleRef jarg1, HandleRef jarg2);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_connection_options_t_core_db_options_get&quot;)]
+  public static extern IntPtr switch_cache_db_connection_options_t_core_db_options_get(HandleRef jarg1);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_connection_options_t_odbc_options_set&quot;)]
+  public static extern void switch_cache_db_connection_options_t_odbc_options_set(HandleRef jarg1, HandleRef jarg2);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_connection_options_t_odbc_options_get&quot;)]
+  public static extern IntPtr switch_cache_db_connection_options_t_odbc_options_get(HandleRef jarg1);
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_new_switch_cache_db_connection_options_t&quot;)]
+  public static extern IntPtr new_switch_cache_db_connection_options_t();
+
+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_delete_switch_cache_db_connection_options_t&quot;)]
+  public static extern void delete_switch_cache_db_connection_options_t(HandleRef jarg1);
+
</ins><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_handle_t_name_set&quot;)]
</span><span class="cx">   public static extern void switch_cache_db_handle_t_name_set(HandleRef jarg1, string jarg2);
</span><span class="cx"> 
</span><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_handle_t_name_get&quot;)]
</span><span class="cx">   public static extern string switch_cache_db_handle_t_name_get(HandleRef jarg1);
</span><span class="cx"> 
</span><del>-  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_handle_t_db_set&quot;)]
-  public static extern void switch_cache_db_handle_t_db_set(HandleRef jarg1, HandleRef jarg2);
</del><ins>+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_handle_t_type_set&quot;)]
+  public static extern void switch_cache_db_handle_t_type_set(HandleRef jarg1, int jarg2);
</ins><span class="cx"> 
</span><del>-  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_handle_t_db_get&quot;)]
-  public static extern IntPtr switch_cache_db_handle_t_db_get(HandleRef jarg1);
</del><ins>+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_handle_t_type_get&quot;)]
+  public static extern int switch_cache_db_handle_t_type_get(HandleRef jarg1);
</ins><span class="cx"> 
</span><del>-  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_handle_t_odbc_dbh_set&quot;)]
-  public static extern void switch_cache_db_handle_t_odbc_dbh_set(HandleRef jarg1, HandleRef jarg2);
</del><ins>+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_handle_t_native_handle_set&quot;)]
+  public static extern void switch_cache_db_handle_t_native_handle_set(HandleRef jarg1, HandleRef jarg2);
</ins><span class="cx"> 
</span><del>-  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_handle_t_odbc_dbh_get&quot;)]
-  public static extern IntPtr switch_cache_db_handle_t_odbc_dbh_get(HandleRef jarg1);
</del><ins>+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_handle_t_native_handle_get&quot;)]
+  public static extern IntPtr switch_cache_db_handle_t_native_handle_get(HandleRef jarg1);
</ins><span class="cx"> 
</span><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_handle_t_last_used_set&quot;)]
</span><span class="cx">   public static extern void switch_cache_db_handle_t_last_used_set(HandleRef jarg1, HandleRef jarg2);
</span><span class="lines">@@ -6899,23 +6994,29 @@
</span><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_delete_switch_cache_db_handle_t&quot;)]
</span><span class="cx">   public static extern void delete_switch_cache_db_handle_t(HandleRef jarg1);
</span><span class="cx"> 
</span><ins>+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_type_name&quot;)]
+  public static extern string switch_cache_db_type_name(int jarg1);
+
</ins><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_release_db_handle&quot;)]
</span><span class="cx">   public static extern void switch_cache_db_release_db_handle(HandleRef jarg1);
</span><span class="cx"> 
</span><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_destroy_db_handle&quot;)]
</span><span class="cx">   public static extern void switch_cache_db_destroy_db_handle(HandleRef jarg1);
</span><span class="cx"> 
</span><del>-  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_get_db_handle&quot;)]
-  public static extern int switch_cache_db_get_db_handle(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
</del><ins>+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp__switch_cache_db_get_db_handle&quot;)]
+  public static extern int _switch_cache_db_get_db_handle(HandleRef jarg1, int jarg2, HandleRef jarg3, string jarg4, string jarg5, int jarg6);
</ins><span class="cx"> 
</span><ins>+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_execute_sql2str&quot;)]
+  public static extern string switch_cache_db_execute_sql2str(HandleRef jarg1, string jarg2, string jarg3, uint jarg4, ref string jarg5);
+
</ins><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_execute_sql&quot;)]
</span><span class="cx">   public static extern int switch_cache_db_execute_sql(HandleRef jarg1, string jarg2, ref string jarg3);
</span><span class="cx"> 
</span><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_execute_sql_callback&quot;)]
</span><span class="cx">   public static extern int switch_cache_db_execute_sql_callback(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, ref string jarg5);
</span><span class="cx"> 
</span><del>-  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_core_db_handle&quot;)]
-  public static extern int switch_core_db_handle(HandleRef jarg1);
</del><ins>+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp__switch_core_db_handle&quot;)]
+  public static extern int _switch_core_db_handle(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
</ins><span class="cx"> 
</span><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_test_reactive&quot;)]
</span><span class="cx">   public static extern void switch_cache_db_test_reactive(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
</span><span class="lines">@@ -6929,6 +7030,9 @@
</span><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_cache_db_detach&quot;)]
</span><span class="cx">   public static extern void switch_cache_db_detach();
</span><span class="cx"> 
</span><ins>+  [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_switch_core_debug_level&quot;)]
+  public static extern uint switch_core_debug_level();
+
</ins><span class="cx">   [DllImport(&quot;mod_managed&quot;, EntryPoint=&quot;CSharp_SWITCH_CMD_CHUNK_LEN_get&quot;)]
</span><span class="cx">   public static extern int SWITCH_CMD_CHUNK_LEN_get();
</span><span class="cx"> 
</span><span class="lines">@@ -17763,6 +17867,132 @@
</span><span class="cx"> using System;
</span><span class="cx"> using System.Runtime.InteropServices;
</span><span class="cx"> 
</span><ins>+public class switch_cache_db_connection_options_t : IDisposable {
+  private HandleRef swigCPtr;
+  protected bool swigCMemOwn;
+
+  internal switch_cache_db_connection_options_t(IntPtr cPtr, bool cMemoryOwn) {
+    swigCMemOwn = cMemoryOwn;
+    swigCPtr = new HandleRef(this, cPtr);
+  }
+
+  internal static HandleRef getCPtr(switch_cache_db_connection_options_t obj) {
+    return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~switch_cache_db_connection_options_t() {
+    Dispose();
+  }
+
+  public virtual void Dispose() {
+    lock(this) {
+      if(swigCPtr.Handle != IntPtr.Zero &amp;&amp; swigCMemOwn) {
+        swigCMemOwn = false;
+        freeswitchPINVOKE.delete_switch_cache_db_connection_options_t(swigCPtr);
+      }
+      swigCPtr = new HandleRef(null, IntPtr.Zero);
+      GC.SuppressFinalize(this);
+    }
+  }
+
+  public switch_cache_db_core_db_options_t core_db_options {
+    set {
+      freeswitchPINVOKE.switch_cache_db_connection_options_t_core_db_options_set(swigCPtr, switch_cache_db_core_db_options_t.getCPtr(value));
+    } 
+    get {
+      IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_connection_options_t_core_db_options_get(swigCPtr);
+      switch_cache_db_core_db_options_t ret = (cPtr == IntPtr.Zero) ? null : new switch_cache_db_core_db_options_t(cPtr, false);
+      return ret;
+    } 
+  }
+
+  public switch_cache_db_odbc_options_t odbc_options {
+    set {
+      freeswitchPINVOKE.switch_cache_db_connection_options_t_odbc_options_set(swigCPtr, switch_cache_db_odbc_options_t.getCPtr(value));
+    } 
+    get {
+      IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_connection_options_t_odbc_options_get(swigCPtr);
+      switch_cache_db_odbc_options_t ret = (cPtr == IntPtr.Zero) ? null : new switch_cache_db_odbc_options_t(cPtr, false);
+      return ret;
+    } 
+  }
+
+  public switch_cache_db_connection_options_t() : this(freeswitchPINVOKE.new_switch_cache_db_connection_options_t(), 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_cache_db_core_db_options_t : IDisposable {
+  private HandleRef swigCPtr;
+  protected bool swigCMemOwn;
+
+  internal switch_cache_db_core_db_options_t(IntPtr cPtr, bool cMemoryOwn) {
+    swigCMemOwn = cMemoryOwn;
+    swigCPtr = new HandleRef(this, cPtr);
+  }
+
+  internal static HandleRef getCPtr(switch_cache_db_core_db_options_t obj) {
+    return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~switch_cache_db_core_db_options_t() {
+    Dispose();
+  }
+
+  public virtual void Dispose() {
+    lock(this) {
+      if(swigCPtr.Handle != IntPtr.Zero &amp;&amp; swigCMemOwn) {
+        swigCMemOwn = false;
+        freeswitchPINVOKE.delete_switch_cache_db_core_db_options_t(swigCPtr);
+      }
+      swigCPtr = new HandleRef(null, IntPtr.Zero);
+      GC.SuppressFinalize(this);
+    }
+  }
+
+  public string db_path {
+    set {
+      freeswitchPINVOKE.switch_cache_db_core_db_options_t_db_path_set(swigCPtr, value);
+    } 
+    get {
+      string ret = freeswitchPINVOKE.switch_cache_db_core_db_options_t_db_path_get(swigCPtr);
+      return ret;
+    } 
+  }
+
+  public switch_cache_db_core_db_options_t() : this(freeswitchPINVOKE.new_switch_cache_db_core_db_options_t(), 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;
+
</ins><span class="cx"> public class switch_cache_db_handle_t : IDisposable {
</span><span class="cx">   private HandleRef swigCPtr;
</span><span class="cx">   protected bool swigCMemOwn;
</span><span class="lines">@@ -17801,24 +18031,23 @@
</span><span class="cx">     } 
</span><span class="cx">   }
</span><span class="cx"> 
</span><del>-  public SWIGTYPE_p_sqlite3 db {
</del><ins>+  public switch_cache_db_handle_type_t type {
</ins><span class="cx">     set {
</span><del>-      freeswitchPINVOKE.switch_cache_db_handle_t_db_set(swigCPtr, SWIGTYPE_p_sqlite3.getCPtr(value));
</del><ins>+      freeswitchPINVOKE.switch_cache_db_handle_t_type_set(swigCPtr, (int)value);
</ins><span class="cx">     } 
</span><span class="cx">     get {
</span><del>-      IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_handle_t_db_get(swigCPtr);
-      SWIGTYPE_p_sqlite3 ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_sqlite3(cPtr, false);
</del><ins>+      switch_cache_db_handle_type_t ret = (switch_cache_db_handle_type_t)freeswitchPINVOKE.switch_cache_db_handle_t_type_get(swigCPtr);
</ins><span class="cx">       return ret;
</span><span class="cx">     } 
</span><span class="cx">   }
</span><span class="cx"> 
</span><del>-  public SWIGTYPE_p_switch_odbc_handle odbc_dbh {
</del><ins>+  public switch_cache_db_native_handle_t native_handle {
</ins><span class="cx">     set {
</span><del>-      freeswitchPINVOKE.switch_cache_db_handle_t_odbc_dbh_set(swigCPtr, SWIGTYPE_p_switch_odbc_handle.getCPtr(value));
</del><ins>+      freeswitchPINVOKE.switch_cache_db_handle_t_native_handle_set(swigCPtr, switch_cache_db_native_handle_t.getCPtr(value));
</ins><span class="cx">     } 
</span><span class="cx">     get {
</span><del>-      IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_handle_t_odbc_dbh_get(swigCPtr);
-      SWIGTYPE_p_switch_odbc_handle ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_odbc_handle(cPtr, false);
</del><ins>+      IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_handle_t_native_handle_get(swigCPtr);
+      switch_cache_db_native_handle_t ret = (cPtr == IntPtr.Zero) ? null : new switch_cache_db_native_handle_t(cPtr, false);
</ins><span class="cx">       return ret;
</span><span class="cx">     } 
</span><span class="cx">   }
</span><span class="lines">@@ -17883,6 +18112,168 @@
</span><span class="cx"> 
</span><span class="cx"> namespace FreeSWITCH.Native {
</span><span class="cx"> 
</span><ins>+public enum switch_cache_db_handle_type_t {
+  SCDB_TYPE_CORE_DB,
+  SCDB_TYPE_ODBC
+}
+
+}
+/* ----------------------------------------------------------------------------
+ * 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_cache_db_native_handle_t : IDisposable {
+  private HandleRef swigCPtr;
+  protected bool swigCMemOwn;
+
+  internal switch_cache_db_native_handle_t(IntPtr cPtr, bool cMemoryOwn) {
+    swigCMemOwn = cMemoryOwn;
+    swigCPtr = new HandleRef(this, cPtr);
+  }
+
+  internal static HandleRef getCPtr(switch_cache_db_native_handle_t obj) {
+    return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~switch_cache_db_native_handle_t() {
+    Dispose();
+  }
+
+  public virtual void Dispose() {
+    lock(this) {
+      if(swigCPtr.Handle != IntPtr.Zero &amp;&amp; swigCMemOwn) {
+        swigCMemOwn = false;
+        freeswitchPINVOKE.delete_switch_cache_db_native_handle_t(swigCPtr);
+      }
+      swigCPtr = new HandleRef(null, IntPtr.Zero);
+      GC.SuppressFinalize(this);
+    }
+  }
+
+  public SWIGTYPE_p_sqlite3 core_db_dbh {
+    set {
+      freeswitchPINVOKE.switch_cache_db_native_handle_t_core_db_dbh_set(swigCPtr, SWIGTYPE_p_sqlite3.getCPtr(value));
+    } 
+    get {
+      IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_native_handle_t_core_db_dbh_get(swigCPtr);
+      SWIGTYPE_p_sqlite3 ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_sqlite3(cPtr, false);
+      return ret;
+    } 
+  }
+
+  public SWIGTYPE_p_switch_odbc_handle odbc_dbh {
+    set {
+      freeswitchPINVOKE.switch_cache_db_native_handle_t_odbc_dbh_set(swigCPtr, SWIGTYPE_p_switch_odbc_handle.getCPtr(value));
+    } 
+    get {
+      IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_native_handle_t_odbc_dbh_get(swigCPtr);
+      SWIGTYPE_p_switch_odbc_handle ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_odbc_handle(cPtr, false);
+      return ret;
+    } 
+  }
+
+  public switch_cache_db_native_handle_t() : this(freeswitchPINVOKE.new_switch_cache_db_native_handle_t(), 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_cache_db_odbc_options_t : IDisposable {
+  private HandleRef swigCPtr;
+  protected bool swigCMemOwn;
+
+  internal switch_cache_db_odbc_options_t(IntPtr cPtr, bool cMemoryOwn) {
+    swigCMemOwn = cMemoryOwn;
+    swigCPtr = new HandleRef(this, cPtr);
+  }
+
+  internal static HandleRef getCPtr(switch_cache_db_odbc_options_t obj) {
+    return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~switch_cache_db_odbc_options_t() {
+    Dispose();
+  }
+
+  public virtual void Dispose() {
+    lock(this) {
+      if(swigCPtr.Handle != IntPtr.Zero &amp;&amp; swigCMemOwn) {
+        swigCMemOwn = false;
+        freeswitchPINVOKE.delete_switch_cache_db_odbc_options_t(swigCPtr);
+      }
+      swigCPtr = new HandleRef(null, IntPtr.Zero);
+      GC.SuppressFinalize(this);
+    }
+  }
+
+  public string dsn {
+    set {
+      freeswitchPINVOKE.switch_cache_db_odbc_options_t_dsn_set(swigCPtr, value);
+    } 
+    get {
+      string ret = freeswitchPINVOKE.switch_cache_db_odbc_options_t_dsn_get(swigCPtr);
+      return ret;
+    } 
+  }
+
+  public string user {
+    set {
+      freeswitchPINVOKE.switch_cache_db_odbc_options_t_user_set(swigCPtr, value);
+    } 
+    get {
+      string ret = freeswitchPINVOKE.switch_cache_db_odbc_options_t_user_get(swigCPtr);
+      return ret;
+    } 
+  }
+
+  public string pass {
+    set {
+      freeswitchPINVOKE.switch_cache_db_odbc_options_t_pass_set(swigCPtr, value);
+    } 
+    get {
+      string ret = freeswitchPINVOKE.switch_cache_db_odbc_options_t_pass_get(swigCPtr);
+      return ret;
+    } 
+  }
+
+  public switch_cache_db_odbc_options_t() : this(freeswitchPINVOKE.new_switch_cache_db_odbc_options_t(), 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 {
+
</ins><span class="cx"> public enum switch_call_cause_t {
</span><span class="cx">   SWITCH_CAUSE_NONE = 0,
</span><span class="cx">   SWITCH_CAUSE_UNALLOCATED_NUMBER = 1,
</span><span class="lines">@@ -24003,6 +24394,16 @@
</span><span class="cx"> namespace FreeSWITCH.Native {
</span><span class="cx"> 
</span><span class="cx"> public enum switch_log_level_t {
</span><ins>+  SWITCH_LOG_DEBUG10 = 110,
+  SWITCH_LOG_DEBUG9 = 109,
+  SWITCH_LOG_DEBUG8 = 108,
+  SWITCH_LOG_DEBUG7 = 107,
+  SWITCH_LOG_DEBUG6 = 106,
+  SWITCH_LOG_DEBUG5 = 105,
+  SWITCH_LOG_DEBUG4 = 104,
+  SWITCH_LOG_DEBUG3 = 103,
+  SWITCH_LOG_DEBUG2 = 102,
+  SWITCH_LOG_DEBUG1 = 101,
</ins><span class="cx">   SWITCH_LOG_DEBUG = 7,
</span><span class="cx">   SWITCH_LOG_INFO = 6,
</span><span class="cx">   SWITCH_LOG_NOTICE = 5,
</span><span class="lines">@@ -24312,7 +24713,8 @@
</span><span class="cx">   SMBF_READ_PING = (1 &lt;&lt; 4),
</span><span class="cx">   SMBF_STEREO = (1 &lt;&lt; 5),
</span><span class="cx">   SMBF_ANSWER_REQ = (1 &lt;&lt; 6),
</span><del>-  SMBF_THREAD_LOCK = (1 &lt;&lt; 7)
</del><ins>+  SMBF_THREAD_LOCK = (1 &lt;&lt; 7),
+  SMBF_PRUNE = (1 &lt;&lt; 8)
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span><span class="lines">@@ -25336,7 +25738,8 @@
</span><span class="cx">   SCSC_SHUTDOWN_ELEGANT,
</span><span class="cx">   SCSC_SHUTDOWN_ASAP,
</span><span class="cx">   SCSC_CANCEL_SHUTDOWN,
</span><del>-  SCSC_SEND_SIGHUP
</del><ins>+  SCSC_SEND_SIGHUP,
+  SCSC_DEBUG_LEVEL
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre>
</div>
</div>
<div id="footer">See you at ClueCon</div>

</body>
</html>