TLS socket data -. More...
Data Fields | |
gnutls_session_t | session |
gnutls_certificate_credentials_t | xcred |
Data Fields inherited from Connection | |
struct ConnAccount | account |
Account details: username, password, etc. | |
unsigned int | ssf |
Security strength factor, in bits (see notes) | |
char | inbuf [1024] |
Buffer for incoming traffic. | |
int | bufpos |
Current position in the buffer. | |
int | fd |
Socket file descriptor. | |
int | available |
Amount of data waiting to be read. | |
void * | sockdata |
Backend-specific socket data. | |
int(* | open )(struct Connection *conn) |
int(* | read )(struct Connection *conn, char *buf, size_t count) |
int(* | write )(struct Connection *conn, const char *buf, size_t count) |
int(* | poll )(struct Connection *conn, time_t wait_secs) |
int(* | close )(struct Connection *conn) |