QVisu
Qt-based visualization for smart homes
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vlc_tls.h File Reference
#include <vlc_network.h>

Go to the source code of this file.

Classes

struct  vlc_tls
 
struct  vlc_tls_creds
 

Macros

#define tls_Send(a, b, c)   (((vlc_tls_t *)a)->sock.pf_send (a, b, c))
 
#define tls_Recv(a, b, c)   (((vlc_tls_t *)a)->sock.pf_recv (a, b, c))
 

Typedefs

typedef struct vlc_tls vlc_tls_t
 
typedef struct vlc_tls_sys vlc_tls_sys_t
 
typedef struct vlc_tls_creds vlc_tls_creds_t
 
typedef struct vlc_tls_creds_sys vlc_tls_creds_sys_t
 

Functions

VLC_API vlc_tls_tvlc_tls_ClientSessionCreate (vlc_tls_creds_t *, int fd, const char *host, const char *service)
 
vlc_tls_tvlc_tls_SessionCreate (vlc_tls_creds_t *, int fd, const char *host)
 
int vlc_tls_SessionHandshake (vlc_tls_t *, const char *host, const char *serv)
 
VLC_API void vlc_tls_SessionDelete (vlc_tls_t *)
 
VLC_API vlc_tls_creds_tvlc_tls_ClientCreate (vlc_object_t *)
 
vlc_tls_creds_tvlc_tls_ServerCreate (vlc_object_t *, const char *cert, const char *key)
 
VLC_API void vlc_tls_Delete (vlc_tls_creds_t *)
 
int vlc_tls_ServerAddCA (vlc_tls_creds_t *srv, const char *path)
 
int vlc_tls_ServerAddCRL (vlc_tls_creds_t *srv, const char *path)
 

Detailed Description

This file defines Transport Layer Security API (TLS) in vlc