VLC 4.0.0-dev
|
Transport Layer Session protocol API. More...
Macros | |
#define | SOL_TCP IPPROTO_TCP |
Functions | |
vlc_tls_server_t * | vlc_tls_ServerCreate (vlc_object_t *obj, const char *cert_path, const char *key_path) |
Allocates server TLS credentials. | |
void | vlc_tls_ServerDelete (vlc_tls_server_t *crd) |
Releases server-side TLS credentials. | |
vlc_tls_client_t * | vlc_tls_ClientCreate (vlc_object_t *obj) |
Allocates TLS client-side credentials. | |
void | vlc_tls_ClientDelete (vlc_tls_client_t *crd) |
Releases TLS client-side credentials. | |
void | vlc_tls_SessionDelete (vlc_tls_t *session) |
Destroys a TLS session. | |
static void | cleanup_tls (void *data) |
vlc_tls_t * | vlc_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. | |
vlc_tls_t * | vlc_tls_ServerSessionCreate (vlc_tls_server_t *crd, vlc_tls_t *sock, const char *const *alpn) |
Creates a TLS server session. | |
vlc_tls_t * | vlc_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. | |
Transport Layer Session protocol API.
#define SOL_TCP IPPROTO_TCP |
|
static |
References vlc_tls_SessionDelete().
Referenced by vlc_tls_ClientSessionCreate().