git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12558 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2009-03-10 21:38:45 +00:00
1 parent 51a8cb2827
commit ff13ccc23f
2 files changed
+127 -1

No files matched your search

+70 -1
View File
@@ -817,6 +817,12 @@ public class freeswitch {
return ret;
}
public static string switch_vmprintf(string zFormat, SWIGTYPE_p_va_list ap) {
string ret = freeswitchPINVOKE.switch_vmprintf(zFormat, SWIGTYPE_p_va_list.getCPtr(ap));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public static SWIGTYPE_p_real_pcre switch_regex_compile(string pattern, int options, ref string errorptr, SWIGTYPE_p_int erroroffset, SWIGTYPE_p_unsigned_char tables) {
IntPtr cPtr = freeswitchPINVOKE.switch_regex_compile(pattern, options, ref errorptr, SWIGTYPE_p_int.getCPtr(erroroffset), SWIGTYPE_p_unsigned_char.getCPtr(tables));
SWIGTYPE_p_real_pcre ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_real_pcre(cPtr, false);
@@ -924,6 +930,11 @@ public class freeswitch {
return ret;
}
public static switch_status_t switch_core_media_bug_remove_callback(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t callback) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_remove_callback(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t.getCPtr(callback));
return ret;
}
public static switch_status_t switch_core_media_bug_close(SWIGTYPE_p_p_switch_media_bug bug) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_close(SWIGTYPE_p_p_switch_media_bug.getCPtr(bug));
return ret;
@@ -5340,6 +5351,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_mprintf")]
public static extern string switch_mprintf(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_vmprintf")]
public static extern string switch_vmprintf(string jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_regex_compile")]
public static extern IntPtr switch_regex_compile(string jarg1, int jarg2, ref string jarg3, HandleRef jarg4, HandleRef jarg5);
@@ -5622,6 +5636,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_remove")]
public static extern int switch_core_media_bug_remove(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_remove_callback")]
public static extern int switch_core_media_bug_remove_callback(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_close")]
public static extern int switch_core_media_bug_close(HandleRef jarg1);
@@ -6873,6 +6890,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_park_get")]
public static extern IntPtr switch_state_handler_table_on_park_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_reporting_set")]
public static extern void switch_state_handler_table_on_reporting_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_reporting_get")]
public static extern IntPtr switch_state_handler_table_on_reporting_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_padding_set")]
public static extern void switch_state_handler_table_padding_set(HandleRef jarg1, HandleRef jarg2);
@@ -15384,6 +15407,36 @@ namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_va_list {
private HandleRef swigCPtr;
internal SWIGTYPE_p_va_list(IntPtr cPtr, bool futureUse) {
swigCPtr = new HandleRef(this, cPtr);
}
protected SWIGTYPE_p_va_list() {
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
internal static HandleRef getCPtr(SWIGTYPE_p_va_list 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_void {
private HandleRef swigCPtr;
@@ -17230,6 +17283,7 @@ public class switch_caller_profile : IDisposable {
namespace FreeSWITCH.Native {
[System.Flags] public enum switch_caller_profile_flag_enum_t {
SWITCH_CPF_NONE = 0,
SWITCH_CPF_SCREEN = (1 << 0),
SWITCH_CPF_HIDE_NAME = (1 << 1),
SWITCH_CPF_HIDE_NUMBER = (1 << 2)
@@ -17294,6 +17348,7 @@ public enum switch_channel_flag_t {
CF_VERBOSE_EVENTS,
CF_PAUSE_BUGS,
CF_DIVERT_EVENTS,
CF_BLOCK_STATE,
CF_FLAG_MAX
}
@@ -17320,6 +17375,7 @@ public enum switch_channel_state_t {
CS_HIBERNATE,
CS_RESET,
CS_HANGUP,
CS_REPORTING,
CS_DONE,
CS_NONE
}
@@ -20058,6 +20114,7 @@ namespace FreeSWITCH.Native {
public enum switch_event_types_t {
SWITCH_EVENT_CUSTOM,
SWITCH_EVENT_CLONE,
SWITCH_EVENT_CHANNEL_CREATE,
SWITCH_EVENT_CHANNEL_DESTROY,
SWITCH_EVENT_CHANNEL_STATE,
@@ -24071,7 +24128,8 @@ public enum switch_state_handler_name_t {
SWITCH_SHN_ON_CONSUME_MEDIA,
SWITCH_SHN_ON_HIBERNATE,
SWITCH_SHN_ON_RESET,
SWITCH_SHN_ON_PARK
SWITCH_SHN_ON_PARK,
SWITCH_SHN_ON_REPORTING
}
}
@@ -24226,6 +24284,17 @@ public class switch_state_handler_table : IDisposable {
}
}
public SWIGTYPE_p_f_p_switch_core_session__switch_status_t on_reporting {
set {
freeswitchPINVOKE.switch_state_handler_table_on_reporting_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_reporting_get(swigCPtr);
SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false);
return ret;
}
}
public SWIGTYPE_p_p_void padding {
set {
freeswitchPINVOKE.switch_state_handler_table_padding_set(swigCPtr, SWIGTYPE_p_p_void.getCPtr(value));