mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-20 02:04:13 +00:00
swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14159 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
b75a25ee5f
commit
b76bb2d5a3
22 files changed
+160
-128
No files matched your search
@@ -555,7 +555,7 @@ public class EventConsumer : IDisposable {
|
||||
|
||||
public Event pop(int block) {
|
||||
IntPtr cPtr = freeswitchPINVOKE.EventConsumer_pop(swigCPtr, block);
|
||||
Event ret = (cPtr == IntPtr.Zero) ? null : new Event(cPtr, false);
|
||||
Event ret = (cPtr == IntPtr.Zero) ? null : new Event(cPtr, true);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -888,6 +888,10 @@ public class freeswitch {
|
||||
freeswitchPINVOKE.switch_core_media_bug_resume(SWIGTYPE_p_switch_core_session.getCPtr(session));
|
||||
}
|
||||
|
||||
public static void switch_core_media_bug_inuse(SWIGTYPE_p_switch_media_bug bug, SWIGTYPE_p_switch_size_t readp, SWIGTYPE_p_switch_size_t writep) {
|
||||
freeswitchPINVOKE.switch_core_media_bug_inuse(SWIGTYPE_p_switch_media_bug.getCPtr(bug), SWIGTYPE_p_switch_size_t.getCPtr(readp), SWIGTYPE_p_switch_size_t.getCPtr(writep));
|
||||
}
|
||||
|
||||
public static SWIGTYPE_p_void switch_core_media_bug_get_user_data(SWIGTYPE_p_switch_media_bug bug) {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_user_data(SWIGTYPE_p_switch_media_bug.getCPtr(bug));
|
||||
SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
|
||||
@@ -2341,6 +2345,11 @@ public class freeswitch {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static int switch_number_cmp(string exp, int val) {
|
||||
int ret = freeswitchPINVOKE.switch_number_cmp(exp, val);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_caller_extension switch_caller_extension_new(SWIGTYPE_p_switch_core_session session, string extension_name, string extension_number) {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_new(SWIGTYPE_p_switch_core_session.getCPtr(session), extension_name, extension_number);
|
||||
switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false);
|
||||
@@ -5817,6 +5826,9 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_resume")]
|
||||
public static extern void switch_core_media_bug_resume(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_inuse")]
|
||||
public static extern void switch_core_media_bug_inuse(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_user_data")]
|
||||
public static extern IntPtr switch_core_media_bug_get_user_data(HandleRef jarg1);
|
||||
|
||||
@@ -6702,6 +6714,9 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_validate_ip_token")]
|
||||
public static extern int switch_network_list_validate_ip_token(HandleRef jarg1, uint jarg2, ref string jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_number_cmp")]
|
||||
public static extern int switch_number_cmp(string jarg1, int jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_username_set")]
|
||||
public static extern void switch_caller_profile_username_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
|
||||
Reference in new issue
Block a user