summaryrefslogtreecommitdiff
path: root/lib/rtsp.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-01-22 14:20:56 +0000
committerYang Tse <yangsita@gmail.com>2010-01-22 14:20:56 +0000
commit0032ce762eed505905d7e5ef766134ffa6d69b5c (patch)
tree6708a4c0c540ae8562c8176f930510c518737d68 /lib/rtsp.h
parentbdb338b3c748fa1829b85cbe708764237a9e6ccc (diff)
downloadcurl-0032ce762eed505905d7e5ef766134ffa6d69b5c.tar.gz
fix compilation when http is disabled
Diffstat (limited to 'lib/rtsp.h')
-rw-r--r--lib/rtsp.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/rtsp.h b/lib/rtsp.h
index dcc8d392e..dcb50d3b0 100644
--- a/lib/rtsp.h
+++ b/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_ */