]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
swigall
authorMichael Jerris <mike@jerris.com>
Tue, 21 Apr 2009 23:27:53 +0000 (23:27 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 21 Apr 2009 23:27:53 +0000 (23:27 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13112 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_managed/freeswitch_wrap.cxx
src/mod/languages/mod_managed/managed/swig.cs

index 5b13506363d6d37d3c30928c40ddaa665b7baed4..24cf41585b0c1e9e520916776e752587698ad724 100644 (file)
@@ -19439,6 +19439,18 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_hangup_time(void * jarg1)
 }
 
 
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_direction(void * jarg1) {
+  int jresult ;
+  switch_channel_t *arg1 = (switch_channel_t *) 0 ;
+  switch_call_direction_t result;
+  
+  arg1 = (switch_channel_t *)jarg1; 
+  result = (switch_call_direction_t)switch_channel_direction(arg1);
+  jresult = 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 ;
index 2cda10cd1ade97f217882d453c32d420d7dd7b17..42c46f3f3566894f0b2fbc7e6b26bfe01872d358 100644 (file)
@@ -2703,6 +2703,11 @@ public class freeswitch {
     freeswitchPINVOKE.switch_channel_set_hangup_time(SWIGTYPE_p_switch_channel.getCPtr(channel));
   }
 
+  public static switch_call_direction_t switch_channel_direction(SWIGTYPE_p_switch_channel channel) {
+    switch_call_direction_t ret = (switch_call_direction_t)freeswitchPINVOKE.switch_channel_direction(SWIGTYPE_p_switch_channel.getCPtr(channel));
+    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();
@@ -9121,6 +9126,9 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_hangup_time")]
   public static extern void switch_channel_set_hangup_time(HandleRef jarg1);
 
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_direction")]
+  public static extern int switch_channel_direction(HandleRef jarg1);
+
   [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_create")]
   public static extern int switch_buffer_create(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
 
@@ -20372,6 +20380,8 @@ public enum switch_event_types_t {
   SWITCH_EVENT_SESSION_HEARTBEAT,
   SWITCH_EVENT_CLIENT_DISCONNECTED,
   SWITCH_EVENT_SERVER_DISCONNECTED,
+  SWITCH_EVENT_SEND_INFO,
+  SWITCH_EVENT_RECV_INFO,
   SWITCH_EVENT_ALL
 }