mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -05:00
fix compilation when http is disabled
This commit is contained in:
parent
bdb338b3c7
commit
0032ce762e
@ -3065,10 +3065,6 @@ checkprotoprefix(struct SessionHandle *data, struct connectdata *conn,
|
||||
return checkhttpprefix(data, s);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* header_append() copies a chunk of data to the end of the already received
|
||||
* header. We make sure that the full string fit in the allocated header
|
||||
@ -3805,3 +3801,4 @@ CURLcode Curl_http_readwrite_headers(struct SessionHandle *data,
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
#endif /* CURL_DISABLE_HTTP */
|
||||
|
34
lib/rtsp.h
34
lib/rtsp.h
@ -25,9 +25,25 @@
|
||||
***************************************************************************/
|
||||
#ifndef CURL_DISABLE_RTSP
|
||||
|
||||
|
||||
extern const struct Curl_handler Curl_handler_rtsp;
|
||||
|
||||
CURLcode Curl_rtsp_rtp_readwrite(struct SessionHandle *data,
|
||||
struct connectdata *conn,
|
||||
ssize_t *nread,
|
||||
bool *readmore,
|
||||
bool *done);
|
||||
|
||||
|
||||
/* protocol-specific functions set up to be called by the main engine */
|
||||
CURLcode Curl_rtsp(struct connectdata *conn, bool *done);
|
||||
CURLcode Curl_rtsp_done(struct connectdata *conn, CURLcode, bool premature);
|
||||
CURLcode Curl_rtsp_connect(struct connectdata *conn, bool *done);
|
||||
CURLcode Curl_rtsp_disconnect(struct connectdata *conn);
|
||||
|
||||
CURLcode Curl_rtsp_parseheader(struct connectdata *conn, char *header);
|
||||
|
||||
#endif /* CURL_DISABLE_RTSP */
|
||||
|
||||
/*
|
||||
* RTSP Connection data
|
||||
*
|
||||
@ -58,20 +74,4 @@ struct RTSP {
|
||||
};
|
||||
|
||||
|
||||
CURLcode Curl_rtsp_rtp_readwrite(struct SessionHandle *data,
|
||||
struct connectdata *conn,
|
||||
ssize_t *nread,
|
||||
bool *readmore,
|
||||
bool *done);
|
||||
|
||||
|
||||
/* protocol-specific functions set up to be called by the main engine */
|
||||
CURLcode Curl_rtsp(struct connectdata *conn, bool *done);
|
||||
CURLcode Curl_rtsp_done(struct connectdata *conn, CURLcode, bool premature);
|
||||
CURLcode Curl_rtsp_connect(struct connectdata *conn, bool *done);
|
||||
CURLcode Curl_rtsp_disconnect(struct connectdata *conn);
|
||||
|
||||
CURLcode Curl_rtsp_parseheader(struct connectdata *conn, char *header);
|
||||
|
||||
#endif /* CURL_DISABLE_RTSP */
|
||||
#endif /* __RTSP_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user