int roar_stream_add_data(struct roar_connection * con, struct roar_stream * s, char * data, size_t len);
DESCRIPTIONThis adds data to the input buffer of a stream. It's like doing some thing like this:
write(stream_fh, data, len);
but uses the controll channel to add the data.
The connection to the server.
The stream to add data to it's input buffer.
The data to add to the buffer.
The length of the data to be added.
RETURN VALUEOn success these calls return 0. On error, -1 is returned.
BUGSThis call doesn't work with the current roard. The server does not use all of the buffer size and complains about unterruns.