diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-28 01:39:16 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-28 01:39:16 +0000 |
commit | 2f3bce11939bbd4457d25292e29ffd4b5f891ed9 (patch) | |
tree | 2469c8ef350b03d286b75dd2fae6e41cff1c74b8 /lib/rtsp.h | |
parent | 3cb76e5ebbb67542364b2cf5c10c08463ee3e0a8 (diff) | |
download | curl-2f3bce11939bbd4457d25292e29ffd4b5f891ed9.tar.gz |
Chris Conroy's RTSP followup fixes
Diffstat (limited to 'lib/rtsp.h')
-rw-r--r-- | lib/rtsp.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/rtsp.h b/lib/rtsp.h index dcb50d3b0..52ad7dbd6 100644 --- a/lib/rtsp.h +++ b/lib/rtsp.h @@ -27,11 +27,17 @@ extern const struct Curl_handler Curl_handler_rtsp; +/* + * Parse and write out any available RTP data. + * + * nread: amount of data left after k->str. will be modified if RTP + * data is parsed and k->str is moved up + * readmore: whether or not the RTP parser needs more data right away + */ CURLcode Curl_rtsp_rtp_readwrite(struct SessionHandle *data, struct connectdata *conn, ssize_t *nread, - bool *readmore, - bool *done); + bool *readmore); /* protocol-specific functions set up to be called by the main engine */ |