forked from Mirrors/freeswitch
swigall
This commit is contained in:
parent
2b1203115a
commit
d2a29d2c4c
@ -1235,6 +1235,17 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_HANGUP_HOOK_VARIABLE_get() {
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_REPORTING_HOOK_VARIABLE_get() {
|
||||
char * jresult ;
|
||||
char *result = 0 ;
|
||||
|
||||
result = (char *) "api_reporting_hook";
|
||||
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get() {
|
||||
char * jresult ;
|
||||
char *result = 0 ;
|
||||
@ -6981,6 +6992,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_loglevel(void * jarg1)
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_soft_lock(void * jarg1, unsigned long jarg2) {
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
switch_core_session_soft_lock(arg1,arg2);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_soft_unlock(void * jarg1) {
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
switch_core_session_soft_unlock(arg1);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_uuid() {
|
||||
char * jresult ;
|
||||
char *result = 0 ;
|
||||
@ -9236,6 +9265,16 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_setrlimits() {
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_time_ref() {
|
||||
void * jresult ;
|
||||
switch_time_t result;
|
||||
|
||||
result = switch_time_ref();
|
||||
jresult = new switch_time_t((switch_time_t &)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_sync() {
|
||||
switch_time_sync();
|
||||
}
|
||||
@ -18859,6 +18898,29 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_status_get(void * ja
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_interval_reset_set(void * jarg1, void * jarg2) {
|
||||
switch_limit_interface *arg1 = (switch_limit_interface *) 0 ;
|
||||
switch_status_t (*arg2)(char const *,char const *) = (switch_status_t (*)(char const *,char const *)) 0 ;
|
||||
|
||||
arg1 = (switch_limit_interface *)jarg1;
|
||||
arg2 = (switch_status_t (*)(char const *,char const *))jarg2;
|
||||
if (arg1) (arg1)->interval_reset = arg2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_interval_reset_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_limit_interface *arg1 = (switch_limit_interface *) 0 ;
|
||||
switch_status_t (*result)(char const *,char const *) = 0 ;
|
||||
|
||||
arg1 = (switch_limit_interface *)jarg1;
|
||||
result = (switch_status_t (*)(char const *,char const *)) ((arg1)->interval_reset);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_rwlock_set(void * jarg1, void * jarg2) {
|
||||
switch_limit_interface *arg1 = (switch_limit_interface *) 0 ;
|
||||
switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ;
|
||||
|
@ -1283,6 +1283,14 @@ public class freeswitch {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_core_session_soft_lock(SWIGTYPE_p_switch_core_session session, uint sec) {
|
||||
freeswitchPINVOKE.switch_core_session_soft_lock(SWIGTYPE_p_switch_core_session.getCPtr(session), sec);
|
||||
}
|
||||
|
||||
public static void switch_core_session_soft_unlock(SWIGTYPE_p_switch_core_session session) {
|
||||
freeswitchPINVOKE.switch_core_session_soft_unlock(SWIGTYPE_p_switch_core_session.getCPtr(session));
|
||||
}
|
||||
|
||||
public static string switch_core_get_uuid() {
|
||||
string ret = freeswitchPINVOKE.switch_core_get_uuid();
|
||||
return ret;
|
||||
@ -2097,6 +2105,11 @@ public class freeswitch {
|
||||
freeswitchPINVOKE.switch_core_setrlimits();
|
||||
}
|
||||
|
||||
public static SWIGTYPE_p_switch_time_t switch_time_ref() {
|
||||
SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_time_ref(), true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_time_sync() {
|
||||
freeswitchPINVOKE.switch_time_sync();
|
||||
}
|
||||
@ -4946,6 +4959,7 @@ public class freeswitch {
|
||||
public static readonly string SWITCH_SOFT_HOLDING_UUID_VARIABLE = freeswitchPINVOKE.SWITCH_SOFT_HOLDING_UUID_VARIABLE_get();
|
||||
public static readonly string SWITCH_API_BRIDGE_END_VARIABLE = freeswitchPINVOKE.SWITCH_API_BRIDGE_END_VARIABLE_get();
|
||||
public static readonly string SWITCH_API_HANGUP_HOOK_VARIABLE = freeswitchPINVOKE.SWITCH_API_HANGUP_HOOK_VARIABLE_get();
|
||||
public static readonly string SWITCH_API_REPORTING_HOOK_VARIABLE = freeswitchPINVOKE.SWITCH_API_REPORTING_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_FORCE_PROCESS_CDR_VARIABLE = freeswitchPINVOKE.SWITCH_FORCE_PROCESS_CDR_VARIABLE_get();
|
||||
@ -5495,6 +5509,9 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_API_HANGUP_HOOK_VARIABLE_get")]
|
||||
public static extern string SWITCH_API_HANGUP_HOOK_VARIABLE_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_API_REPORTING_HOOK_VARIABLE_get")]
|
||||
public static extern string SWITCH_API_REPORTING_HOOK_VARIABLE_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get")]
|
||||
public static extern string SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get();
|
||||
|
||||
@ -6899,6 +6916,12 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_loglevel")]
|
||||
public static extern int switch_core_session_get_loglevel(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_soft_lock")]
|
||||
public static extern void switch_core_session_soft_lock(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_soft_unlock")]
|
||||
public static extern void switch_core_session_soft_unlock(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_uuid")]
|
||||
public static extern string switch_core_get_uuid();
|
||||
|
||||
@ -7394,6 +7417,9 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_setrlimits")]
|
||||
public static extern void switch_core_setrlimits();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_time_ref")]
|
||||
public static extern IntPtr switch_time_ref();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_time_sync")]
|
||||
public static extern void switch_time_sync();
|
||||
|
||||
@ -9719,6 +9745,12 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_status_get")]
|
||||
public static extern IntPtr switch_limit_interface_status_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_interval_reset_set")]
|
||||
public static extern void switch_limit_interface_interval_reset_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_interval_reset_get")]
|
||||
public static extern IntPtr switch_limit_interface_interval_reset_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_rwlock_set")]
|
||||
public static extern void switch_limit_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
@ -13505,6 +13537,36 @@ namespace FreeSWITCH.Native {
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t() {
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t 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_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
@ -25835,6 +25897,17 @@ public class switch_limit_interface : IDisposable {
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t interval_reset {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_limit_interface_interval_reset_set(swigCPtr, SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_interval_reset_get(swigCPtr);
|
||||
SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_switch_thread_rwlock_t rwlock {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_limit_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value));
|
||||
|
Loading…
Reference in New Issue
Block a user