mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-02 01:25:11 +00:00
rss feeds of your voicemail
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6417 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
86b0bde562
commit
60c783c636
12 files changed
+639
-42
No files matched your search
@@ -34,6 +34,17 @@
|
||||
#include <switch_version.h>
|
||||
#define CMD_BUFLEN 1024;
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_console_stream_raw_write(switch_stream_handle_t *handle, uint8_t *data, switch_size_t datalen)
|
||||
{
|
||||
FILE *out = switch_core_get_console();
|
||||
|
||||
if (out) {
|
||||
fwrite(data, datalen, 1, out);
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_console_stream_write(switch_stream_handle_t *handle, const char *fmt, ...)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user