This commit is contained in:
Anthony Minessale committed 2013-05-23 09:53:50 -05:00
1 parent 606e197ac6
commit e169212319
2 files changed
+197 -1

No files matched your search

+101 -1
View File
@@ -1021,6 +1021,17 @@ public class freeswitch {
}
}
public static switch_filenames SWITCH_GLOBAL_filenames {
set {
freeswitchPINVOKE.SWITCH_GLOBAL_filenames_set(switch_filenames.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.SWITCH_GLOBAL_filenames_get();
switch_filenames ret = (cPtr == IntPtr.Zero) ? null : new switch_filenames(cPtr, false);
return ret;
}
}
public static int switch_core_db_close(SWIGTYPE_p_sqlite3 db) {
int ret = freeswitchPINVOKE.switch_core_db_close(SWIGTYPE_p_sqlite3.getCPtr(db));
return ret;
@@ -2998,6 +3009,11 @@ public class freeswitch {
return ret;
}
public static void switch_core_gen_encoded_silence(SWIGTYPE_p_unsigned_char data, switch_codec_implementation read_impl, SWIGTYPE_p_switch_size_t len) {
freeswitchPINVOKE.switch_core_gen_encoded_silence(SWIGTYPE_p_unsigned_char.getCPtr(data), switch_codec_implementation.getCPtr(read_impl), SWIGTYPE_p_switch_size_t.getCPtr(len));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
}
public static switch_cache_db_handle_type_t switch_core_dbtype() {
switch_cache_db_handle_type_t ret = (switch_cache_db_handle_type_t)freeswitchPINVOKE.switch_core_dbtype();
return ret;
@@ -4580,6 +4596,10 @@ public class freeswitch {
return ret;
}
public static void switch_channel_handle_cause(SWIGTYPE_p_switch_channel channel, switch_call_cause_t cause) {
freeswitchPINVOKE.switch_channel_handle_cause(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)cause);
}
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();
@@ -7659,6 +7679,24 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_GLOBAL_dirs_get")]
public static extern IntPtr SWITCH_GLOBAL_dirs_get();
[DllImport("mod_managed", EntryPoint="CSharp_switch_filenames_conf_name_set")]
public static extern void switch_filenames_conf_name_set(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_filenames_conf_name_get")]
public static extern string switch_filenames_conf_name_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_filenames")]
public static extern IntPtr new_switch_filenames();
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_filenames")]
public static extern void delete_switch_filenames(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_GLOBAL_filenames_set")]
public static extern void SWITCH_GLOBAL_filenames_set(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_GLOBAL_filenames_get")]
public static extern IntPtr SWITCH_GLOBAL_filenames_get();
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_STACKS_get")]
public static extern int SWITCH_MAX_STACKS_get();
@@ -9984,6 +10022,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_stacksizes")]
public static extern int switch_core_get_stacksizes(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_gen_encoded_silence")]
public static extern void switch_core_gen_encoded_silence(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_dbtype")]
public static extern int switch_core_dbtype();
@@ -13782,6 +13823,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_state_thread_trylock")]
public static extern int switch_channel_state_thread_trylock(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_handle_cause")]
public static extern void switch_channel_handle_cause(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_create")]
public static extern int switch_buffer_create(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
@@ -25366,7 +25410,6 @@ public enum switch_channel_flag_t {
CF_MEDIA_TRANS,
CF_HOLD_ON_BRIDGE,
CF_SECURE,
CF_CRYPTO_RECOVER,
CF_LIBERAL_DTMF,
CF_SLA_BARGE,
CF_SLA_BARGING,
@@ -29582,6 +29625,63 @@ namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class switch_filenames : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal switch_filenames(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(switch_filenames obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~switch_filenames() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false;
freeswitchPINVOKE.delete_switch_filenames(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this);
}
}
public string conf_name {
set {
freeswitchPINVOKE.switch_filenames_conf_name_set(swigCPtr, value);
}
get {
string ret = freeswitchPINVOKE.switch_filenames_conf_name_get(swigCPtr);
return ret;
}
}
public switch_filenames() : this(freeswitchPINVOKE.new_switch_filenames(), 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_frame : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;