]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
swigall
authorBrian West <brian@freeswitch.org>
Fri, 22 Jan 2010 16:06:46 +0000 (16:06 +0000)
committerBrian West <brian@freeswitch.org>
Fri, 22 Jan 2010 16:06:46 +0000 (16:06 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16459 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_managed/freeswitch_wrap.cxx
src/mod/languages/mod_managed/managed/swig.cs

index b3fde87447a9e7a92d38183beeb38cf0fcf8a257..dbe48bde3b2553365c83a682e9fc4b049bba47a2 100644 (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() {
   int jresult ;
   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) {
   int jresult ;
   int arg1 ;
index f55a20507d948860b8f7c4ff01b293f7de34e86f..20e0354dbf853b92763a9c882828d70f00baf8c4 100644 (file)
@@ -2215,6 +2215,11 @@ public class freeswitch {
     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() {
     freeswitchPINVOKE.switch_console_loop();
   }
@@ -2276,6 +2281,16 @@ public class freeswitch {
     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) {
     int ret = freeswitchPINVOKE.switch_toupper(c);
     return ret;
@@ -7269,6 +7284,9 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_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")]
   public static extern int SWITCH_CMD_CHUNK_LEN_get();
 
@@ -7311,6 +7329,12 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_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")]
   public static extern int switch_toupper(int jarg1);
 
@@ -19447,6 +19471,7 @@ public enum switch_channel_flag_t {
   CF_LEG_HOLDING,
   CF_BROADCAST_DROP_MEDIA,
   CF_EARLY_HANGUP,
+  CF_MEDIA_SET,
   CF_FLAG_MAX
 }
 
@@ -21151,8 +21176,9 @@ public enum switch_core_session_message_types_t {
   SWITCH_MESSAGE_INDICATE_AUDIO_SYNC,
   SWITCH_MESSAGE_INDICATE_REQUEST_IMAGE_MEDIA,
   SWITCH_MESSAGE_INDICATE_UUID_CHANGE,
-  SWITCH_MESSAGE_INDICATE_WARNING,
+  SWITCH_MESSAGE_INDICATE_SIMPLIFY,
   SWITCH_MESSAGE_INDICATE_DEBUG_AUDIO,
+  SWITCH_MESSAGE_INDICATE_PROXY_MEDIA,
   SWITCH_MESSAGE_INVALID
 }