Macros | Functions | Variables
lib/rtsp.c File Reference
#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"
Include dependency graph for lib/rtsp.c:

Go to the source code of this file.

Macros

#define RTP_PKT_CHANNEL(p)   ((int)((unsigned char)((p)[1])))
 
#define RTP_PKT_LENGTH(p)
 

Functions

CURLcode Curl_rtsp_parseheader (struct connectdata *conn, char *header)
 
static CURLcode rtp_client_write (struct connectdata *conn, char *ptr, size_t len)
 
static unsigned int rtsp_conncheck (struct connectdata *check, unsigned int checks_to_perform)
 
static CURLcode rtsp_connect (struct connectdata *conn, bool *done)
 
bool rtsp_connisdead (struct connectdata *check)
 
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

const struct Curl_handler Curl_handler_rtsp
 

Macro Definition Documentation

#define RTP_PKT_CHANNEL (   p)    ((int)((unsigned char)((p)[1])))

Definition at line 55 of file lib/rtsp.c.

#define RTP_PKT_LENGTH (   p)
Value:
((((int)((unsigned char)((p)[2]))) << 8) | \
((int)((unsigned char)((p)[3]))))
const char ** p
Definition: unit1394.c:76

Definition at line 57 of file lib/rtsp.c.

Function Documentation

CURLcode Curl_rtsp_parseheader ( struct connectdata conn,
char *  header 
)

Definition at line 788 of file lib/rtsp.c.

static CURLcode rtp_client_write ( struct connectdata conn,
char *  ptr,
size_t  len 
)
static

Definition at line 747 of file lib/rtsp.c.

static unsigned int rtsp_conncheck ( struct connectdata check,
unsigned int  checks_to_perform 
)
static

Definition at line 175 of file lib/rtsp.c.

static CURLcode rtsp_connect ( struct connectdata conn,
bool done 
)
static

Definition at line 189 of file lib/rtsp.c.

bool rtsp_connisdead ( struct connectdata check)

Definition at line 150 of file lib/rtsp.c.

static CURLcode rtsp_disconnect ( struct connectdata conn,
bool  dead 
)
static

Definition at line 207 of file lib/rtsp.c.

static CURLcode rtsp_do ( struct connectdata conn,
bool done 
)
static

Definition at line 250 of file lib/rtsp.c.

static CURLcode rtsp_done ( struct connectdata conn,
CURLcode  status,
bool  premature 
)
static

Definition at line 215 of file lib/rtsp.c.

static int rtsp_getsock_do ( struct connectdata conn,
curl_socket_t socks,
int  numsocks 
)
static

Definition at line 91 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 622 of file lib/rtsp.c.

static CURLcode rtsp_setup_connection ( struct connectdata conn)
static

Definition at line 130 of file lib/rtsp.c.

Variable Documentation

const struct Curl_handler Curl_handler_rtsp
Initial value:
= {
"RTSP",
}
static CURLcode rtsp_do(struct connectdata *conn, bool *done)
Definition: lib/rtsp.c:250
static CURLcode rtsp_rtp_readwrite(struct Curl_easy *data, struct connectdata *conn, ssize_t *nread, bool *readmore)
Definition: lib/rtsp.c:622
#define PORT_RTSP
Definition: urldata.h:47
static CURLcode rtsp_setup_connection(struct connectdata *conn)
Definition: lib/rtsp.c:130
static CURLcode rtsp_done(struct connectdata *conn, CURLcode, bool premature)
Definition: lib/rtsp.c:215
#define ZERO_NULL
Definition: curlx.c:131
#define CURLPROTO_RTSP
Definition: curl.h:862
static CURLcode rtsp_connect(struct connectdata *conn, bool *done)
Definition: lib/rtsp.c:189
static unsigned int rtsp_conncheck(struct connectdata *check, unsigned int checks_to_perform)
Definition: lib/rtsp.c:175
#define PROTOPT_NONE
Definition: urldata.h:699
static int rtsp_getsock_do(struct connectdata *conn, curl_socket_t *socks, int numsocks)
Definition: lib/rtsp.c:91
static CURLcode rtsp_disconnect(struct connectdata *conn, bool dead)
Definition: lib/rtsp.c:207

Definition at line 108 of file lib/rtsp.c.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17