#include "curl_setup.h"#include "urldata.h"#include <curl/curl.h>#include "transfer.h"#include "sendf.h"#include "multiif.h"#include "http.h"#include "url.h"#include "progress.h"#include "rtsp.h"#include "strcase.h"#include "select.h"#include "connect.h"#include "strdup.h"#include "curl_printf.h"#include "curl_memory.h"#include "memdebug.h"
Go to the source code of this file.
Defines | |
| #define | RTP_PKT_CHANNEL(p) ((int)((unsigned char)((p)[1]))) |
| #define | RTP_PKT_LENGTH(p) |
Functions | |
| bool | Curl_rtsp_connisdead (struct connectdata *check) |
| CURLcode | Curl_rtsp_parseheader (struct connectdata *conn, char *header) |
| static CURLcode | rtp_client_write (struct connectdata *conn, char *ptr, size_t len) |
| static CURLcode | rtsp_connect (struct connectdata *conn, bool *done) |
| static CURLcode | rtsp_disconnect (struct connectdata *conn, bool dead) |
| static CURLcode | rtsp_do (struct connectdata *conn, bool *done) |
| static CURLcode | rtsp_done (struct connectdata *conn, CURLcode, bool premature) |
| static int | rtsp_getsock_do (struct connectdata *conn, curl_socket_t *socks, int numsocks) |
| static CURLcode | rtsp_rtp_readwrite (struct Curl_easy *data, struct connectdata *conn, ssize_t *nread, bool *readmore) |
| static CURLcode | rtsp_setup_connection (struct connectdata *conn) |
Variables | |
| struct Curl_handler | Curl_handler_rtsp |
| #define RTP_PKT_CHANNEL | ( | p | ) | ((int)((unsigned char)((p)[1]))) |
Definition at line 55 of file lib/rtsp.c.
| #define RTP_PKT_LENGTH | ( | p | ) |
Definition at line 57 of file lib/rtsp.c.
| bool Curl_rtsp_connisdead | ( | struct connectdata * | check | ) |
Definition at line 146 of file lib/rtsp.c.
| CURLcode Curl_rtsp_parseheader | ( | struct connectdata * | conn, |
| char * | header | ||
| ) |
Definition at line 757 of file lib/rtsp.c.
| static CURLcode rtp_client_write | ( | struct connectdata * | conn, |
| char * | ptr, | ||
| size_t | len | ||
| ) | [static] |
Definition at line 730 of file lib/rtsp.c.
| static CURLcode rtsp_connect | ( | struct connectdata * | conn, |
| bool * | done | ||
| ) | [static] |
Definition at line 168 of file lib/rtsp.c.
| static CURLcode rtsp_disconnect | ( | struct connectdata * | conn, |
| bool | dead | ||
| ) | [static] |
Definition at line 186 of file lib/rtsp.c.
| static CURLcode rtsp_do | ( | struct connectdata * | conn, |
| bool * | done | ||
| ) | [static] |
Definition at line 229 of file lib/rtsp.c.
| static CURLcode rtsp_done | ( | struct connectdata * | conn, |
| CURLcode | status, | ||
| bool | premature | ||
| ) | [static] |
Definition at line 194 of file lib/rtsp.c.
| static int rtsp_getsock_do | ( | struct connectdata * | conn, |
| curl_socket_t * | socks, | ||
| int | numsocks | ||
| ) | [static] |
Definition at line 88 of file lib/rtsp.c.
| static CURLcode rtsp_rtp_readwrite | ( | struct Curl_easy * | data, |
| struct connectdata * | conn, | ||
| ssize_t * | nread, | ||
| bool * | readmore | ||
| ) | [static] |
Definition at line 601 of file lib/rtsp.c.
| static CURLcode rtsp_setup_connection | ( | struct connectdata * | conn | ) | [static] |
Definition at line 126 of file lib/rtsp.c.
| struct Curl_handler Curl_handler_rtsp |
{
"RTSP",
rtsp_setup_connection,
rtsp_do,
rtsp_done,
ZERO_NULL,
rtsp_connect,
ZERO_NULL,
ZERO_NULL,
ZERO_NULL,
rtsp_getsock_do,
ZERO_NULL,
ZERO_NULL,
rtsp_disconnect,
rtsp_rtp_readwrite,
PORT_RTSP,
CURLPROTO_RTSP,
PROTOPT_NONE
}
Definition at line 105 of file lib/rtsp.c.