33 typedef struct vlc_tls_sys vlc_tls_sys_t;
35 typedef struct vlc_tls_creds_sys vlc_tls_creds_sys_t;
45 int (*handshake) (
vlc_tls_t *,
const char *host,
const char *service);
49 const char *host,
const char *service);
51 int vlc_tls_SessionHandshake (
vlc_tls_t *,
const char *host,
const char *serv);
52 VLC_API
void vlc_tls_SessionDelete (
vlc_tls_t *);
55 # define tls_Send( a, b, c ) (((vlc_tls_t *)a)->sock.pf_send (a, b, c))
57 # define tls_Recv( a, b, c ) (((vlc_tls_t *)a)->sock.pf_recv (a, b, c))
66 vlc_tls_creds_sys_t *sys;
77 const char *cert,
const char *key);
Definition: vlc_network.h:140
Definition: vlc_objects.h:42