Revision
16391
Author
brian
Date
2010-01-18 13:35:09 -0600 (Mon, 18 Jan 2010)

Log Message

 swigall 

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx (16390 => 16391)


--- freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx	2010-01-18 19:29:39 UTC (rev 16390)
+++ freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx	2010-01-18 19:35:09 UTC (rev 16391)
@@ -6582,6 +6582,32 @@
 }
 
 
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_loglevel(void * jarg1, int jarg2) {
+  int jresult ;
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+  switch_log_level_t arg2 ;
+  switch_status_t result;
+  
+  arg1 = (switch_core_session_t *)jarg1; 
+  arg2 = (switch_log_level_t)jarg2; 
+  result = (switch_status_t)switch_core_session_set_loglevel(arg1,arg2);
+  jresult = result; 
+  return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_loglevel(void * jarg1) {
+  int jresult ;
+  switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+  switch_log_level_t result;
+  
+  arg1 = (switch_core_session_t *)jarg1; 
+  result = (switch_log_level_t)switch_core_session_get_loglevel(arg1);
+  jresult = result; 
+  return jresult;
+}
+
+
 SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_uuid() {
   char * jresult ;
   char *result = 0 ;
@@ -21771,6 +21797,18 @@
 }
 
 
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_session(void * jarg1) {
+  void * jresult ;
+  switch_channel_t *arg1 = (switch_channel_t *) 0 ;
+  switch_core_session_t *result = 0 ;
+  
+  arg1 = (switch_channel_t *)jarg1; 
+  result = (switch_core_session_t *)switch_channel_get_session(arg1);
+  jresult = (void *)result; 
+  return jresult;
+}
+
+
 SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_create(void * jarg1, void * jarg2, void * jarg3) {
   int jresult ;
   switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ;

Modified: freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs (16390 => 16391)


--- freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs	2010-01-18 19:29:39 UTC (rev 16390)
+++ freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs	2010-01-18 19:35:09 UTC (rev 16391)
@@ -1241,6 +1241,16 @@
     return ret;
   }
 
+  public static switch_status_t switch_core_session_set_loglevel(SWIGTYPE_p_switch_core_session session, switch_log_level_t loglevel) {
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_loglevel(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)loglevel);
+    return ret;
+  }
+
+  public static switch_log_level_t switch_core_session_get_loglevel(SWIGTYPE_p_switch_core_session session) {
+    switch_log_level_t ret = (switch_log_level_t)freeswitchPINVOKE.switch_core_session_get_loglevel(SWIGTYPE_p_switch_core_session.getCPtr(session));
+    return ret;
+  }
+
   public static string switch_core_get_uuid() {
     string ret = freeswitchPINVOKE.switch_core_get_uuid();
     return ret;
@@ -3105,6 +3115,12 @@
     return ret;
   }
 
+  public static SWIGTYPE_p_switch_core_session switch_channel_get_session(SWIGTYPE_p_switch_channel channel) {
+    IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_session(SWIGTYPE_p_switch_channel.getCPtr(channel));
+    SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false);
+    return ret;
+  }
+
   public static switch_status_t switch_buffer_create(SWIGTYPE_p_apr_pool_t pool, SWIGTYPE_p_p_switch_buffer buffer, SWIGTYPE_p_switch_size_t max_len) {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_buffer_create(SWIGTYPE_p_apr_pool_t.getCPtr(pool), SWIGTYPE_p_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_switch_size_t.getCPtr(max_len));
     if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
@@ -6509,6 +6525,12 @@
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_uuid")]
   public static extern string switch_core_session_get_uuid(HandleRef jarg1);
 
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_loglevel")]
+  public static extern int switch_core_session_set_loglevel(HandleRef jarg1, int jarg2);
+
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_loglevel")]
+  public static extern int switch_core_session_get_loglevel(HandleRef jarg1);
+
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_uuid")]
   public static extern string switch_core_get_uuid();
 
@@ -10151,6 +10173,9 @@
   [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_direction")]
   public static extern int switch_channel_direction(HandleRef jarg1);
 
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_session")]
+  public static extern IntPtr switch_channel_get_session(HandleRef jarg1);
+
   [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_create")]
   public static extern int switch_buffer_create(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
 
@@ -27389,7 +27414,8 @@
 public enum switch_text_channel_t {
   SWITCH_CHANNEL_ID_LOG,
   SWITCH_CHANNEL_ID_LOG_CLEAN,
-  SWITCH_CHANNEL_ID_EVENT
+  SWITCH_CHANNEL_ID_EVENT,
+  SWITCH_CHANNEL_ID_SESSION
 }
 
 }