swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11327 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d0e5a5e3ec
commit
3a4f8d8a4a
|
@ -7817,6 +7817,32 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cond_next() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_send(char * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8) {
|
||||||
|
int jresult ;
|
||||||
|
char *arg1 = (char *) 0 ;
|
||||||
|
char *arg2 = (char *) 0 ;
|
||||||
|
char *arg3 = (char *) 0 ;
|
||||||
|
char *arg4 = (char *) 0 ;
|
||||||
|
char *arg5 = (char *) 0 ;
|
||||||
|
char *arg6 = (char *) 0 ;
|
||||||
|
char *arg7 = (char *) 0 ;
|
||||||
|
char *arg8 = (char *) 0 ;
|
||||||
|
switch_status_t result;
|
||||||
|
|
||||||
|
arg1 = (char *)jarg1;
|
||||||
|
arg2 = (char *)jarg2;
|
||||||
|
arg3 = (char *)jarg3;
|
||||||
|
arg4 = (char *)jarg4;
|
||||||
|
arg5 = (char *)jarg5;
|
||||||
|
arg6 = (char *)jarg6;
|
||||||
|
arg7 = (char *)jarg7;
|
||||||
|
arg8 = (char *)jarg8;
|
||||||
|
result = (switch_status_t)switch_core_chat_send((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8);
|
||||||
|
jresult = result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CMD_CHUNK_LEN_get() {
|
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CMD_CHUNK_LEN_get() {
|
||||||
int jresult ;
|
int jresult ;
|
||||||
int result;
|
int result;
|
||||||
|
@ -14764,10 +14790,10 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_interface_interface_name_get(vo
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_chat_send_set(void * jarg1, void * jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_chat_send_set(void * jarg1, void * jarg2) {
|
||||||
switch_chat_interface *arg1 = (switch_chat_interface *) 0 ;
|
switch_chat_interface *arg1 = (switch_chat_interface *) 0 ;
|
||||||
switch_status_t (*arg2)(char *,char *,char *,char *,char *,char *) = (switch_status_t (*)(char *,char *,char *,char *,char *,char *)) 0 ;
|
switch_status_t (*arg2)(char const *,char const *,char const *,char const *,char const *,char const *,char const *) = (switch_status_t (*)(char const *,char const *,char const *,char const *,char const *,char const *,char const *)) 0 ;
|
||||||
|
|
||||||
arg1 = (switch_chat_interface *)jarg1;
|
arg1 = (switch_chat_interface *)jarg1;
|
||||||
arg2 = (switch_status_t (*)(char *,char *,char *,char *,char *,char *))jarg2;
|
arg2 = (switch_status_t (*)(char const *,char const *,char const *,char const *,char const *,char const *,char const *))jarg2;
|
||||||
if (arg1) (arg1)->chat_send = arg2;
|
if (arg1) (arg1)->chat_send = arg2;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -14776,10 +14802,10 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_chat_send_set(void * ja
|
||||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_chat_send_get(void * jarg1) {
|
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_chat_send_get(void * jarg1) {
|
||||||
void * jresult ;
|
void * jresult ;
|
||||||
switch_chat_interface *arg1 = (switch_chat_interface *) 0 ;
|
switch_chat_interface *arg1 = (switch_chat_interface *) 0 ;
|
||||||
switch_status_t (*result)(char *,char *,char *,char *,char *,char *) = 0 ;
|
switch_status_t (*result)(char const *,char const *,char const *,char const *,char const *,char const *,char const *) = 0 ;
|
||||||
|
|
||||||
arg1 = (switch_chat_interface *)jarg1;
|
arg1 = (switch_chat_interface *)jarg1;
|
||||||
result = (switch_status_t (*)(char *,char *,char *,char *,char *,char *)) ((arg1)->chat_send);
|
result = (switch_status_t (*)(char const *,char const *,char const *,char const *,char const *,char const *,char const *)) ((arg1)->chat_send);
|
||||||
jresult = (void *)result;
|
jresult = (void *)result;
|
||||||
return jresult;
|
return jresult;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1943,6 +1943,11 @@ public class freeswitch {
|
||||||
freeswitchPINVOKE.switch_cond_next();
|
freeswitchPINVOKE.switch_cond_next();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static switch_status_t switch_core_chat_send(string name, string proto, string from, string to, string subject, string body, string type, string hint) {
|
||||||
|
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_chat_send(name, proto, from, to, subject, body, type, hint);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
public static void switch_console_loop() {
|
public static void switch_console_loop() {
|
||||||
freeswitchPINVOKE.switch_console_loop();
|
freeswitchPINVOKE.switch_console_loop();
|
||||||
}
|
}
|
||||||
|
@ -6183,6 +6188,9 @@ class freeswitchPINVOKE {
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_cond_next")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_cond_next")]
|
||||||
public static extern void switch_cond_next();
|
public static extern void switch_cond_next();
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_chat_send")]
|
||||||
|
public static extern int switch_core_chat_send(string jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CMD_CHUNK_LEN_get")]
|
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CMD_CHUNK_LEN_get")]
|
||||||
public static extern int SWITCH_CMD_CHUNK_LEN_get();
|
public static extern int SWITCH_CMD_CHUNK_LEN_get();
|
||||||
|
|
||||||
|
@ -11286,36 +11294,6 @@ namespace FreeSWITCH.Native {
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
public class SWIGTYPE_p_f_p_char_p_char_p_char_p_char_p_char_p_char__switch_status_t {
|
|
||||||
private HandleRef swigCPtr;
|
|
||||||
|
|
||||||
internal SWIGTYPE_p_f_p_char_p_char_p_char_p_char_p_char_p_char__switch_status_t(IntPtr cPtr, bool futureUse) {
|
|
||||||
swigCPtr = new HandleRef(this, cPtr);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected SWIGTYPE_p_f_p_char_p_char_p_char_p_char_p_char_p_char__switch_status_t() {
|
|
||||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
|
||||||
}
|
|
||||||
|
|
||||||
internal static HandleRef getCPtr(SWIGTYPE_p_f_p_char_p_char_p_char_p_char_p_char_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 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_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t {
|
public class SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t {
|
||||||
private HandleRef swigCPtr;
|
private HandleRef swigCPtr;
|
||||||
|
|
||||||
|
@ -11376,6 +11354,36 @@ namespace FreeSWITCH.Native {
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t {
|
||||||
|
private HandleRef swigCPtr;
|
||||||
|
|
||||||
|
internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) {
|
||||||
|
swigCPtr = new HandleRef(this, cPtr);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t() {
|
||||||
|
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||||
|
}
|
||||||
|
|
||||||
|
internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__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 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_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml {
|
public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml {
|
||||||
private HandleRef swigCPtr;
|
private HandleRef swigCPtr;
|
||||||
|
|
||||||
|
@ -17410,13 +17418,13 @@ public class switch_chat_interface : IDisposable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public SWIGTYPE_p_f_p_char_p_char_p_char_p_char_p_char_p_char__switch_status_t chat_send {
|
public SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t chat_send {
|
||||||
set {
|
set {
|
||||||
freeswitchPINVOKE.switch_chat_interface_chat_send_set(swigCPtr, SWIGTYPE_p_f_p_char_p_char_p_char_p_char_p_char_p_char__switch_status_t.getCPtr(value));
|
freeswitchPINVOKE.switch_chat_interface_chat_send_set(swigCPtr, SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t.getCPtr(value));
|
||||||
}
|
}
|
||||||
get {
|
get {
|
||||||
IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_chat_send_get(swigCPtr);
|
IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_chat_send_get(swigCPtr);
|
||||||
SWIGTYPE_p_f_p_char_p_char_p_char_p_char_p_char_p_char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_char_p_char_p_char_p_char_p_char_p_char__switch_status_t(cPtr, false);
|
SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char__switch_status_t(cPtr, false);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue