}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_ice_direction(void * jarg1) {
- int jresult ;
- switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
- switch_call_direction_t result;
-
- arg1 = (switch_core_session_t *)jarg1;
- result = (switch_call_direction_t)switch_ice_direction(arg1);
- jresult = result;
- return jresult;
-}
-
-
SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_debug_pool(void * jarg1) {
switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_w_set(void * jarg1, unsigned long jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_w_set(void * jarg1, int jarg2) {
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t arg2 ;
+ int32_t arg2 ;
arg1 = (switch_frame_geometry *)jarg1;
- arg2 = (uint32_t)jarg2;
+ arg2 = (int32_t)jarg2;
if (arg1) (arg1)->w = arg2;
}
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_geometry_t_w_get(void * jarg1) {
- unsigned long jresult ;
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_w_get(void * jarg1) {
+ int jresult ;
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t result;
+ int32_t result;
arg1 = (switch_frame_geometry *)jarg1;
- result = (uint32_t) ((arg1)->w);
- jresult = (unsigned long)result;
+ result = (int32_t) ((arg1)->w);
+ jresult = result;
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_h_set(void * jarg1, unsigned long jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_h_set(void * jarg1, int jarg2) {
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t arg2 ;
+ int32_t arg2 ;
arg1 = (switch_frame_geometry *)jarg1;
- arg2 = (uint32_t)jarg2;
+ arg2 = (int32_t)jarg2;
if (arg1) (arg1)->h = arg2;
}
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_geometry_t_h_get(void * jarg1) {
- unsigned long jresult ;
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_h_get(void * jarg1) {
+ int jresult ;
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t result;
+ int32_t result;
arg1 = (switch_frame_geometry *)jarg1;
- result = (uint32_t) ((arg1)->h);
- jresult = (unsigned long)result;
+ result = (int32_t) ((arg1)->h);
+ jresult = result;
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_x_set(void * jarg1, unsigned long jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_x_set(void * jarg1, int jarg2) {
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t arg2 ;
+ int32_t arg2 ;
arg1 = (switch_frame_geometry *)jarg1;
- arg2 = (uint32_t)jarg2;
+ arg2 = (int32_t)jarg2;
if (arg1) (arg1)->x = arg2;
}
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_geometry_t_x_get(void * jarg1) {
- unsigned long jresult ;
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_x_get(void * jarg1) {
+ int jresult ;
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t result;
+ int32_t result;
arg1 = (switch_frame_geometry *)jarg1;
- result = (uint32_t) ((arg1)->x);
- jresult = (unsigned long)result;
+ result = (int32_t) ((arg1)->x);
+ jresult = result;
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_y_set(void * jarg1, unsigned long jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_y_set(void * jarg1, int jarg2) {
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t arg2 ;
+ int32_t arg2 ;
arg1 = (switch_frame_geometry *)jarg1;
- arg2 = (uint32_t)jarg2;
+ arg2 = (int32_t)jarg2;
if (arg1) (arg1)->y = arg2;
}
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_geometry_t_y_get(void * jarg1) {
- unsigned long jresult ;
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_y_get(void * jarg1) {
+ int jresult ;
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t result;
+ int32_t result;
arg1 = (switch_frame_geometry *)jarg1;
- result = (uint32_t) ((arg1)->y);
- jresult = (unsigned long)result;
+ result = (int32_t) ((arg1)->y);
+ jresult = result;
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_z_set(void * jarg1, unsigned long jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_z_set(void * jarg1, int jarg2) {
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t arg2 ;
+ int32_t arg2 ;
arg1 = (switch_frame_geometry *)jarg1;
- arg2 = (uint32_t)jarg2;
+ arg2 = (int32_t)jarg2;
if (arg1) (arg1)->z = arg2;
}
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_geometry_t_z_get(void * jarg1) {
- unsigned long jresult ;
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_z_get(void * jarg1) {
+ int jresult ;
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t result;
+ int32_t result;
arg1 = (switch_frame_geometry *)jarg1;
- result = (uint32_t) ((arg1)->z);
- jresult = (unsigned long)result;
+ result = (int32_t) ((arg1)->z);
+ jresult = result;
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_M_set(void * jarg1, unsigned long jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_M_set(void * jarg1, int jarg2) {
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t arg2 ;
+ int32_t arg2 ;
arg1 = (switch_frame_geometry *)jarg1;
- arg2 = (uint32_t)jarg2;
+ arg2 = (int32_t)jarg2;
if (arg1) (arg1)->M = arg2;
}
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_geometry_t_M_get(void * jarg1) {
- unsigned long jresult ;
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_M_get(void * jarg1) {
+ int jresult ;
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t result;
+ int32_t result;
arg1 = (switch_frame_geometry *)jarg1;
- result = (uint32_t) ((arg1)->M);
- jresult = (unsigned long)result;
+ result = (int32_t) ((arg1)->M);
+ jresult = result;
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_X_set(void * jarg1, unsigned long jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_X_set(void * jarg1, int jarg2) {
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t arg2 ;
+ int32_t arg2 ;
arg1 = (switch_frame_geometry *)jarg1;
- arg2 = (uint32_t)jarg2;
+ arg2 = (int32_t)jarg2;
if (arg1) (arg1)->X = arg2;
}
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_geometry_t_X_get(void * jarg1) {
- unsigned long jresult ;
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_X_get(void * jarg1) {
+ int jresult ;
switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ;
- uint32_t result;
+ int32_t result;
arg1 = (switch_frame_geometry *)jarg1;
- result = (uint32_t) ((arg1)->X);
- jresult = (unsigned long)result;
+ result = (int32_t) ((arg1)->X);
+ jresult = result;
return jresult;
}
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_fmt_set(void * jarg1, void * jarg2) {
+ switch_mm_s *arg1 = (switch_mm_s *) 0 ;
+ switch_img_fmt_t arg2 ;
+ switch_img_fmt_t *argp2 ;
+
+ arg1 = (switch_mm_s *)jarg1;
+ argp2 = (switch_img_fmt_t *)jarg2;
+ if (!argp2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_img_fmt_t", 0);
+ return ;
+ }
+ arg2 = *argp2;
+ if (arg1) (arg1)->fmt = arg2;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_mm_t_fmt_get(void * jarg1) {
+ void * jresult ;
+ switch_mm_s *arg1 = (switch_mm_s *) 0 ;
+ switch_img_fmt_t result;
+
+ arg1 = (switch_mm_s *)jarg1;
+ result = ((arg1)->fmt);
+ jresult = new switch_img_fmt_t((const switch_img_fmt_t &)result);
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_auth_username_set(void * jarg1, char * jarg2) {
+ switch_mm_s *arg1 = (switch_mm_s *) 0 ;
+ char *arg2 = (char *) 0 ;
+
+ arg1 = (switch_mm_s *)jarg1;
+ arg2 = (char *)jarg2;
+ {
+ delete [] arg1->auth_username;
+ if (arg2) {
+ arg1->auth_username = (char *) (new char[strlen((const char *)arg2)+1]);
+ strcpy((char *)arg1->auth_username, (const char *)arg2);
+ } else {
+ arg1->auth_username = 0;
+ }
+ }
+}
+
+
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_mm_t_auth_username_get(void * jarg1) {
+ char * jresult ;
+ switch_mm_s *arg1 = (switch_mm_s *) 0 ;
+ char *result = 0 ;
+
+ arg1 = (switch_mm_s *)jarg1;
+ result = (char *) ((arg1)->auth_username);
+ jresult = SWIG_csharp_string_callback((const char *)result);
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_auth_password_set(void * jarg1, char * jarg2) {
+ switch_mm_s *arg1 = (switch_mm_s *) 0 ;
+ char *arg2 = (char *) 0 ;
+
+ arg1 = (switch_mm_s *)jarg1;
+ arg2 = (char *)jarg2;
+ {
+ delete [] arg1->auth_password;
+ if (arg2) {
+ arg1->auth_password = (char *) (new char[strlen((const char *)arg2)+1]);
+ strcpy((char *)arg1->auth_password, (const char *)arg2);
+ } else {
+ arg1->auth_password = 0;
+ }
+ }
+}
+
+
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_mm_t_auth_password_get(void * jarg1) {
+ char * jresult ;
+ switch_mm_s *arg1 = (switch_mm_s *) 0 ;
+ char *result = 0 ;
+
+ arg1 = (switch_mm_s *)jarg1;
+ result = (char *) ((arg1)->auth_password);
+ jresult = SWIG_csharp_string_callback((const char *)result);
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_mm_t() {
void * jresult ;
switch_mm_s *result = 0 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_agc_set_token(void * jarg1, char * jarg2) {
+ switch_agc_t *arg1 = (switch_agc_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+
+ arg1 = (switch_agc_t *)jarg1;
+ arg2 = (char *)jarg2;
+ switch_agc_set_token(arg1,(char const *)arg2);
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_session_set(void * jarg1, void * jarg2) {
switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ;
switch_core_session_t *arg2 = (switch_core_session_t *) 0 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_packet_t_ext_set(void * jarg1, void * jarg2) {
+ switch_rtp_packet_t *arg1 = (switch_rtp_packet_t *) 0 ;
+ switch_rtp_hdr_ext_t *arg2 = (switch_rtp_hdr_ext_t *) 0 ;
+
+ arg1 = (switch_rtp_packet_t *)jarg1;
+ arg2 = (switch_rtp_hdr_ext_t *)jarg2;
+ if (arg1) (arg1)->ext = arg2;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_packet_t_ext_get(void * jarg1) {
+ void * jresult ;
+ switch_rtp_packet_t *arg1 = (switch_rtp_packet_t *) 0 ;
+ switch_rtp_hdr_ext_t *result = 0 ;
+
+ arg1 = (switch_rtp_packet_t *)jarg1;
+ result = (switch_rtp_hdr_ext_t *) ((arg1)->ext);
+ jresult = (void *)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_packet_t_ebody_set(void * jarg1, char * jarg2) {
+ switch_rtp_packet_t *arg1 = (switch_rtp_packet_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+
+ arg1 = (switch_rtp_packet_t *)jarg1;
+ arg2 = (char *)jarg2;
+ {
+ delete [] arg1->ebody;
+ if (arg2) {
+ arg1->ebody = (char *) (new char[strlen((const char *)arg2)+1]);
+ strcpy((char *)arg1->ebody, (const char *)arg2);
+ } else {
+ arg1->ebody = 0;
+ }
+ }
+}
+
+
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_rtp_packet_t_ebody_get(void * jarg1) {
+ char * jresult ;
+ switch_rtp_packet_t *arg1 = (switch_rtp_packet_t *) 0 ;
+ char *result = 0 ;
+
+ arg1 = (switch_rtp_packet_t *)jarg1;
+ result = (char *) ((arg1)->ebody);
+ jresult = SWIG_csharp_string_callback((const char *)result);
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_packet_t() {
void * jresult ;
switch_rtp_packet_t *result = 0 ;
return ret;
}
- public static switch_call_direction_t switch_ice_direction(SWIGTYPE_p_switch_core_session session) {
- switch_call_direction_t ret = (switch_call_direction_t)freeswitchPINVOKE.switch_ice_direction(SWIGTYPE_p_switch_core_session.getCPtr(session));
- return ret;
- }
-
public static void switch_core_session_debug_pool(switch_stream_handle stream) {
freeswitchPINVOKE.switch_core_session_debug_pool(switch_stream_handle.getCPtr(stream));
}
freeswitchPINVOKE.switch_agc_set_energy_low(SWIGTYPE_p_switch_agc_s.getCPtr(agc), low_energy_point);
}
+ public static void switch_agc_set_token(SWIGTYPE_p_switch_agc_s agc, string token) {
+ freeswitchPINVOKE.switch_agc_set_token(SWIGTYPE_p_switch_agc_s.getCPtr(agc), token);
+ }
+
public static switch_status_t switch_ivr_deactivate_unicast(SWIGTYPE_p_switch_core_session session) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_deactivate_unicast(SWIGTYPE_p_switch_core_session.getCPtr(session));
return ret;
[DllImport("mod_managed", EntryPoint="CSharp_switch_stream_system_fork")]
public static extern int switch_stream_system_fork(string jarg1, HandleRef jarg2);
- [DllImport("mod_managed", EntryPoint="CSharp_switch_ice_direction")]
- public static extern int switch_ice_direction(HandleRef jarg1);
-
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_debug_pool")]
public static extern void switch_core_session_debug_pool(HandleRef jarg1);
public static extern void switch_caller_profile_event_set_data(HandleRef jarg1, string jarg2, HandleRef jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_w_set")]
- public static extern void switch_frame_geometry_t_w_set(HandleRef jarg1, uint jarg2);
+ public static extern void switch_frame_geometry_t_w_set(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_w_get")]
- public static extern uint switch_frame_geometry_t_w_get(HandleRef jarg1);
+ public static extern int switch_frame_geometry_t_w_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_h_set")]
- public static extern void switch_frame_geometry_t_h_set(HandleRef jarg1, uint jarg2);
+ public static extern void switch_frame_geometry_t_h_set(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_h_get")]
- public static extern uint switch_frame_geometry_t_h_get(HandleRef jarg1);
+ public static extern int switch_frame_geometry_t_h_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_x_set")]
- public static extern void switch_frame_geometry_t_x_set(HandleRef jarg1, uint jarg2);
+ public static extern void switch_frame_geometry_t_x_set(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_x_get")]
- public static extern uint switch_frame_geometry_t_x_get(HandleRef jarg1);
+ public static extern int switch_frame_geometry_t_x_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_y_set")]
- public static extern void switch_frame_geometry_t_y_set(HandleRef jarg1, uint jarg2);
+ public static extern void switch_frame_geometry_t_y_set(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_y_get")]
- public static extern uint switch_frame_geometry_t_y_get(HandleRef jarg1);
+ public static extern int switch_frame_geometry_t_y_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_z_set")]
- public static extern void switch_frame_geometry_t_z_set(HandleRef jarg1, uint jarg2);
+ public static extern void switch_frame_geometry_t_z_set(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_z_get")]
- public static extern uint switch_frame_geometry_t_z_get(HandleRef jarg1);
+ public static extern int switch_frame_geometry_t_z_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_M_set")]
- public static extern void switch_frame_geometry_t_M_set(HandleRef jarg1, uint jarg2);
+ public static extern void switch_frame_geometry_t_M_set(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_M_get")]
- public static extern uint switch_frame_geometry_t_M_get(HandleRef jarg1);
+ public static extern int switch_frame_geometry_t_M_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_X_set")]
- public static extern void switch_frame_geometry_t_X_set(HandleRef jarg1, uint jarg2);
+ public static extern void switch_frame_geometry_t_X_set(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_X_get")]
- public static extern uint switch_frame_geometry_t_X_get(HandleRef jarg1);
+ public static extern int switch_frame_geometry_t_X_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_frame_geometry_t")]
public static extern IntPtr new_switch_frame_geometry_t();
[DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_scale_h_get")]
public static extern int switch_mm_t_scale_h_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fmt_set")]
+ public static extern void switch_mm_t_fmt_set(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fmt_get")]
+ public static extern IntPtr switch_mm_t_fmt_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_username_set")]
+ public static extern void switch_mm_t_auth_username_set(HandleRef jarg1, string jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_username_get")]
+ public static extern string switch_mm_t_auth_username_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_password_set")]
+ public static extern void switch_mm_t_auth_password_set(HandleRef jarg1, string jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_password_get")]
+ public static extern string switch_mm_t_auth_password_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_mm_t")]
public static extern IntPtr new_switch_mm_t();
[DllImport("mod_managed", EntryPoint="CSharp_switch_agc_set_energy_low")]
public static extern void switch_agc_set_energy_low(HandleRef jarg1, uint jarg2);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_agc_set_token")]
+ public static extern void switch_agc_set_token(HandleRef jarg1, string jarg2);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_session_set")]
public static extern void switch_unicast_conninfo_session_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_packet_t_body_get")]
public static extern string switch_rtp_packet_t_body_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_packet_t_ext_set")]
+ public static extern void switch_rtp_packet_t_ext_set(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_packet_t_ext_get")]
+ public static extern IntPtr switch_rtp_packet_t_ext_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_packet_t_ebody_set")]
+ public static extern void switch_rtp_packet_t_ebody_set(HandleRef jarg1, string jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_packet_t_ebody_get")]
+ public static extern string switch_rtp_packet_t_ebody_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_packet_t")]
public static extern IntPtr new_switch_rtp_packet_t();
using System;
using System.Runtime.InteropServices;
+public class SWIGTYPE_p_switch_img_fmt_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_switch_img_fmt_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_switch_img_fmt_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_switch_img_fmt_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org).
+ * Version 2.0.12
+ *
+ * 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 SWIGTYPE_p_switch_img_position_t {
private HandleRef swigCPtr;
}
}
- public uint w {
+ public int w {
set {
freeswitchPINVOKE.switch_frame_geometry_t_w_set(swigCPtr, value);
}
get {
- uint ret = freeswitchPINVOKE.switch_frame_geometry_t_w_get(swigCPtr);
+ int ret = freeswitchPINVOKE.switch_frame_geometry_t_w_get(swigCPtr);
return ret;
}
}
- public uint h {
+ public int h {
set {
freeswitchPINVOKE.switch_frame_geometry_t_h_set(swigCPtr, value);
}
get {
- uint ret = freeswitchPINVOKE.switch_frame_geometry_t_h_get(swigCPtr);
+ int ret = freeswitchPINVOKE.switch_frame_geometry_t_h_get(swigCPtr);
return ret;
}
}
- public uint x {
+ public int x {
set {
freeswitchPINVOKE.switch_frame_geometry_t_x_set(swigCPtr, value);
}
get {
- uint ret = freeswitchPINVOKE.switch_frame_geometry_t_x_get(swigCPtr);
+ int ret = freeswitchPINVOKE.switch_frame_geometry_t_x_get(swigCPtr);
return ret;
}
}
- public uint y {
+ public int y {
set {
freeswitchPINVOKE.switch_frame_geometry_t_y_set(swigCPtr, value);
}
get {
- uint ret = freeswitchPINVOKE.switch_frame_geometry_t_y_get(swigCPtr);
+ int ret = freeswitchPINVOKE.switch_frame_geometry_t_y_get(swigCPtr);
return ret;
}
}
- public uint z {
+ public int z {
set {
freeswitchPINVOKE.switch_frame_geometry_t_z_set(swigCPtr, value);
}
get {
- uint ret = freeswitchPINVOKE.switch_frame_geometry_t_z_get(swigCPtr);
+ int ret = freeswitchPINVOKE.switch_frame_geometry_t_z_get(swigCPtr);
return ret;
}
}
- public uint M {
+ public int M {
set {
freeswitchPINVOKE.switch_frame_geometry_t_M_set(swigCPtr, value);
}
get {
- uint ret = freeswitchPINVOKE.switch_frame_geometry_t_M_get(swigCPtr);
+ int ret = freeswitchPINVOKE.switch_frame_geometry_t_M_get(swigCPtr);
return ret;
}
}
- public uint X {
+ public int X {
set {
freeswitchPINVOKE.switch_frame_geometry_t_X_set(swigCPtr, value);
}
get {
- uint ret = freeswitchPINVOKE.switch_frame_geometry_t_X_get(swigCPtr);
+ int ret = freeswitchPINVOKE.switch_frame_geometry_t_X_get(swigCPtr);
return ret;
}
}
}
}
+ public SWIGTYPE_p_switch_img_fmt_t fmt {
+ set {
+ freeswitchPINVOKE.switch_mm_t_fmt_set(swigCPtr, SWIGTYPE_p_switch_img_fmt_t.getCPtr(value));
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ SWIGTYPE_p_switch_img_fmt_t ret = new SWIGTYPE_p_switch_img_fmt_t(freeswitchPINVOKE.switch_mm_t_fmt_get(swigCPtr), true);
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public string auth_username {
+ set {
+ freeswitchPINVOKE.switch_mm_t_auth_username_set(swigCPtr, value);
+ }
+ get {
+ string ret = freeswitchPINVOKE.switch_mm_t_auth_username_get(swigCPtr);
+ return ret;
+ }
+ }
+
+ public string auth_password {
+ set {
+ freeswitchPINVOKE.switch_mm_t_auth_password_set(swigCPtr, value);
+ }
+ get {
+ string ret = freeswitchPINVOKE.switch_mm_t_auth_password_get(swigCPtr);
+ return ret;
+ }
+ }
+
public switch_mm_t() : this(freeswitchPINVOKE.new_switch_mm_t(), true) {
}
}
}
+ public switch_rtp_hdr_ext_t ext {
+ set {
+ freeswitchPINVOKE.switch_rtp_packet_t_ext_set(swigCPtr, switch_rtp_hdr_ext_t.getCPtr(value));
+ }
+ get {
+ IntPtr cPtr = freeswitchPINVOKE.switch_rtp_packet_t_ext_get(swigCPtr);
+ switch_rtp_hdr_ext_t ret = (cPtr == IntPtr.Zero) ? null : new switch_rtp_hdr_ext_t(cPtr, false);
+ return ret;
+ }
+ }
+
+ public string ebody {
+ set {
+ freeswitchPINVOKE.switch_rtp_packet_t_ebody_set(swigCPtr, value);
+ }
+ get {
+ string ret = freeswitchPINVOKE.switch_rtp_packet_t_ebody_get(swigCPtr);
+ return ret;
+ }
+ }
+
public switch_rtp_packet_t() : this(freeswitchPINVOKE.new_switch_rtp_packet_t(), true) {
}