vs2010 reswig

This commit is contained in:
Jeff Lenk committed 2011-04-14 19:56:45 -05:00
1 parent 4e3f1b1e8e
commit 413d590fb6
2 files changed
+446 -9

No files matched your search

@@ -2422,6 +2422,10 @@ public class freeswitch {
return ret;
}
public static void switch_core_set_signal_handlers() {
freeswitchPINVOKE.switch_core_set_signal_handlers();
}
public static uint switch_core_debug_level() {
uint ret = freeswitchPINVOKE.switch_core_debug_level();
return ret;
@@ -2461,6 +2465,34 @@ public class freeswitch {
return ret;
}
public static string switch_say_file_handle_get_variable(SWIGTYPE_p_switch_say_file_handle sh, string var) {
string ret = freeswitchPINVOKE.switch_say_file_handle_get_variable(SWIGTYPE_p_switch_say_file_handle.getCPtr(sh), var);
return ret;
}
public static string switch_say_file_handle_get_path(SWIGTYPE_p_switch_say_file_handle sh) {
string ret = freeswitchPINVOKE.switch_say_file_handle_get_path(SWIGTYPE_p_switch_say_file_handle.getCPtr(sh));
return ret;
}
public static string switch_say_file_handle_detach_path(SWIGTYPE_p_switch_say_file_handle sh) {
string ret = freeswitchPINVOKE.switch_say_file_handle_detach_path(SWIGTYPE_p_switch_say_file_handle.getCPtr(sh));
return ret;
}
public static void switch_say_file_handle_destroy(SWIGTYPE_p_p_switch_say_file_handle sh) {
freeswitchPINVOKE.switch_say_file_handle_destroy(SWIGTYPE_p_p_switch_say_file_handle.getCPtr(sh));
}
public static switch_status_t switch_say_file_handle_create(SWIGTYPE_p_p_switch_say_file_handle sh, string ext, SWIGTYPE_p_p_switch_event var_event) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_say_file_handle_create(SWIGTYPE_p_p_switch_say_file_handle.getCPtr(sh), ext, SWIGTYPE_p_p_switch_event.getCPtr(var_event));
return ret;
}
public static void switch_say_file(SWIGTYPE_p_switch_say_file_handle sh, string fmt) {
freeswitchPINVOKE.switch_say_file(SWIGTYPE_p_switch_say_file_handle.getCPtr(sh), fmt);
}
public static switch_status_t switch_loadable_module_init(switch_bool_t autoload) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_loadable_module_init((int)autoload);
return ret;
@@ -2923,6 +2955,11 @@ public class freeswitch {
return ret;
}
public static string switch_clean_name_string(string s) {
string ret = freeswitchPINVOKE.switch_clean_name_string(s);
return ret;
}
public static string switch_safe_strdup(string it) {
string ret = freeswitchPINVOKE.switch_safe_strdup(it);
return ret;
@@ -3723,6 +3760,11 @@ public class freeswitch {
freeswitchPINVOKE.switch_channel_mark_hold(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)on);
}
public static switch_status_t switch_channel_execute_on(SWIGTYPE_p_switch_channel channel, string variable_prefix) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_execute_on(SWIGTYPE_p_switch_channel.getCPtr(channel), variable_prefix);
return ret;
}
public static switch_status_t switch_buffer_create(SWIGTYPE_p_apr_pool_t pool, SWIGTYPE_p_p_switch_buffer buffer, SWIGTYPE_p_switch_size_t max_len) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_buffer_create(SWIGTYPE_p_apr_pool_t.getCPtr(pool), SWIGTYPE_p_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_switch_size_t.getCPtr(max_len));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
@@ -3943,8 +3985,8 @@ public class freeswitch {
return ret;
}
public static switch_status_t switch_event_create_brackets(string data, char a, char b, char c, SWIGTYPE_p_p_switch_event arg4, ref string new_data) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_create_brackets(data, a, b, c, SWIGTYPE_p_p_switch_event.getCPtr(arg4), ref new_data);
public static switch_status_t switch_event_create_brackets(string data, char a, char b, char c, SWIGTYPE_p_p_switch_event arg4, ref string new_data, switch_bool_t dup) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_create_brackets(data, a, b, c, SWIGTYPE_p_p_switch_event.getCPtr(arg4), ref new_data, (int)dup);
return ret;
}
@@ -4519,6 +4561,11 @@ public class freeswitch {
return ret;
}
public static switch_status_t switch_ivr_say_string(SWIGTYPE_p_switch_core_session session, string lang, string ext, string tosay, string module_name, string say_type, string say_method, string say_gender, ref string rstr) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_say_string(SWIGTYPE_p_switch_core_session.getCPtr(session), lang, ext, tosay, module_name, say_type, say_method, say_gender, ref rstr);
return ret;
}
public static switch_say_method_t switch_ivr_get_say_method_by_name(string name) {
switch_say_method_t ret = (switch_say_method_t)freeswitchPINVOKE.switch_ivr_get_say_method_by_name(name);
return ret;
@@ -5535,6 +5582,7 @@ public class freeswitch {
public static readonly string SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE_get();
public static readonly string SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE_get();
public static readonly string SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get();
public static readonly string SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE_get();
public static readonly string SWITCH_CALL_TIMEOUT_VARIABLE = freeswitchPINVOKE.SWITCH_CALL_TIMEOUT_VARIABLE_get();
public static readonly string SWITCH_HOLDING_UUID_VARIABLE = freeswitchPINVOKE.SWITCH_HOLDING_UUID_VARIABLE_get();
public static readonly string SWITCH_SOFT_HOLDING_UUID_VARIABLE = freeswitchPINVOKE.SWITCH_SOFT_HOLDING_UUID_VARIABLE_get();
@@ -6086,6 +6134,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get")]
public static extern string SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get();
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE_get")]
public static extern string SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE_get();
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CALL_TIMEOUT_VARIABLE_get")]
public static extern string SWITCH_CALL_TIMEOUT_VARIABLE_get();
@@ -6920,6 +6971,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_gender_get")]
public static extern int switch_say_args_t_gender_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_ext_set")]
public static extern void switch_say_args_t_ext_set(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_ext_get")]
public static extern string switch_say_args_t_ext_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_say_args_t")]
public static extern IntPtr new_switch_say_args_t();
@@ -8336,6 +8393,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_persistant_execute_trans")]
public static extern int switch_cache_db_persistant_execute_trans(HandleRef jarg1, string jarg2, uint jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_set_signal_handlers")]
public static extern void switch_core_set_signal_handlers();
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_debug_level")]
public static extern uint switch_core_debug_level();
@@ -8360,6 +8420,24 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_expire_registration")]
public static extern int switch_core_expire_registration(int jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_get_variable")]
public static extern string switch_say_file_handle_get_variable(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_get_path")]
public static extern string switch_say_file_handle_get_path(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_detach_path")]
public static extern string switch_say_file_handle_detach_path(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_destroy")]
public static extern void switch_say_file_handle_destroy(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_create")]
public static extern int switch_say_file_handle_create(HandleRef jarg1, string jarg2, HandleRef jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_say_file")]
public static extern void switch_say_file(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_module_name_set")]
public static extern void switch_loadable_module_interface_module_name_set(HandleRef jarg1, string jarg2);
@@ -8768,6 +8846,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_clean_string")]
public static extern string switch_clean_string(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_clean_name_string")]
public static extern string switch_clean_name_string(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_safe_strdup")]
public static extern string switch_safe_strdup(string jarg1);
@@ -10550,6 +10631,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_say_function_get")]
public static extern IntPtr switch_say_interface_say_function_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_say_string_function_set")]
public static extern void switch_say_interface_say_string_function_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_say_string_function_get")]
public static extern IntPtr switch_say_interface_say_string_function_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_rwlock_set")]
public static extern void switch_say_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2);
@@ -11708,6 +11795,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_mark_hold")]
public static extern void switch_channel_mark_hold(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_execute_on")]
public static extern int switch_channel_execute_on(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_create")]
public static extern int switch_buffer_create(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
@@ -11949,7 +12039,7 @@ class freeswitchPINVOKE {
public static extern int switch_event_create_json(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_brackets")]
public static extern int switch_event_create_brackets(string jarg1, char jarg2, char jarg3, char jarg4, HandleRef jarg5, ref string jarg6);
public static extern int switch_event_create_brackets(string jarg1, char jarg2, char jarg3, char jarg4, HandleRef jarg5, ref string jarg6, int jarg7);
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_running")]
public static extern int switch_event_running();
@@ -12455,6 +12545,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_say")]
public static extern int switch_ivr_say(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, HandleRef jarg7);
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_say_string")]
public static extern int switch_ivr_say_string(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, ref string jarg9);
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_get_say_method_by_name")]
public static extern int switch_ivr_get_say_method_by_name(string jarg1);
@@ -12938,6 +13031,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_is_switch_xml_root_t_get")]
public static extern int switch_xml_is_switch_xml_root_t_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_refs_set")]
public static extern void switch_xml_refs_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_refs_get")]
public static extern uint switch_xml_refs_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_xml")]
public static extern IntPtr new_switch_xml();
@@ -15309,6 +15408,36 @@ namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t {
private HandleRef swigCPtr;
internal SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t(IntPtr cPtr, bool futureUse) {
swigCPtr = new HandleRef(this, cPtr);
}
protected SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t() {
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_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 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;
public class SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t {
private HandleRef swigCPtr;
@@ -17889,6 +18018,36 @@ namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_p_switch_say_file_handle {
private HandleRef swigCPtr;
internal SWIGTYPE_p_p_switch_say_file_handle(IntPtr cPtr, bool futureUse) {
swigCPtr = new HandleRef(this, cPtr);
}
protected SWIGTYPE_p_p_switch_say_file_handle() {
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_say_file_handle 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.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;
public class SWIGTYPE_p_p_switch_xml {
private HandleRef swigCPtr;
@@ -18909,6 +19068,36 @@ namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_switch_say_file_handle {
private HandleRef swigCPtr;
internal SWIGTYPE_p_switch_say_file_handle(IntPtr cPtr, bool futureUse) {
swigCPtr = new HandleRef(this, cPtr);
}
protected SWIGTYPE_p_switch_say_file_handle() {
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
internal static HandleRef getCPtr(SWIGTYPE_p_switch_say_file_handle 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.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;
public class SWIGTYPE_p_switch_size_t {
private HandleRef swigCPtr;
@@ -23123,7 +23312,8 @@ namespace FreeSWITCH.Native {
SCF_VERBOSE_EVENTS = (1 << 11),
SCF_USE_WIN32_MONOTONIC = (1 << 12),
SCF_AUTO_SCHEMAS = (1 << 13),
SCF_MINIMAL = (1 << 14)
SCF_MINIMAL = (1 << 14),
SCF_USE_NAT_MAPPING = (1 << 15)
}
}
@@ -28791,7 +28981,7 @@ namespace FreeSWITCH.Native {
SWITCH_RTP_FLAG_NOBLOCK = (1 << 0),
SWITCH_RTP_FLAG_IO = (1 << 1),
SWITCH_RTP_FLAG_USE_TIMER = (1 << 2),
SWITCH_RTP_FLAG_TIMER_RECLOCK = (1 << 3),
SWITCH_RTP_FLAG_RTCP_PASSTHRU = (1 << 3),
SWITCH_RTP_FLAG_SECURE_SEND = (1 << 4),
SWITCH_RTP_FLAG_SECURE_RECV = (1 << 5),
SWITCH_RTP_FLAG_AUTOADJ = (1 << 6),
@@ -28818,8 +29008,7 @@ namespace FreeSWITCH.Native {
SWITCH_RTP_FLAG_DEBUG_RTP_READ = (1 << 27),
SWITCH_RTP_FLAG_DEBUG_RTP_WRITE = (1 << 28),
SWITCH_RTP_FLAG_VIDEO = (1 << 29),
SWITCH_RTP_FLAG_ENABLE_RTCP = (1 << 30),
SWITCH_RTP_FLAG_RTCP_PASSTHRU = (1 << 31)
SWITCH_RTP_FLAG_ENABLE_RTCP = (1 << 30)
}
}
@@ -29291,6 +29480,16 @@ public class switch_say_args_t : IDisposable {
}
}
public string ext {
set {
freeswitchPINVOKE.switch_say_args_t_ext_set(swigCPtr, value);
}
get {
string ret = freeswitchPINVOKE.switch_say_args_t_ext_get(swigCPtr);
return ret;
}
}
public switch_say_args_t() : this(freeswitchPINVOKE.new_switch_say_args_t(), true) {
}
@@ -29378,6 +29577,17 @@ public class switch_say_interface : IDisposable {
}
}
public SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t say_string_function {
set {
freeswitchPINVOKE.switch_say_interface_say_string_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_say_string_function_get(swigCPtr);
SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t(cPtr, false);
return ret;
}
}
public SWIGTYPE_p_switch_thread_rwlock_t rwlock {
set {
freeswitchPINVOKE.switch_say_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value));
@@ -31672,6 +31882,16 @@ public class switch_xml : IDisposable {
}
}
public uint refs {
set {
freeswitchPINVOKE.switch_xml_refs_set(swigCPtr, value);
}
get {
uint ret = freeswitchPINVOKE.switch_xml_refs_get(swigCPtr);
return ret;
}
}
public switch_xml() : this(freeswitchPINVOKE.new_switch_xml(), true) {
}