This commit is contained in:
Brian West committed 2011-05-23 10:56:22 -05:00
1 parent 765908f356
commit 34a008d2d7
2 files changed
+331

No files matched your search

@@ -1151,6 +1151,16 @@ public class freeswitch {
return ret;
}
public static int switch_core_curl_count(SWIGTYPE_p_int val) {
int ret = freeswitchPINVOKE.switch_core_curl_count(SWIGTYPE_p_int.getCPtr(val));
return ret;
}
public static int switch_core_ssl_count(SWIGTYPE_p_int val) {
int ret = freeswitchPINVOKE.switch_core_ssl_count(SWIGTYPE_p_int.getCPtr(val));
return ret;
}
public static void switch_core_remove_state_handler(switch_state_handler_table state_handler) {
freeswitchPINVOKE.switch_core_remove_state_handler(switch_state_handler_table.getCPtr(state_handler));
}
@@ -7272,6 +7282,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_arg_get")]
public static extern string switch_app_log_arg_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_stamp_set")]
public static extern void switch_app_log_stamp_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_stamp_get")]
public static extern IntPtr switch_app_log_stamp_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_next_set")]
public static extern void switch_app_log_next_set(HandleRef jarg1, HandleRef jarg2);
@@ -7566,6 +7582,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_add_state_handler")]
public static extern int switch_core_add_state_handler(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_curl_count")]
public static extern int switch_core_curl_count(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_ssl_count")]
public static extern int switch_core_ssl_count(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_remove_state_handler")]
public static extern void switch_core_remove_state_handler(HandleRef jarg1);
@@ -9009,6 +9031,30 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_split_user_domain")]
public static extern int switch_split_user_domain(string jarg1, ref string jarg2, ref string jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_var_set")]
public static extern void profile_node_t_var_set(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_var_get")]
public static extern string profile_node_t_var_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_val_set")]
public static extern void profile_node_t_val_set(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_val_get")]
public static extern string profile_node_t_val_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_next_set")]
public static extern void profile_node_t_next_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_next_get")]
public static extern IntPtr profile_node_t_next_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_new_profile_node_t")]
public static extern IntPtr new_profile_node_t();
[DllImport("mod_managed", EntryPoint="CSharp_delete_profile_node_t")]
public static extern void delete_profile_node_t(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_username_set")]
public static extern void switch_caller_profile_username_set(HandleRef jarg1, string jarg2);
@@ -9213,6 +9259,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_direction_get")]
public static extern int switch_caller_profile_direction_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_soft_set")]
public static extern void switch_caller_profile_soft_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_soft_get")]
public static extern IntPtr switch_caller_profile_soft_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_caller_profile")]
public static extern IntPtr new_switch_caller_profile();
@@ -14456,6 +14508,84 @@ public partial class ManagedSession : CoreSession {
namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class profile_node_t : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal profile_node_t(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(profile_node_t obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~profile_node_t() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
swigCMemOwn = false;
freeswitchPINVOKE.delete_profile_node_t(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
GC.SuppressFinalize(this);
}
}
public string var {
set {
freeswitchPINVOKE.profile_node_t_var_set(swigCPtr, value);
}
get {
string ret = freeswitchPINVOKE.profile_node_t_var_get(swigCPtr);
return ret;
}
}
public string val {
set {
freeswitchPINVOKE.profile_node_t_val_set(swigCPtr, value);
}
get {
string ret = freeswitchPINVOKE.profile_node_t_val_get(swigCPtr);
return ret;
}
}
public profile_node_t next {
set {
freeswitchPINVOKE.profile_node_t_next_set(swigCPtr, profile_node_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.profile_node_t_next_get(swigCPtr);
profile_node_t ret = (cPtr == IntPtr.Zero) ? null : new profile_node_t(cPtr, false);
return ret;
}
}
public profile_node_t() : this(freeswitchPINVOKE.new_profile_node_t(), 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 {
[System.Flags] public enum session_flag_t {
S_HUP = (1 << 0),
S_FREE = (1 << 1),
@@ -19936,6 +20066,18 @@ public class switch_app_log : IDisposable {
}
}
public SWIGTYPE_p_switch_time_t stamp {
set {
freeswitchPINVOKE.switch_app_log_stamp_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
}
get {
SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_app_log_stamp_get(swigCPtr), true);
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
}
public switch_app_log next {
set {
freeswitchPINVOKE.switch_app_log_next_set(swigCPtr, switch_app_log.getCPtr(value));
@@ -21775,6 +21917,17 @@ public class switch_caller_profile : IDisposable {
}
}
public profile_node_t soft {
set {
freeswitchPINVOKE.switch_caller_profile_soft_set(swigCPtr, profile_node_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_soft_get(swigCPtr);
profile_node_t ret = (cPtr == IntPtr.Zero) ? null : new profile_node_t(cPtr, false);
return ret;
}
}
public switch_caller_profile() : this(freeswitchPINVOKE.new_switch_caller_profile(), true) {
}