VLC 4.0.0-dev
Loading...
Searching...
No Matches
tunnel.c File Reference
Include dependency graph for tunnel.c:

Data Structures

struct  vlc_tls_proxy
 

Typedefs

typedef struct vlc_tls_proxy vlc_tls_proxy_t
 

Functions

static struct vlc_http_msgvlc_http_tunnel_open (struct vlc_http_conn *conn, const char *hostname, unsigned port, const char *username, const char *password)
 
static int vlc_tls_ProxyGetFD (vlc_tls_t *tls, short *restrict events)
 
static ssize_t vlc_tls_ProxyRead (vlc_tls_t *tls, struct iovec *iov, unsigned count)
 
static ssize_t vlc_tls_ProxyWrite (vlc_tls_t *tls, const struct iovec *iov, unsigned count)
 
static int vlc_tls_ProxyShutdown (vlc_tls_t *tls, bool duplex)
 
static void vlc_tls_ProxyClose (vlc_tls_t *tls)
 
vlc_tls_tvlc_https_connect_proxy (void *ctx, vlc_tls_client_t *creds, const char *hostname, unsigned port, bool *restrict two, const char *proxy)
 

Variables

static const struct vlc_tls_operations vlc_tls_proxy_ops
 

Typedef Documentation

◆ vlc_tls_proxy_t

Function Documentation

◆ vlc_http_tunnel_open()

◆ vlc_https_connect_proxy()

◆ vlc_tls_ProxyClose()

static void vlc_tls_ProxyClose ( vlc_tls_t tls)
static

◆ vlc_tls_ProxyGetFD()

static int vlc_tls_ProxyGetFD ( vlc_tls_t tls,
short *restrict  events 
)
static

◆ vlc_tls_ProxyRead()

static ssize_t vlc_tls_ProxyRead ( vlc_tls_t tls,
struct iovec *  iov,
unsigned  count 
)
static

◆ vlc_tls_ProxyShutdown()

static int vlc_tls_ProxyShutdown ( vlc_tls_t tls,
bool  duplex 
)
static

◆ vlc_tls_ProxyWrite()

static ssize_t vlc_tls_ProxyWrite ( vlc_tls_t tls,
const struct iovec *  iov,
unsigned  count 
)
static

Variable Documentation

◆ vlc_tls_proxy_ops

const struct vlc_tls_operations vlc_tls_proxy_ops
static
Initial value:
=
{
}
static ssize_t vlc_tls_ProxyRead(vlc_tls_t *tls, struct iovec *iov, unsigned count)
Definition tunnel.c:94
static int vlc_tls_ProxyGetFD(vlc_tls_t *tls, short *restrict events)
Definition tunnel.c:87
static ssize_t vlc_tls_ProxyWrite(vlc_tls_t *tls, const struct iovec *iov, unsigned count)
Definition tunnel.c:103
static int vlc_tls_ProxyShutdown(vlc_tls_t *tls, bool duplex)
Definition tunnel.c:112
static void vlc_tls_ProxyClose(vlc_tls_t *tls)
Definition tunnel.c:119

Referenced by vlc_https_connect_proxy().