| 831 | } |
| 832 | |
| 833 | int StreamCreate(StreamId *request_stream, Controller &cntl, |
| 834 | const StreamOptions* options) { |
| 835 | if (request_stream == NULL) { |
| 836 | LOG(ERROR) << "request_stream is NULL"; |
| 837 | return -1; |
| 838 | } |
| 839 | StreamIds request_streams; |
| 840 | StreamCreate(request_streams, 1, cntl, options); |
| 841 | *request_stream = request_streams[0]; |
| 842 | return 0; |
| 843 | } |
| 844 | |
| 845 | int StreamCreate(StreamIds& request_streams, int request_stream_size, Controller & cntl, |
| 846 | const StreamOptions* options) { |