git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14977 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West committed 2009-09-25 17:02:46 +00:00
1 parent ab207b72d3
commit bd668c8d30
10 files changed
+149 -5

No files matched your search

@@ -8545,6 +8545,20 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_send(char * jarg1, char * jar
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_preprocess_session(void * jarg1, char * jarg2) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
char *arg2 = (char *) 0 ;
switch_status_t result;
arg1 = (switch_core_session_t *)jarg1;
arg2 = (char *)jarg2;
result = (switch_status_t)switch_ivr_preprocess_session(arg1,(char const *)arg2);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CMD_CHUNK_LEN_get() {
int jresult ;
int result;
@@ -9397,6 +9411,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_match(char * jarg1, unsigned lon
}
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_util_quote_shell_arg(char * jarg1) {
char * jresult ;
char *arg1 = (char *) 0 ;
char *result = 0 ;
arg1 = (char *)jarg1;
result = (char *)switch_util_quote_shell_arg((char const *)arg1);
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_url_encode(char * jarg1, char * jarg2, unsigned long jarg3) {
unsigned long jresult ;
char *arg1 = (char *) 0 ;
+20 -2
View File
@@ -2061,6 +2061,11 @@ public class freeswitch {
return ret;
}
public static switch_status_t switch_ivr_preprocess_session(SWIGTYPE_p_switch_core_session session, string cmds) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_preprocess_session(SWIGTYPE_p_switch_core_session.getCPtr(session), cmds);
return ret;
}
public static void switch_console_loop() {
freeswitchPINVOKE.switch_console_loop();
}
@@ -2348,6 +2353,11 @@ public class freeswitch {
return ret;
}
public static string switch_util_quote_shell_arg(string arg0) {
string ret = freeswitchPINVOKE.switch_util_quote_shell_arg(arg0);
return ret;
}
public static uint switch_url_encode(string url, string buf, uint len) {
uint ret = freeswitchPINVOKE.switch_url_encode(url, buf, len);
return ret;
@@ -6620,6 +6630,9 @@ class freeswitchPINVOKE {
[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_ivr_preprocess_session")]
public static extern int switch_ivr_preprocess_session(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CMD_CHUNK_LEN_get")]
public static extern int SWITCH_CMD_CHUNK_LEN_get();
@@ -6797,6 +6810,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_string_match")]
public static extern int switch_string_match(string jarg1, uint jarg2, string jarg3, uint jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_util_quote_shell_arg")]
public static extern string switch_util_quote_shell_arg(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_url_encode")]
public static extern uint switch_url_encode(string jarg1, string jarg2, uint jarg3);
@@ -17054,7 +17070,8 @@ namespace FreeSWITCH.Native {
SBF_EXEC_BLEG = (1 << 3),
SBF_EXEC_OPPOSITE = (1 << 4),
SBF_EXEC_SAME = (1 << 5),
SBF_ONCE = (1 << 6)
SBF_ONCE = (1 << 6),
SBF_EXEC_INLINE = (1 << 7)
}
}
@@ -23644,7 +23661,8 @@ namespace FreeSWITCH.Native {
SMF_FORCE = (1 << 3),
SMF_LOOP = (1 << 4),
SMF_HOLD_BLEG = (1 << 5),
SMF_IMMEDIATE = (1 << 6)
SMF_IMMEDIATE = (1 << 6),
SMF_EXEC_INLINE = (1 << 7)
}
}