This commit is contained in:
Anthony Minessale 2010-11-10 10:30:18 -06:00
parent 6be15e958e
commit 42edb9cfe9
2 changed files with 327 additions and 11 deletions

View File

@ -13019,11 +13019,11 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_dow_cmp(char * jarg1, int jarg2) {
int jresult ;
char *arg1 = (char *) 0 ;
int arg2 ;
int result;
switch_bool_t result;
arg1 = (char *)jarg1;
arg2 = (int)jarg2;
result = (int)switch_dow_cmp((char const *)arg1,arg2);
result = (switch_bool_t)switch_dow_cmp((char const *)arg1,arg2);
jresult = result;
return jresult;
}
@ -15706,6 +15706,29 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_write_video_frame_get(vo
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_state_run_set(void * jarg1, void * jarg2) {
switch_io_routines *arg1 = (switch_io_routines *) 0 ;
switch_io_state_run_t arg2 = (switch_io_state_run_t) 0 ;
arg1 = (switch_io_routines *)jarg1;
arg2 = (switch_io_state_run_t)jarg2;
if (arg1) (arg1)->state_run = arg2;
}
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_state_run_get(void * jarg1) {
void * jresult ;
switch_io_routines *arg1 = (switch_io_routines *) 0 ;
switch_io_state_run_t result;
arg1 = (switch_io_routines *)jarg1;
result = (switch_io_state_run_t) ((arg1)->state_run);
jresult = (void *)result;
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_resurrect_session_set(void * jarg1, void * jarg2) {
switch_io_routines *arg1 = (switch_io_routines *) 0 ;
switch_io_resurrect_session_t arg2 = (switch_io_resurrect_session_t) 0 ;
@ -27923,15 +27946,17 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_sound_test(void * jarg1) {
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_process_import(void * jarg1, void * jarg2, char * jarg3) {
SWIGEXPORT void SWIGSTDCALL CSharp_switch_process_import(void * jarg1, void * jarg2, char * jarg3, char * jarg4) {
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
switch_channel_t *arg2 = (switch_channel_t *) 0 ;
char *arg3 = (char *) 0 ;
char *arg4 = (char *) 0 ;
arg1 = (switch_core_session_t *)jarg1;
arg2 = (switch_channel_t *)jarg2;
arg3 = (char *)jarg3;
switch_process_import(arg1,arg2,(char const *)arg3);
arg4 = (char *)jarg4;
switch_process_import(arg1,arg2,(char const *)arg3,(char const *)arg4);
}
@ -27947,6 +27972,26 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_uuid_exists(char * jarg1) {
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_match_callback(void * jarg1, void * jarg2) {
switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ;
switch_ivr_dmachine_callback_t arg2 = (switch_ivr_dmachine_callback_t) 0 ;
arg1 = (switch_ivr_dmachine_t *)jarg1;
arg2 = (switch_ivr_dmachine_callback_t)jarg2;
switch_ivr_dmachine_set_match_callback(arg1,arg2);
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_nonmatch_callback(void * jarg1, void * jarg2) {
switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ;
switch_ivr_dmachine_callback_t arg2 = (switch_ivr_dmachine_callback_t) 0 ;
arg1 = (switch_ivr_dmachine_t *)jarg1;
arg2 = (switch_ivr_dmachine_callback_t)jarg2;
switch_ivr_dmachine_set_nonmatch_callback(arg1,arg2);
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_create(void * jarg1, char * jarg2, void * jarg3, unsigned long jarg4, unsigned long jarg5, void * jarg6, void * jarg7, void * jarg8) {
int jresult ;
switch_ivr_dmachine_t **arg1 = (switch_ivr_dmachine_t **) 0 ;
@ -31234,6 +31279,71 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_state_change(void
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_run_state_run_set(void * jarg1, void * jarg2) {
switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ;
switch_state_run_hook_t arg2 = (switch_state_run_hook_t) 0 ;
arg1 = (switch_io_event_hook_state_run *)jarg1;
arg2 = (switch_state_run_hook_t)jarg2;
if (arg1) (arg1)->state_run = arg2;
}
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_run_state_run_get(void * jarg1) {
void * jresult ;
switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ;
switch_state_run_hook_t result;
arg1 = (switch_io_event_hook_state_run *)jarg1;
result = (switch_state_run_hook_t) ((arg1)->state_run);
jresult = (void *)result;
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_run_next_set(void * jarg1, void * jarg2) {
switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ;
switch_io_event_hook_state_run *arg2 = (switch_io_event_hook_state_run *) 0 ;
arg1 = (switch_io_event_hook_state_run *)jarg1;
arg2 = (switch_io_event_hook_state_run *)jarg2;
if (arg1) (arg1)->next = arg2;
}
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_run_next_get(void * jarg1) {
void * jresult ;
switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ;
switch_io_event_hook_state_run *result = 0 ;
arg1 = (switch_io_event_hook_state_run *)jarg1;
result = (switch_io_event_hook_state_run *) ((arg1)->next);
jresult = (void *)result;
return jresult;
}
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_state_run() {
void * jresult ;
switch_io_event_hook_state_run *result = 0 ;
result = (switch_io_event_hook_state_run *)new switch_io_event_hook_state_run();
jresult = (void *)result;
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_state_run(void * jarg1) {
switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ;
arg1 = (switch_io_event_hook_state_run *)jarg1;
delete arg1;
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_resurrect_session_resurrect_session_set(void * jarg1, void * jarg2) {
switch_io_event_hook_resurrect_session *arg1 = (switch_io_event_hook_resurrect_session *) 0 ;
switch_resurrect_session_hook_t arg2 = (switch_resurrect_session_hook_t) 0 ;
@ -31552,6 +31662,29 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_state_change_get(void
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_state_run_set(void * jarg1, void * jarg2) {
switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ;
switch_io_event_hook_state_run_t *arg2 = (switch_io_event_hook_state_run_t *) 0 ;
arg1 = (switch_io_event_hooks *)jarg1;
arg2 = (switch_io_event_hook_state_run_t *)jarg2;
if (arg1) (arg1)->state_run = arg2;
}
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_state_run_get(void * jarg1) {
void * jresult ;
switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ;
switch_io_event_hook_state_run_t *result = 0 ;
arg1 = (switch_io_event_hooks *)jarg1;
result = (switch_io_event_hook_state_run_t *) ((arg1)->state_run);
jresult = (void *)result;
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_resurrect_session_set(void * jarg1, void * jarg2) {
switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ;
switch_io_event_hook_resurrect_session_t *arg2 = (switch_io_event_hook_resurrect_session_t *) 0 ;
@ -31650,6 +31783,20 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_state_change(void *
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_state_run(void * jarg1, void * jarg2) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
switch_state_run_hook_t arg2 = (switch_state_run_hook_t) 0 ;
switch_status_t result;
arg1 = (switch_core_session_t *)jarg1;
arg2 = (switch_state_run_hook_t)jarg2;
result = (switch_status_t)switch_core_event_hook_add_state_run(arg1,arg2);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_read_frame(void * jarg1, void * jarg2) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
@ -31818,6 +31965,20 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_state_change(voi
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_state_run(void * jarg1, void * jarg2) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
switch_state_run_hook_t arg2 = (switch_state_run_hook_t) 0 ;
switch_status_t result;
arg1 = (switch_core_session_t *)jarg1;
arg2 = (switch_state_run_hook_t)jarg2;
result = (switch_status_t)switch_core_event_hook_remove_state_run(arg1,arg2);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_read_frame(void * jarg1, void * jarg2) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;

View File

@ -2984,8 +2984,8 @@ public class freeswitch {
return ret;
}
public static int switch_dow_cmp(string exp, int val) {
int ret = freeswitchPINVOKE.switch_dow_cmp(exp, val);
public static switch_bool_t switch_dow_cmp(string exp, int val) {
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_dow_cmp(exp, val);
return ret;
}
@ -4374,8 +4374,8 @@ public class freeswitch {
return ret;
}
public static void switch_process_import(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_channel peer_channel, string varname) {
freeswitchPINVOKE.switch_process_import(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_channel.getCPtr(peer_channel), varname);
public static void switch_process_import(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_channel peer_channel, string varname, string prefix) {
freeswitchPINVOKE.switch_process_import(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_channel.getCPtr(peer_channel), varname, prefix);
}
public static switch_bool_t switch_ivr_uuid_exists(string uuid) {
@ -4383,6 +4383,14 @@ public class freeswitch {
return ret;
}
public static void switch_ivr_dmachine_set_match_callback(SWIGTYPE_p_switch_ivr_dmachine dmachine, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t match_callback) {
freeswitchPINVOKE.switch_ivr_dmachine_set_match_callback(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(match_callback));
}
public static void switch_ivr_dmachine_set_nonmatch_callback(SWIGTYPE_p_switch_ivr_dmachine dmachine, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t nonmatch_callback) {
freeswitchPINVOKE.switch_ivr_dmachine_set_nonmatch_callback(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(nonmatch_callback));
}
public static switch_status_t switch_ivr_dmachine_create(SWIGTYPE_p_p_switch_ivr_dmachine dmachine_p, string name, SWIGTYPE_p_apr_pool_t pool, uint digit_timeout, uint input_timeout, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t match_callback, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t nonmatch_callback, SWIGTYPE_p_void user_data) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_create(SWIGTYPE_p_p_switch_ivr_dmachine.getCPtr(dmachine_p), name, SWIGTYPE_p_apr_pool_t.getCPtr(pool), digit_timeout, input_timeout, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(match_callback), SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(nonmatch_callback), SWIGTYPE_p_void.getCPtr(user_data));
return ret;
@ -5038,6 +5046,11 @@ public class freeswitch {
return ret;
}
public static switch_status_t switch_core_event_hook_add_state_run(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_run) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_state_run(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(state_run));
return ret;
}
public static switch_status_t switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(read_frame));
return ret;
@ -5098,6 +5111,11 @@ public class freeswitch {
return ret;
}
public static switch_status_t switch_core_event_hook_remove_state_run(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_run) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_state_run(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(state_run));
return ret;
}
public static switch_status_t switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(read_frame));
return ret;
@ -9264,6 +9282,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_write_video_frame_get")]
public static extern IntPtr switch_io_routines_write_video_frame_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_state_run_set")]
public static extern void switch_io_routines_state_run_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_state_run_get")]
public static extern IntPtr switch_io_routines_state_run_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_resurrect_session_set")]
public static extern void switch_io_routines_resurrect_session_set(HandleRef jarg1, HandleRef jarg2);
@ -12121,11 +12145,17 @@ class freeswitchPINVOKE {
public static extern int switch_ivr_sound_test(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_process_import")]
public static extern void switch_process_import(HandleRef jarg1, HandleRef jarg2, string jarg3);
public static extern void switch_process_import(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_uuid_exists")]
public static extern int switch_ivr_uuid_exists(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_match_callback")]
public static extern void switch_ivr_dmachine_set_match_callback(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_nonmatch_callback")]
public static extern void switch_ivr_dmachine_set_nonmatch_callback(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_create")]
public static extern int switch_ivr_dmachine_create(HandleRef jarg1, string jarg2, HandleRef jarg3, uint jarg4, uint jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8);
@ -12897,6 +12927,24 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_state_change")]
public static extern void delete_switch_io_event_hook_state_change(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_state_run_set")]
public static extern void switch_io_event_hook_state_run_state_run_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_state_run_get")]
public static extern IntPtr switch_io_event_hook_state_run_state_run_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_next_set")]
public static extern void switch_io_event_hook_state_run_next_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_next_get")]
public static extern IntPtr switch_io_event_hook_state_run_next_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_state_run")]
public static extern IntPtr new_switch_io_event_hook_state_run();
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_state_run")]
public static extern void delete_switch_io_event_hook_state_run(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_resurrect_session_resurrect_session_set")]
public static extern void switch_io_event_hook_resurrect_session_resurrect_session_set(HandleRef jarg1, HandleRef jarg2);
@ -12981,6 +13029,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_change_get")]
public static extern IntPtr switch_io_event_hooks_state_change_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_run_set")]
public static extern void switch_io_event_hooks_state_run_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_run_get")]
public static extern IntPtr switch_io_event_hooks_state_run_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_resurrect_session_set")]
public static extern void switch_io_event_hooks_resurrect_session_set(HandleRef jarg1, HandleRef jarg2);
@ -13005,6 +13059,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_state_change")]
public static extern int switch_core_event_hook_add_state_change(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_state_run")]
public static extern int switch_core_event_hook_add_state_run(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_read_frame")]
public static extern int switch_core_event_hook_add_read_frame(HandleRef jarg1, HandleRef jarg2);
@ -13041,6 +13098,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_state_change")]
public static extern int switch_core_event_hook_remove_state_change(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_state_run")]
public static extern int switch_core_event_hook_remove_state_run(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_read_frame")]
public static extern int switch_core_event_hook_remove_read_frame(HandleRef jarg1, HandleRef jarg2);
@ -21201,6 +21261,7 @@ public enum switch_channel_flag_t {
CF_CONSUME_ON_ORIGINATE,
CF_PASSTHRU_PTIME_MISMATCH,
CF_BRIDGE_NOWRITE,
CF_RECOVERED,
CF_FLAG_MAX
}
@ -24310,7 +24371,8 @@ namespace FreeSWITCH.Native {
SWITCH_FILE_CALLBACK = (1 << 12),
SWITCH_FILE_DONE = (1 << 13),
SWITCH_FILE_BUFFER_DONE = (1 << 14),
SWITCH_FILE_WRITE_APPEND = (1 << 15)
SWITCH_FILE_WRITE_APPEND = (1 << 15),
SWITCH_FILE_WRITE_OVER = (1 << 16)
}
}
@ -25990,6 +26052,17 @@ public class switch_io_event_hooks : IDisposable {
}
}
public switch_io_event_hook_state_run state_run {
set {
freeswitchPINVOKE.switch_io_event_hooks_state_run_set(swigCPtr, switch_io_event_hook_state_run.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_state_run_get(swigCPtr);
switch_io_event_hook_state_run ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_state_run(cPtr, false);
return ret;
}
}
public switch_io_event_hook_resurrect_session resurrect_session {
set {
freeswitchPINVOKE.switch_io_event_hooks_resurrect_session_set(swigCPtr, switch_io_event_hook_resurrect_session.getCPtr(value));
@ -26158,6 +26231,75 @@ namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class switch_io_event_hook_state_run : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal switch_io_event_hook_state_run(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(switch_io_event_hook_state_run obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~switch_io_event_hook_state_run() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false;
freeswitchPINVOKE.delete_switch_io_event_hook_state_run(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this);
}
}
public SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_run {
set {
freeswitchPINVOKE.switch_io_event_hook_state_run_state_run_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_run_state_run_get(swigCPtr);
SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false);
return ret;
}
}
public switch_io_event_hook_state_run next {
set {
freeswitchPINVOKE.switch_io_event_hook_state_run_next_set(swigCPtr, switch_io_event_hook_state_run.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_run_next_get(swigCPtr);
switch_io_event_hook_state_run ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_state_run(cPtr, false);
return ret;
}
}
public switch_io_event_hook_state_run() : this(freeswitchPINVOKE.new_switch_io_event_hook_state_run(), true) {
}
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
*
* 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 switch_io_event_hook_video_read_frame : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
@ -26545,6 +26687,17 @@ public class switch_io_routines : IDisposable {
}
}
public SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_run {
set {
freeswitchPINVOKE.switch_io_routines_state_run_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_state_run_get(swigCPtr);
SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false);
return ret;
}
}
public SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t resurrect_session {
set {
freeswitchPINVOKE.switch_io_routines_resurrect_session_set(swigCPtr, SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t.getCPtr(value));
@ -27578,7 +27731,8 @@ namespace FreeSWITCH.Native {
SMBF_STEREO = (1 << 5),
SMBF_ANSWER_REQ = (1 << 6),
SMBF_THREAD_LOCK = (1 << 7),
SMBF_PRUNE = (1 << 8)
SMBF_PRUNE = (1 << 8),
SMBF_NO_PAUSE = (1 << 9)
}
}
@ -29660,6 +29814,7 @@ public enum switch_status_t {
SWITCH_STATUS_IGNORE,
SWITCH_STATUS_TOO_SMALL,
SWITCH_STATUS_FOUND,
SWITCH_STATUS_CONTINUE,
SWITCH_STATUS_NOT_INITALIZED
}