mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
mostly trivial windows fixes for last several commits - anthm pthread_self in mod_dptools is not in scope for windows? commented out.
This commit is contained in:
@@ -8269,15 +8269,21 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_hupall(int jarg1) {
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_hupall_matching_var(char * jarg1, char * jarg2, int jarg3) {
|
||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_hupall_matching_var_ans(char * jarg1, char * jarg2, int jarg3, int jarg4) {
|
||||
unsigned long jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
switch_call_cause_t arg3 ;
|
||||
switch_hup_type_t arg4 ;
|
||||
uint32_t result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (switch_call_cause_t)jarg3;
|
||||
switch_core_session_hupall_matching_var((char const *)arg1,(char const *)arg2,arg3);
|
||||
arg4 = (switch_hup_type_t)jarg4;
|
||||
result = (uint32_t)switch_core_session_hupall_matching_var_ans((char const *)arg1,(char const *)arg2,arg3,arg4);
|
||||
jresult = (unsigned long)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1606,8 +1606,9 @@ public class freeswitch {
|
||||
freeswitchPINVOKE.switch_core_session_hupall((int)cause);
|
||||
}
|
||||
|
||||
public static void switch_core_session_hupall_matching_var(string var_name, string var_val, switch_call_cause_t cause) {
|
||||
freeswitchPINVOKE.switch_core_session_hupall_matching_var(var_name, var_val, (int)cause);
|
||||
public static uint switch_core_session_hupall_matching_var_ans(string var_name, string var_val, switch_call_cause_t cause, switch_hup_type_t type) {
|
||||
uint ret = freeswitchPINVOKE.switch_core_session_hupall_matching_var_ans(var_name, var_val, (int)cause, (int)type);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_console_callback_match switch_core_session_findall_matching_var(string var_name, string var_val) {
|
||||
@@ -8694,8 +8695,8 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hupall")]
|
||||
public static extern void switch_core_session_hupall(int jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hupall_matching_var")]
|
||||
public static extern void switch_core_session_hupall_matching_var(string jarg1, string jarg2, int jarg3);
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hupall_matching_var_ans")]
|
||||
public static extern uint switch_core_session_hupall_matching_var_ans(string jarg1, string jarg2, int jarg3, int jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_findall_matching_var")]
|
||||
public static extern IntPtr switch_core_session_findall_matching_var(string jarg1, string jarg2);
|
||||
@@ -28851,6 +28852,23 @@ public class switch_hold_record_t : IDisposable {
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
public enum switch_hup_type_t {
|
||||
SHT_NONE = 0,
|
||||
SHT_UNANSWERED = (1 << 0),
|
||||
SHT_ANSWERED = (1 << 1)
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.1
|
||||
*
|
||||
* 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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user