mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-15 11:29:56 +00:00
swigall
This commit is contained in:
parent
ea5fc46550
commit
d184207513
@ -1257,6 +1257,17 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PROCESS_CDR_VARIABLE_get() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_FORCE_PROCESS_CDR_VARIABLE_get() {
|
||||||
|
char * jresult ;
|
||||||
|
char *result = 0 ;
|
||||||
|
|
||||||
|
result = (char *) "force_process_cdr";
|
||||||
|
|
||||||
|
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_CHANNEL_VARIABLE_get() {
|
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_CHANNEL_VARIABLE_get() {
|
||||||
char * jresult ;
|
char * jresult ;
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
@ -6493,6 +6504,18 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_core_session_running(void * ja
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_core_session_started(void * jarg1) {
|
||||||
|
unsigned int jresult ;
|
||||||
|
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||||
|
unsigned int result;
|
||||||
|
|
||||||
|
arg1 = (switch_core_session_t *)jarg1;
|
||||||
|
result = (unsigned int)switch_core_session_started(arg1);
|
||||||
|
jresult = result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_perform_permanent_alloc(void * jarg1, char * jarg2, char * jarg3, int jarg4) {
|
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_perform_permanent_alloc(void * jarg1, char * jarg2, char * jarg3, int jarg4) {
|
||||||
void * jresult ;
|
void * jresult ;
|
||||||
switch_size_t arg1 ;
|
switch_size_t arg1 ;
|
||||||
@ -10824,6 +10847,36 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_get_addr(char * jarg1, void * jarg2, void *
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT char * SWIGSTDCALL CSharp_get_addr6(char * jarg1, void * jarg2, void * jarg3, void * jarg4) {
|
||||||
|
char * jresult ;
|
||||||
|
char *arg1 = (char *) 0 ;
|
||||||
|
switch_size_t arg2 ;
|
||||||
|
sockaddr_in6 *arg3 = (sockaddr_in6 *) 0 ;
|
||||||
|
socklen_t arg4 ;
|
||||||
|
char *result = 0 ;
|
||||||
|
switch_size_t *argp2 ;
|
||||||
|
socklen_t *argp4 ;
|
||||||
|
|
||||||
|
arg1 = (char *)jarg1;
|
||||||
|
argp2 = (switch_size_t *)jarg2;
|
||||||
|
if (!argp2) {
|
||||||
|
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
arg2 = *argp2;
|
||||||
|
arg3 = (sockaddr_in6 *)jarg3;
|
||||||
|
argp4 = (socklen_t *)jarg4;
|
||||||
|
if (!argp4) {
|
||||||
|
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null socklen_t", 0);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
arg4 = *argp4;
|
||||||
|
result = (char *)get_addr6(arg1,arg2,arg3,arg4);
|
||||||
|
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_get_addr_int(void * jarg1) {
|
SWIGEXPORT int SWIGSTDCALL CSharp_get_addr_int(void * jarg1) {
|
||||||
int jresult ;
|
int jresult ;
|
||||||
switch_sockaddr_t *arg1 = (switch_sockaddr_t *) 0 ;
|
switch_sockaddr_t *arg1 = (switch_sockaddr_t *) 0 ;
|
||||||
@ -28377,6 +28430,18 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_parse_section_string(char
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_std_datetime_check(void * jarg1) {
|
||||||
|
int jresult ;
|
||||||
|
switch_xml_t arg1 = (switch_xml_t) 0 ;
|
||||||
|
int result;
|
||||||
|
|
||||||
|
arg1 = (switch_xml_t)jarg1;
|
||||||
|
result = (int)switch_xml_std_datetime_check(arg1);
|
||||||
|
jresult = result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_set(void * jarg1, void * jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_set(void * jarg1, void * jarg2) {
|
||||||
switch_io_event_hook_outgoing_channel *arg1 = (switch_io_event_hook_outgoing_channel *) 0 ;
|
switch_io_event_hook_outgoing_channel *arg1 = (switch_io_event_hook_outgoing_channel *) 0 ;
|
||||||
switch_outgoing_channel_hook_t arg2 = (switch_outgoing_channel_hook_t) 0 ;
|
switch_outgoing_channel_hook_t arg2 = (switch_outgoing_channel_hook_t) 0 ;
|
||||||
|
@ -1122,6 +1122,11 @@ public class freeswitch {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static uint switch_core_session_started(SWIGTYPE_p_switch_core_session session) {
|
||||||
|
uint ret = freeswitchPINVOKE.switch_core_session_started(SWIGTYPE_p_switch_core_session.getCPtr(session));
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
public static SWIGTYPE_p_void switch_core_perform_permanent_alloc(SWIGTYPE_p_switch_size_t memory, string file, string func, int line) {
|
public static SWIGTYPE_p_void switch_core_perform_permanent_alloc(SWIGTYPE_p_switch_size_t memory, string file, string func, int line) {
|
||||||
IntPtr cPtr = freeswitchPINVOKE.switch_core_perform_permanent_alloc(SWIGTYPE_p_switch_size_t.getCPtr(memory), file, func, line);
|
IntPtr cPtr = freeswitchPINVOKE.switch_core_perform_permanent_alloc(SWIGTYPE_p_switch_size_t.getCPtr(memory), file, func, line);
|
||||||
SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
|
SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
|
||||||
@ -2463,6 +2468,12 @@ public class freeswitch {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static string get_addr6(string buf, SWIGTYPE_p_switch_size_t len, SWIGTYPE_p_sockaddr_in6 sa, SWIGTYPE_p_socklen_t salen) {
|
||||||
|
string ret = freeswitchPINVOKE.get_addr6(buf, SWIGTYPE_p_switch_size_t.getCPtr(len), SWIGTYPE_p_sockaddr_in6.getCPtr(sa), SWIGTYPE_p_socklen_t.getCPtr(salen));
|
||||||
|
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
public static int get_addr_int(SWIGTYPE_p_switch_sockaddr_t sa) {
|
public static int get_addr_int(SWIGTYPE_p_switch_sockaddr_t sa) {
|
||||||
int ret = freeswitchPINVOKE.get_addr_int(SWIGTYPE_p_switch_sockaddr_t.getCPtr(sa));
|
int ret = freeswitchPINVOKE.get_addr_int(SWIGTYPE_p_switch_sockaddr_t.getCPtr(sa));
|
||||||
return ret;
|
return ret;
|
||||||
@ -4550,6 +4561,11 @@ public class freeswitch {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static int switch_xml_std_datetime_check(switch_xml xcond) {
|
||||||
|
int ret = freeswitchPINVOKE.switch_xml_std_datetime_check(switch_xml.getCPtr(xcond));
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
public static switch_status_t switch_core_event_hook_add_outgoing_channel(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t outgoing_channel) {
|
public static switch_status_t switch_core_event_hook_add_outgoing_channel(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t outgoing_channel) {
|
||||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.getCPtr(outgoing_channel));
|
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.getCPtr(outgoing_channel));
|
||||||
return ret;
|
return ret;
|
||||||
@ -4830,6 +4846,7 @@ public class freeswitch {
|
|||||||
public static readonly string SWITCH_API_HANGUP_HOOK_VARIABLE = freeswitchPINVOKE.SWITCH_API_HANGUP_HOOK_VARIABLE_get();
|
public static readonly string SWITCH_API_HANGUP_HOOK_VARIABLE = freeswitchPINVOKE.SWITCH_API_HANGUP_HOOK_VARIABLE_get();
|
||||||
public static readonly string SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE = freeswitchPINVOKE.SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get();
|
public static readonly string SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE = freeswitchPINVOKE.SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get();
|
||||||
public static readonly string SWITCH_PROCESS_CDR_VARIABLE = freeswitchPINVOKE.SWITCH_PROCESS_CDR_VARIABLE_get();
|
public static readonly string SWITCH_PROCESS_CDR_VARIABLE = freeswitchPINVOKE.SWITCH_PROCESS_CDR_VARIABLE_get();
|
||||||
|
public static readonly string SWITCH_FORCE_PROCESS_CDR_VARIABLE = freeswitchPINVOKE.SWITCH_FORCE_PROCESS_CDR_VARIABLE_get();
|
||||||
public static readonly string SWITCH_BRIDGE_CHANNEL_VARIABLE = freeswitchPINVOKE.SWITCH_BRIDGE_CHANNEL_VARIABLE_get();
|
public static readonly string SWITCH_BRIDGE_CHANNEL_VARIABLE = freeswitchPINVOKE.SWITCH_BRIDGE_CHANNEL_VARIABLE_get();
|
||||||
public static readonly string SWITCH_CHANNEL_NAME_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_NAME_VARIABLE_get();
|
public static readonly string SWITCH_CHANNEL_NAME_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_NAME_VARIABLE_get();
|
||||||
public static readonly string SWITCH_BRIDGE_UUID_VARIABLE = freeswitchPINVOKE.SWITCH_BRIDGE_UUID_VARIABLE_get();
|
public static readonly string SWITCH_BRIDGE_UUID_VARIABLE = freeswitchPINVOKE.SWITCH_BRIDGE_UUID_VARIABLE_get();
|
||||||
@ -5382,6 +5399,9 @@ class freeswitchPINVOKE {
|
|||||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PROCESS_CDR_VARIABLE_get")]
|
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PROCESS_CDR_VARIABLE_get")]
|
||||||
public static extern string SWITCH_PROCESS_CDR_VARIABLE_get();
|
public static extern string SWITCH_PROCESS_CDR_VARIABLE_get();
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_FORCE_PROCESS_CDR_VARIABLE_get")]
|
||||||
|
public static extern string SWITCH_FORCE_PROCESS_CDR_VARIABLE_get();
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_CHANNEL_VARIABLE_get")]
|
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_CHANNEL_VARIABLE_get")]
|
||||||
public static extern string SWITCH_BRIDGE_CHANNEL_VARIABLE_get();
|
public static extern string SWITCH_BRIDGE_CHANNEL_VARIABLE_get();
|
||||||
|
|
||||||
@ -6675,6 +6695,9 @@ class freeswitchPINVOKE {
|
|||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_running")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_running")]
|
||||||
public static extern uint switch_core_session_running(HandleRef jarg1);
|
public static extern uint switch_core_session_running(HandleRef jarg1);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_started")]
|
||||||
|
public static extern uint switch_core_session_started(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_permanent_alloc")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_permanent_alloc")]
|
||||||
public static extern IntPtr switch_core_perform_permanent_alloc(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
|
public static extern IntPtr switch_core_perform_permanent_alloc(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
|
||||||
|
|
||||||
@ -7644,6 +7667,9 @@ class freeswitchPINVOKE {
|
|||||||
[DllImport("mod_managed", EntryPoint="CSharp_get_addr")]
|
[DllImport("mod_managed", EntryPoint="CSharp_get_addr")]
|
||||||
public static extern string get_addr(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
|
public static extern string get_addr(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_get_addr6")]
|
||||||
|
public static extern string get_addr6(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_get_addr_int")]
|
[DllImport("mod_managed", EntryPoint="CSharp_get_addr_int")]
|
||||||
public static extern int get_addr_int(HandleRef jarg1);
|
public static extern int get_addr_int(HandleRef jarg1);
|
||||||
|
|
||||||
@ -11721,6 +11747,9 @@ class freeswitchPINVOKE {
|
|||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_section_string")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_section_string")]
|
||||||
public static extern uint switch_xml_parse_section_string(string jarg1);
|
public static extern uint switch_xml_parse_section_string(string jarg1);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_std_datetime_check")]
|
||||||
|
public static extern int switch_xml_std_datetime_check(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_set")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_set")]
|
||||||
public static extern void switch_io_event_hook_outgoing_channel_outgoing_channel_set(HandleRef jarg1, HandleRef jarg2);
|
public static extern void switch_io_event_hook_outgoing_channel_outgoing_channel_set(HandleRef jarg1, HandleRef jarg2);
|
||||||
|
|
||||||
@ -16131,6 +16160,36 @@ namespace FreeSWITCH.Native {
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
public class SWIGTYPE_p_sockaddr_in6 {
|
||||||
|
private HandleRef swigCPtr;
|
||||||
|
|
||||||
|
internal SWIGTYPE_p_sockaddr_in6(IntPtr cPtr, bool futureUse) {
|
||||||
|
swigCPtr = new HandleRef(this, cPtr);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected SWIGTYPE_p_sockaddr_in6() {
|
||||||
|
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||||
|
}
|
||||||
|
|
||||||
|
internal static HandleRef getCPtr(SWIGTYPE_p_sockaddr_in6 obj) {
|
||||||
|
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
/* ----------------------------------------------------------------------------
|
||||||
|
* 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 SWIGTYPE_p_socklen_t {
|
public class SWIGTYPE_p_socklen_t {
|
||||||
private HandleRef swigCPtr;
|
private HandleRef swigCPtr;
|
||||||
|
|
||||||
@ -21259,7 +21318,8 @@ namespace FreeSWITCH.Native {
|
|||||||
SCF_EARLY_HANGUP = (1 << 7),
|
SCF_EARLY_HANGUP = (1 << 7),
|
||||||
SCF_CALIBRATE_CLOCK = (1 << 8),
|
SCF_CALIBRATE_CLOCK = (1 << 8),
|
||||||
SCF_USE_HEAVY_TIMING = (1 << 9),
|
SCF_USE_HEAVY_TIMING = (1 << 9),
|
||||||
SCF_USE_CLOCK_RT = (1 << 10)
|
SCF_USE_CLOCK_RT = (1 << 10),
|
||||||
|
SCF_VERBOSE_EVENTS = (1 << 11)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -26949,7 +27009,8 @@ public enum switch_session_ctl_t {
|
|||||||
SCSC_CALIBRATE_CLOCK,
|
SCSC_CALIBRATE_CLOCK,
|
||||||
SCSC_SAVE_HISTORY,
|
SCSC_SAVE_HISTORY,
|
||||||
SCSC_CRASH,
|
SCSC_CRASH,
|
||||||
SCSC_MIN_IDLE_CPU
|
SCSC_MIN_IDLE_CPU,
|
||||||
|
SCSC_VERBOSE_EVENTS
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user