VLC 4.0.0-dev
|
Transport layer socket. More...
#include <vlc_tls.h>
Data Fields | |
const struct vlc_tls_operations * | ops |
Callbacks to operate on the stream. More... | |
struct vlc_tls * | p |
Reserved. More... | |
Transport layer socket.
Transport layer sockets are full-duplex, meaning data can be sent and received at the same time. As such, it is permitted for two threads to use the same TLS simultaneously, if one thread is receiving data while the other is sending data. However receiving or sending data from two threads concurrently is undefined behaviour.
The following functions are treated as sending data:
The following functions are treated as receiving data:
const struct vlc_tls_operations* vlc_tls::ops |
Callbacks to operate on the stream.
Referenced by httpd_NetRecv(), httpd_NetSend(), vlc_https_connect_proxy(), vlc_https_recv(), vlc_https_send(), vlc_tls_ConnectWrite(), vlc_tls_GetPollFD(), vlc_tls_ProxyRead(), vlc_tls_ProxyWrite(), vlc_tls_Read(), vlc_tls_SessionDelete(), vlc_tls_Shutdown(), vlc_tls_SocketAlloc(), vlc_tls_SocketOpenAddrInfo(), and vlc_tls_Write().
struct vlc_tls* vlc_tls::p |
Reserved.
Pointer to the underlying stream, or NULL if none.
Referenced by vlc_https_connect_proxy(), vlc_tls_ClientSessionCreate(), vlc_tls_Close(), vlc_tls_ServerSessionCreate(), and vlc_tls_SocketAlloc().