VLC 4.0.0-dev
vlc_dtls.h File Reference

Go to the source code of this file.

Data Structures

struct  vlc_dtls
 Datagram socket. More...
 
struct  vlc_dtls_operations
 

Functions

static void vlc_dtls_Close (struct vlc_dtls *dgs)
 
static int vlc_dtls_GetPollFD (struct vlc_dtls *dgs, short *restrict ev)
 
static ssize_t vlc_dtls_Recv (struct vlc_dtls *dgs, void *buf, size_t len, bool *restrict truncated)
 
static ssize_t vlc_dtls_Send (struct vlc_dtls *dgs, const void *buf, size_t len)
 
struct vlc_dtlsvlc_datagram_CreateFD (int fd)
 
struct vlc_dtlsvlc_dccp_CreateFD (int fd)
 

Function Documentation

◆ vlc_datagram_CreateFD()

struct vlc_dtls * vlc_datagram_CreateFD ( int  fd)

◆ vlc_dccp_CreateFD()

struct vlc_dtls * vlc_dccp_CreateFD ( int  fd)

◆ vlc_dtls_Close()

static void vlc_dtls_Close ( struct vlc_dtls dgs)
inlinestatic

References vlc_dtls_operations::close, and vlc_dtls::ops.

Referenced by Close(), OpenSDP(), and OpenURL().

◆ vlc_dtls_GetPollFD()

static int vlc_dtls_GetPollFD ( struct vlc_dtls dgs,
short *restrict  ev 
)
inlinestatic

◆ vlc_dtls_Recv()

static ssize_t vlc_dtls_Recv ( struct vlc_dtls dgs,
void *  buf,
size_t  len,
bool *restrict  truncated 
)
inlinestatic

◆ vlc_dtls_Send()

static ssize_t vlc_dtls_Send ( struct vlc_dtls dgs,
const void *  buf,
size_t  len 
)
inlinestatic