git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13112 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-04-21 23:27:53 +00:00
parent d2a2be5d6a
commit eafbfb388c
2 changed files with 22 additions and 0 deletions

View 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 ;

View 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
}