vs2010 reswig

This commit is contained in:
Jeff Lenk committed 2012-06-23 16:58:44 -05:00
1 parent 398c84b671
commit 2171e5830d
2 files changed
+139 -9

No files matched your search

@@ -857,7 +857,7 @@ public class EventConsumer : IDisposable {
}
}
public EventConsumer(string event_name, string subclass_name) : this(freeswitchPINVOKE.new_EventConsumer(event_name, subclass_name), true) {
public EventConsumer(string event_name, string subclass_name, int len) : this(freeswitchPINVOKE.new_EventConsumer(event_name, subclass_name, len), true) {
}
public int bind(string event_name, string subclass_name) {
@@ -5282,8 +5282,13 @@ public class freeswitch {
freeswitchPINVOKE.switch_rtp_destroy(SWIGTYPE_p_p_switch_rtp.getCPtr(rtp_session));
}
public static switch_status_t switch_rtp_activate_ice(SWIGTYPE_p_switch_rtp rtp_session, string login, string rlogin) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_activate_ice(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), login, rlogin);
public static switch_status_t switch_rtp_activate_ice(SWIGTYPE_p_switch_rtp rtp_session, string login, string rlogin, string password) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_activate_ice(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), login, rlogin, password);
return ret;
}
public static switch_status_t switch_rtp_activate_rtcp_ice(SWIGTYPE_p_switch_rtp rtp_session, string login, string rlogin, string password) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_activate_rtcp_ice(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), login, rlogin, password);
return ret;
}
@@ -5331,6 +5336,10 @@ public class freeswitch {
return ret;
}
public static void switch_rtp_ping(SWIGTYPE_p_switch_rtp rtp_session) {
freeswitchPINVOKE.switch_rtp_ping(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));
}
public static uint switch_rtp_get_default_samples_per_interval(SWIGTYPE_p_switch_rtp rtp_session) {
uint ret = freeswitchPINVOKE.switch_rtp_get_default_samples_per_interval(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));
return ret;
@@ -7119,6 +7128,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_packet_count_get")]
public static extern IntPtr switch_rtp_numbers_t_packet_count_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_period_packet_count_set")]
public static extern void switch_rtp_numbers_t_period_packet_count_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_period_packet_count_get")]
public static extern IntPtr switch_rtp_numbers_t_period_packet_count_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_media_packet_count_set")]
public static extern void switch_rtp_numbers_t_media_packet_count_set(HandleRef jarg1, HandleRef jarg2);
@@ -7203,6 +7218,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_rtcp_get")]
public static extern IntPtr switch_rtp_stats_t_rtcp_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_read_count_set")]
public static extern void switch_rtp_stats_t_read_count_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_read_count_get")]
public static extern uint switch_rtp_stats_t_read_count_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_stats_t")]
public static extern IntPtr new_switch_rtp_stats_t();
@@ -13756,7 +13777,10 @@ class freeswitchPINVOKE {
public static extern void switch_rtp_destroy(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_ice")]
public static extern int switch_rtp_activate_ice(HandleRef jarg1, string jarg2, string jarg3);
public static extern int switch_rtp_activate_ice(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_rtcp_ice")]
public static extern int switch_rtp_activate_rtcp_ice(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_rtcp")]
public static extern int switch_rtp_activate_rtcp(HandleRef jarg1, int jarg2, ushort jarg3);
@@ -13785,6 +13809,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_rtp_socket")]
public static extern IntPtr switch_rtp_get_rtp_socket(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_ping")]
public static extern void switch_rtp_ping(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_default_samples_per_interval")]
public static extern uint switch_rtp_get_default_samples_per_interval(HandleRef jarg1);
@@ -14932,7 +14959,7 @@ class freeswitchPINVOKE {
public static extern uint EventConsumer_node_index_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_new_EventConsumer")]
public static extern IntPtr new_EventConsumer(string jarg1, string jarg2);
public static extern IntPtr new_EventConsumer(string jarg1, string jarg2, int jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_delete_EventConsumer")]
public static extern void delete_EventConsumer(HandleRef jarg1);
@@ -25184,6 +25211,7 @@ public enum switch_core_session_message_types_t {
SWITCH_MESSAGE_INDICATE_INFO,
SWITCH_MESSAGE_INDICATE_AUDIO_DATA,
SWITCH_MESSAGE_INDICATE_BLIND_TRANSFER_RESPONSE,
SWITCH_MESSAGE_INDICATE_STUN_ERROR,
SWITCH_MESSAGE_INVALID
}
@@ -30895,6 +30923,18 @@ public class switch_rtp_numbers_t : IDisposable {
}
}
public SWIGTYPE_p_switch_size_t period_packet_count {
set {
freeswitchPINVOKE.switch_rtp_numbers_t_period_packet_count_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
}
get {
SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_period_packet_count_get(swigCPtr), true);
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
}
public SWIGTYPE_p_switch_size_t media_packet_count {
set {
freeswitchPINVOKE.switch_rtp_numbers_t_media_packet_count_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value));
@@ -31061,6 +31101,16 @@ public class switch_rtp_stats_t : IDisposable {
}
}
public uint read_count {
set {
freeswitchPINVOKE.switch_rtp_stats_t_read_count_set(swigCPtr, value);
}
get {
uint ret = freeswitchPINVOKE.switch_rtp_stats_t_read_count_get(swigCPtr);
return ret;
}
}
public switch_rtp_stats_t() : this(freeswitchPINVOKE.new_switch_rtp_stats_t(), true) {
}