add ability to read from a stream

do not use this unless you understand what you are doing and you want to take the risk,
you are warnned
This commit is contained in:
Seven Du
2014-09-04 09:00:38 +08:00
parent f0b9407cca
commit 31f78d8cac
6 changed files with 34 additions and 0 deletions
+1
View File
@@ -91,6 +91,7 @@ struct switch_state_handler_table {
};
struct switch_stream_handle {
switch_stream_handle_read_function_t read_function;
switch_stream_handle_write_function_t write_function;
switch_stream_handle_raw_write_function_t raw_write_function;
void *data;