Пример #1
0
 public static switch_status_t switch_stream_write_file_contents(switch_stream_handle stream, string path)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_stream_write_file_contents(switch_stream_handle.getCPtr(stream), path);
     return ret;
 }
Пример #2
0
 public static switch_status_t switch_core_media_bug_enumerate(SWIGTYPE_p_switch_core_session session, switch_stream_handle stream)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_enumerate(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_stream_handle.getCPtr(stream));
     return ret;
 }
Пример #3
0
 internal static HandleRef getCPtr(switch_stream_handle obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Пример #4
0
 public static switch_status_t switch_console_stream_raw_write(switch_stream_handle handle, SWIGTYPE_p_unsigned_char data, SWIGTYPE_p_switch_size_t datalen)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_stream_raw_write(switch_stream_handle.getCPtr(handle), SWIGTYPE_p_unsigned_char.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen));
     if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #5
0
 public static void switch_core_dump_variables(switch_stream_handle stream)
 {
     freeswitchPINVOKE.switch_core_dump_variables(switch_stream_handle.getCPtr(stream));
 }
Пример #6
0
 public static byte switch_console_complete(string line, string last_word, SWIGTYPE_p_FILE console_out, switch_stream_handle stream, switch_xml xml)
 {
     byte ret = freeswitchPINVOKE.switch_console_complete(line, last_word, SWIGTYPE_p_FILE.getCPtr(console_out), switch_stream_handle.getCPtr(stream), switch_xml.getCPtr(xml));
     return ret;
 }
Пример #7
0
 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;
 }
Пример #8
0
 public Stream(switch_stream_handle arg0)
     : this(freeswitchPINVOKE.new_Stream__SWIG_1(switch_stream_handle.getCPtr(arg0)), true)
 {
 }
Пример #9
0
 public static void switch_cache_db_status(switch_stream_handle stream)
 {
     freeswitchPINVOKE.switch_cache_db_status(switch_stream_handle.getCPtr(stream));
 }
Пример #10
0
 public static switch_status_t switch_api_execute(string cmd, string arg, SWIGTYPE_p_switch_core_session session, switch_stream_handle stream)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_api_execute(cmd, arg, SWIGTYPE_p_switch_core_session.getCPtr(session), switch_stream_handle.getCPtr(stream));
     return ret;
 }
Пример #11
0
 public static int switch_stream_system(string cmd, switch_stream_handle stream) {
   int ret = freeswitchPINVOKE.switch_stream_system(cmd, switch_stream_handle.getCPtr(stream));
   return ret;
 }
Пример #12
0
 public static void switch_core_session_debug_pool(switch_stream_handle stream) {
   freeswitchPINVOKE.switch_core_session_debug_pool(switch_stream_handle.getCPtr(stream));
 }