mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 22:24:16 +00:00
swigall
This commit is contained in:
1 parent
ad183fdea4
commit
f2792c9ea5
10 files changed
+94
-133
No files matched your search
@@ -19819,6 +19819,66 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_decode(char * jarg1) {
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_url_encode_opt(void * jarg1, char * jarg2, int jarg3) {
|
||||
char * jresult ;
|
||||
switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
switch_bool_t arg3 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_memory_pool_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (switch_bool_t)jarg3;
|
||||
result = (char *)switch_core_url_encode_opt(arg1,(char const *)arg2,arg3);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_url_encode(void * jarg1, char * jarg2) {
|
||||
char * jresult ;
|
||||
switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_memory_pool_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
result = (char *)switch_core_url_encode(arg1,(char const *)arg2);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_url_encode_opt(void * jarg1, char * jarg2, int jarg3) {
|
||||
char * jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
switch_bool_t arg3 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (switch_bool_t)jarg3;
|
||||
result = (char *)switch_core_session_url_encode_opt(arg1,(char const *)arg2,arg3);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_url_encode(void * jarg1, char * jarg2) {
|
||||
char * jresult ;
|
||||
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_core_session_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
result = (char *)switch_core_session_url_encode(arg1,(char const *)arg2);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_simple_email(char * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
|
||||
@@ -4288,6 +4288,26 @@ else
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_core_url_encode_opt(SWIGTYPE_p_apr_pool_t pool, string url, switch_bool_t double_encode) {
|
||||
string ret = freeswitchPINVOKE.switch_core_url_encode_opt(SWIGTYPE_p_apr_pool_t.getCPtr(pool), url, (int)double_encode);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_core_url_encode(SWIGTYPE_p_apr_pool_t pool, string url) {
|
||||
string ret = freeswitchPINVOKE.switch_core_url_encode(SWIGTYPE_p_apr_pool_t.getCPtr(pool), url);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_core_session_url_encode_opt(SWIGTYPE_p_switch_core_session session, string url, switch_bool_t double_encode) {
|
||||
string ret = freeswitchPINVOKE.switch_core_session_url_encode_opt(SWIGTYPE_p_switch_core_session.getCPtr(session), url, (int)double_encode);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static string switch_core_session_url_encode(SWIGTYPE_p_switch_core_session session, string url) {
|
||||
string ret = freeswitchPINVOKE.switch_core_session_url_encode(SWIGTYPE_p_switch_core_session.getCPtr(session), url);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_bool_t switch_simple_email(string to, string from, string headers, string body, string file, string convert_cmd, string convert_ext) {
|
||||
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_simple_email(to, from, headers, body, file, convert_cmd, convert_ext);
|
||||
return ret;
|
||||
@@ -12829,6 +12849,18 @@ class freeswitchPINVOKE {
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_url_decode")]
|
||||
public static extern string switch_url_decode(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_url_encode_opt")]
|
||||
public static extern string switch_core_url_encode_opt(HandleRef jarg1, string jarg2, int jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_url_encode")]
|
||||
public static extern string switch_core_url_encode(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_url_encode_opt")]
|
||||
public static extern string switch_core_session_url_encode_opt(HandleRef jarg1, string jarg2, int jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_url_encode")]
|
||||
public static extern string switch_core_session_url_encode(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_simple_email")]
|
||||
public static extern int switch_simple_email(string jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7);
|
||||
|
||||
@@ -29742,7 +29774,8 @@ public enum switch_channel_app_flag_t {
|
||||
CF_APP_T38 = (1 << 1),
|
||||
CF_APP_T38_REQ = (1 << 2),
|
||||
CF_APP_T38_FAIL = (1 << 3),
|
||||
CF_APP_T38_NEGOTIATED = (1 << 4)
|
||||
CF_APP_T38_NEGOTIATED = (1 << 4),
|
||||
CF_APP_T38_POSSIBLE = (1 << 5)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user