Have you ever had that dream? You know the one...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16616 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d98bed8ea0
commit
490eedec2a
|
@ -10284,13 +10284,13 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SMIN_get() {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_zstr(char * jarg1) {
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp__zstr(char * jarg1) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
int result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
result = (int)zstr((char const *)arg1);
|
||||
result = (int)_zstr((char const *)arg1);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
@ -24284,6 +24284,22 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_unload_grammar(void *
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_param_detect_speech(void * jarg1, char * jarg2, char * jarg3) {
|
||||
int jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *arg3 = (char *) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (char *)jarg3;
|
||||
result = (switch_status_t)switch_ivr_set_param_detect_speech(arg1,(char const *)arg2,(char const *)arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_record_session(void * jarg1, char * jarg2, unsigned long jarg3, void * jarg4) {
|
||||
int jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
|
@ -27141,6 +27157,29 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_flags_get(void * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_is_switch_xml_root_t_set(void * jarg1, int jarg2) {
|
||||
switch_xml *arg1 = (switch_xml *) 0 ;
|
||||
switch_bool_t arg2 ;
|
||||
|
||||
arg1 = (switch_xml *)jarg1;
|
||||
arg2 = (switch_bool_t)jarg2;
|
||||
if (arg1) (arg1)->is_switch_xml_root_t = arg2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_is_switch_xml_root_t_get(void * jarg1) {
|
||||
int jresult ;
|
||||
switch_xml *arg1 = (switch_xml *) 0 ;
|
||||
switch_bool_t result;
|
||||
|
||||
arg1 = (switch_xml *)jarg1;
|
||||
result = (switch_bool_t) ((arg1)->is_switch_xml_root_t);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_xml() {
|
||||
void * jresult ;
|
||||
switch_xml *result = 0 ;
|
||||
|
@ -27678,6 +27717,52 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_user_in_domain(char * jarg1,
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_user_merged(char * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, void * jarg6) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *arg3 = (char *) 0 ;
|
||||
char *arg4 = (char *) 0 ;
|
||||
switch_xml_t *arg5 = (switch_xml_t *) 0 ;
|
||||
switch_event_t *arg6 = (switch_event_t *) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (char *)jarg3;
|
||||
arg4 = (char *)jarg4;
|
||||
arg5 = (switch_xml_t *)jarg5;
|
||||
arg6 = (switch_event_t *)jarg6;
|
||||
result = (switch_status_t)switch_xml_locate_user_merged((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_merge_user(void * jarg1, void * jarg2, void * jarg3) {
|
||||
switch_xml_t arg1 = (switch_xml_t) 0 ;
|
||||
switch_xml_t arg2 = (switch_xml_t) 0 ;
|
||||
switch_xml_t arg3 = (switch_xml_t) 0 ;
|
||||
|
||||
arg1 = (switch_xml_t)jarg1;
|
||||
arg2 = (switch_xml_t)jarg2;
|
||||
arg3 = (switch_xml_t)jarg3;
|
||||
switch_xml_merge_user(arg1,arg2,arg3);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_dup(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_xml_t arg1 = (switch_xml_t) 0 ;
|
||||
switch_xml_t result;
|
||||
|
||||
arg1 = (switch_xml_t)jarg1;
|
||||
result = (switch_xml_t)switch_xml_dup(arg1);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_open_cfg(char * jarg1, void * jarg2, void * jarg3) {
|
||||
void * jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
|
|
|
@ -2367,8 +2367,8 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static int zstr(string s) {
|
||||
int ret = freeswitchPINVOKE.zstr(s);
|
||||
public static int _zstr(string s) {
|
||||
int ret = freeswitchPINVOKE._zstr(s);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -3550,6 +3550,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_ivr_set_param_detect_speech(SWIGTYPE_p_switch_core_session session, string name, string val) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_set_param_detect_speech(SWIGTYPE_p_switch_core_session.getCPtr(session), name, val);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_ivr_record_session(SWIGTYPE_p_switch_core_session session, string file, uint limit, switch_file_handle fh) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_record_session(SWIGTYPE_p_switch_core_session.getCPtr(session), file, limit, switch_file_handle.getCPtr(fh));
|
||||
return ret;
|
||||
|
@ -4408,6 +4413,21 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_xml_locate_user_merged(string key, string user_name, string domain_name, string ip, SWIGTYPE_p_p_switch_xml user, switch_event arg5) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_locate_user_merged(key, user_name, domain_name, ip, SWIGTYPE_p_p_switch_xml.getCPtr(user), switch_event.getCPtr(arg5));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_xml_merge_user(switch_xml user, switch_xml domain, switch_xml group) {
|
||||
freeswitchPINVOKE.switch_xml_merge_user(switch_xml.getCPtr(user), switch_xml.getCPtr(domain), switch_xml.getCPtr(group));
|
||||
}
|
||||
|
||||
public static switch_xml switch_xml_dup(switch_xml xml) {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_xml_dup(switch_xml.getCPtr(xml));
|
||||
switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_xml switch_xml_open_cfg(string file_path, SWIGTYPE_p_p_switch_xml node, switch_event arg2) {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_xml_open_cfg(file_path, SWIGTYPE_p_p_switch_xml.getCPtr(node), switch_event.getCPtr(arg2));
|
||||
switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false);
|
||||
|
@ -7427,8 +7447,8 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SMIN_get")]
|
||||
public static extern int SWITCH_SMIN_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_zstr")]
|
||||
public static extern int zstr(string jarg1);
|
||||
[DllImport("mod_managed", EntryPoint="CSharp__zstr")]
|
||||
public static extern int _zstr(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_is_moh")]
|
||||
public static extern int switch_is_moh(string jarg1);
|
||||
|
@ -10769,6 +10789,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_unload_grammar")]
|
||||
public static extern int switch_ivr_detect_speech_unload_grammar(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_set_param_detect_speech")]
|
||||
public static extern int switch_ivr_set_param_detect_speech(HandleRef jarg1, string jarg2, string jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_record_session")]
|
||||
public static extern int switch_ivr_record_session(HandleRef jarg1, string jarg2, uint jarg3, HandleRef jarg4);
|
||||
|
||||
|
@ -11360,6 +11383,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_flags_get")]
|
||||
public static extern uint switch_xml_flags_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_is_switch_xml_root_t_set")]
|
||||
public static extern void switch_xml_is_switch_xml_root_t_set(HandleRef jarg1, int jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_is_switch_xml_root_t_get")]
|
||||
public static extern int switch_xml_is_switch_xml_root_t_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_xml")]
|
||||
public static extern IntPtr new_switch_xml();
|
||||
|
||||
|
@ -11465,6 +11494,15 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_user_in_domain")]
|
||||
public static extern int switch_xml_locate_user_in_domain(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_user_merged")]
|
||||
public static extern int switch_xml_locate_user_merged(string jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5, HandleRef jarg6);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_merge_user")]
|
||||
public static extern void switch_xml_merge_user(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_dup")]
|
||||
public static extern IntPtr switch_xml_dup(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_open_cfg")]
|
||||
public static extern IntPtr switch_xml_open_cfg(string jarg1, HandleRef jarg2, HandleRef jarg3);
|
||||
|
||||
|
@ -28324,6 +28362,16 @@ public class switch_xml : IDisposable {
|
|||
}
|
||||
}
|
||||
|
||||
public switch_bool_t is_switch_xml_root_t {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_xml_is_switch_xml_root_t_set(swigCPtr, (int)value);
|
||||
}
|
||||
get {
|
||||
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_xml_is_switch_xml_root_t_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_xml() : this(freeswitchPINVOKE.new_switch_xml(), true) {
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue