30#define TLS_CONNECT_NEVER -1
31#define TLS_CONNECT_NOT_YET 0
32#define TLS_CONNECT_READY 1
43int a_Tls_read(
void *conn,
void *buf,
size_t len);
void a_Tls_reset_server_state(const DilloUrl *url)
void a_Tls_connect(int fd, const DilloUrl *url)
int a_Tls_read(void *conn, void *buf, size_t len)
int a_Tls_connect_ready(const DilloUrl *url)
The purpose here is to permit a single initial connection to a server.
const char * a_Tls_version(char *buf, int n)
Get the version of the TLS library.
void a_Tls_init(void)
Initialize TLS library.
int a_Tls_write(void *conn, void *buf, size_t len)
void a_Tls_close_by_fd(int fd)
int a_Tls_certificate_is_clean(const DilloUrl *url)
Did everything seem proper with the certificate – no warnings to click through?.
void a_Tls_freeall(void)
Clean up the TLS library.
void * a_Tls_connection(int fd)
Return TLS connection information for a given file descriptor, or NULL if no TLS connection was found...