git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16459 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2010-01-22 16:06:46 +00:00
parent cffd8676db
commit 114cea72c2
2 changed files with 67 additions and 1 deletions

View File

@ -9858,6 +9858,16 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_flush_handles() {
} }
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_banner() {
char * jresult ;
char *result = 0 ;
result = (char *)switch_core_banner();
jresult = SWIG_csharp_string_callback((const char *)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;
@ -10027,6 +10037,36 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_save_history() {
} }
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_console_expand_alias(char * jarg1, char * jarg2) {
char * jresult ;
char *arg1 = (char *) 0 ;
char *arg2 = (char *) 0 ;
char *result = 0 ;
arg1 = (char *)jarg1;
arg2 = (char *)jarg2;
result = (char *)switch_console_expand_alias(arg1,arg2);
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_execute(char * jarg1, int jarg2, void * jarg3) {
int jresult ;
char *arg1 = (char *) 0 ;
int arg2 ;
switch_stream_handle_t *arg3 = (switch_stream_handle_t *) 0 ;
switch_status_t result;
arg1 = (char *)jarg1;
arg2 = (int)jarg2;
arg3 = (switch_stream_handle_t *)jarg3;
result = (switch_status_t)switch_console_execute(arg1,arg2,arg3);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_toupper(int jarg1) { SWIGEXPORT int SWIGSTDCALL CSharp_switch_toupper(int jarg1) {
int jresult ; int jresult ;
int arg1 ; int arg1 ;

View File

@ -2215,6 +2215,11 @@ public class freeswitch {
freeswitchPINVOKE.switch_cache_db_flush_handles(); freeswitchPINVOKE.switch_cache_db_flush_handles();
} }
public static string switch_core_banner() {
string ret = freeswitchPINVOKE.switch_core_banner();
return ret;
}
public static void switch_console_loop() { public static void switch_console_loop() {
freeswitchPINVOKE.switch_console_loop(); freeswitchPINVOKE.switch_console_loop();
} }
@ -2276,6 +2281,16 @@ public class freeswitch {
freeswitchPINVOKE.switch_console_save_history(); freeswitchPINVOKE.switch_console_save_history();
} }
public static string switch_console_expand_alias(string cmd, string arg) {
string ret = freeswitchPINVOKE.switch_console_expand_alias(cmd, arg);
return ret;
}
public static switch_status_t switch_console_execute(string xcmd, int rec, switch_stream_handle istream) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_execute(xcmd, rec, switch_stream_handle.getCPtr(istream));
return ret;
}
public static int switch_toupper(int c) { public static int switch_toupper(int c) {
int ret = freeswitchPINVOKE.switch_toupper(c); int ret = freeswitchPINVOKE.switch_toupper(c);
return ret; return ret;
@ -7269,6 +7284,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_flush_handles")] [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_flush_handles")]
public static extern void switch_cache_db_flush_handles(); public static extern void switch_cache_db_flush_handles();
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_banner")]
public static extern string switch_core_banner();
[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();
@ -7311,6 +7329,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_console_save_history")] [DllImport("mod_managed", EntryPoint="CSharp_switch_console_save_history")]
public static extern void switch_console_save_history(); public static extern void switch_console_save_history();
[DllImport("mod_managed", EntryPoint="CSharp_switch_console_expand_alias")]
public static extern string switch_console_expand_alias(string jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_console_execute")]
public static extern int switch_console_execute(string jarg1, int jarg2, HandleRef jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_toupper")] [DllImport("mod_managed", EntryPoint="CSharp_switch_toupper")]
public static extern int switch_toupper(int jarg1); public static extern int switch_toupper(int jarg1);
@ -19447,6 +19471,7 @@ public enum switch_channel_flag_t {
CF_LEG_HOLDING, CF_LEG_HOLDING,
CF_BROADCAST_DROP_MEDIA, CF_BROADCAST_DROP_MEDIA,
CF_EARLY_HANGUP, CF_EARLY_HANGUP,
CF_MEDIA_SET,
CF_FLAG_MAX CF_FLAG_MAX
} }
@ -21151,8 +21176,9 @@ public enum switch_core_session_message_types_t {
SWITCH_MESSAGE_INDICATE_AUDIO_SYNC, SWITCH_MESSAGE_INDICATE_AUDIO_SYNC,
SWITCH_MESSAGE_INDICATE_REQUEST_IMAGE_MEDIA, SWITCH_MESSAGE_INDICATE_REQUEST_IMAGE_MEDIA,
SWITCH_MESSAGE_INDICATE_UUID_CHANGE, SWITCH_MESSAGE_INDICATE_UUID_CHANGE,
SWITCH_MESSAGE_INDICATE_WARNING, SWITCH_MESSAGE_INDICATE_SIMPLIFY,
SWITCH_MESSAGE_INDICATE_DEBUG_AUDIO, SWITCH_MESSAGE_INDICATE_DEBUG_AUDIO,
SWITCH_MESSAGE_INDICATE_PROXY_MEDIA,
SWITCH_MESSAGE_INVALID SWITCH_MESSAGE_INVALID
} }