From 50b208e23ea2c851c7a4f83bc8cafe0d97a41732 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 15 Sep 2017 15:47:56 +0200 Subject: docs: clarify the CURLOPT_INTERLEAVE* options behavior --- docs/libcurl/opts/CURLOPT_INTERLEAVEFUNCTION.3 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/libcurl/opts/CURLOPT_INTERLEAVEFUNCTION.3') diff --git a/docs/libcurl/opts/CURLOPT_INTERLEAVEFUNCTION.3 b/docs/libcurl/opts/CURLOPT_INTERLEAVEFUNCTION.3 index 522f4579e..20f1c218d 100644 --- a/docs/libcurl/opts/CURLOPT_INTERLEAVEFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_INTERLEAVEFUNCTION.3 @@ -54,8 +54,12 @@ connection may close. The application may use \fICURL_RTSPREQ_RECEIVE\fP to service RTP data when no requests are desired. If the application makes a request, (e.g. \fICURL_RTSPREQ_PAUSE\fP) then the response handler will process any pending RTP data before marking the request as finished. + +The \fICURLOPT_WRITEDATA(3)\fP is passed in the \fIuserdata\fP argument in the +callback. .SH DEFAULT -NULL +NULL, the interleave data is then passed to the regular write function: +\fICURLOPT_WRITEFUNCTION(3)\fP. .SH PROTOCOLS RTSP .SH EXAMPLE @@ -77,4 +81,4 @@ Added in 7.20.0 .SH RETURN VALUE Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. .SH "SEE ALSO" -.BR CURLOPT_INTERLEAVEFUNCTION "(3), " CURLOPT_RTSP_REQUEST "(3), " +.BR CURLOPT_INTERLEAVEDATA "(3), " CURLOPT_RTSP_REQUEST "(3), " -- cgit v1.2.3