return CURLE_OK;
}
+static
CURLcode rtp_client_write(struct connectdata *conn, char *ptr, size_t len)
{
struct SessionHandle *data = conn->data;
-#ifndef __SENDF_H
-#define __SENDF_H
+#ifndef HEADER_CURL_SENDF_H
+#define HEADER_CURL_SENDF_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
CURLcode Curl_client_write(struct connectdata *conn, int type, char *ptr,
size_t len);
-CURLcode Curl_rtp_client_write(struct connectdata *conn, char *ptr, size_t len);
-
/* internal read-function, does plain socket only */
int Curl_read_plain(curl_socket_t sockfd,
char *buf,
struct connectdata *conn);
-#endif /* __SENDF_H */
+#endif /* HEADER_CURL_SENDF_H */
CURLcode result = CURLE_OK;
ssize_t nread; /* number of bytes read */
bool is_empty_data = FALSE;
- bool readmore = FALSE; /* used by RTP to signal for more data */
*done = FALSE;
#ifndef CURL_DISABLE_RTSP
if(conn->protocol & PROT_RTSP) {
- readmore = FALSE;
+ bool readmore = FALSE;
result = Curl_rtsp_rtp_readwrite(data, conn, &nread, &readmore, done);
if(result)
return result;