VLC  4.0.0-dev

Transport Layer Session protocol API. More...

Include dependency graph for tls.c:

Macros

#define SOL_TCP   IPPROTO_TCP
 

Functions

vlc_tls_server_tvlc_tls_ServerCreate (vlc_object_t *obj, const char *cert_path, const char *key_path)
 Allocates server TLS credentials. More...
 
void vlc_tls_ServerDelete (vlc_tls_server_t *crd)
 Releases server-side TLS credentials. More...
 
vlc_tls_client_tvlc_tls_ClientCreate (vlc_object_t *obj)
 Allocates TLS client-side credentials. More...
 
void vlc_tls_ClientDelete (vlc_tls_client_t *crd)
 Releases TLS client-side credentials. More...
 
void vlc_tls_SessionDelete (vlc_tls_t *session)
 Destroys a TLS session. More...
 
static void cleanup_tls (void *data)
 
vlc_tls_tvlc_tls_ClientSessionCreate (vlc_tls_client_t *crd, vlc_tls_t *sock, const char *host, const char *service, const char *const *alpn, char **alp)
 Initiates a client TLS session. More...
 
vlc_tls_tvlc_tls_ServerSessionCreate (vlc_tls_server_t *crd, vlc_tls_t *sock, const char *const *alpn)
 Creates a TLS server session. More...
 
vlc_tls_tvlc_tls_SocketOpenTLS (vlc_tls_client_t *creds, const char *name, unsigned port, const char *service, const char *const *alpn, char **alp)
 Initiates a TLS session over TCP. More...
 

Detailed Description

Transport Layer Session protocol API.

Macro Definition Documentation

◆ SOL_TCP

#define SOL_TCP   IPPROTO_TCP

Function Documentation

◆ cleanup_tls()

static void cleanup_tls ( void *  data)
static