Read from a socket Connection. More...
Functions | |
| static int | tls_socket_read (struct Connection *conn, char *buf, size_t count) |
| Read data from a TLS socket - Implements Connection::read() -. | |
| static int | ssl_socket_read (struct Connection *conn, char *buf, size_t count) |
| Read data from an SSL socket - Implements Connection::read() -. | |
| int | raw_socket_read (struct Connection *conn, char *buf, size_t count) |
| Read data from a socket - Implements Connection::read() -. | |
| static int | mutt_sasl_conn_read (struct Connection *conn, char *buf, size_t count) |
| Read data from an SASL connection - Implements Connection::read() -. | |
| static int | tunnel_socket_read (struct Connection *conn, char *buf, size_t count) |
| Read data from a tunnel socket - Implements Connection::read() -. | |
| static int | zstrm_read (struct Connection *conn, char *buf, size_t len) |
| Read compressed data from a socket - Implements Connection::read() -. | |
Variables | |
| int(* | SaslSockData::read )(struct Connection *conn, char *buf, size_t count) |
| Read from a socket Connection - Implements Connection::read() -. | |
Read from a socket Connection.
| conn | Connection to a server |
| buf | Buffer to store the data |
| count | Number of bytes to read |
| >0 | Success, number of bytes read |
| -1 | Error, see errno |
|
static |
Read data from a TLS socket - Implements Connection::read() -.
Definition at line 1063 of file gnutls.c.
|
static |
Read data from an SSL socket - Implements Connection::read() -.
Definition at line 1344 of file openssl.c.
| int raw_socket_read | ( | struct Connection * | conn, |
| char * | buf, | ||
| size_t | count ) |
Read data from a socket - Implements Connection::read() -.
Definition at line 295 of file raw.c.
|
static |
Read data from an SASL connection - Implements Connection::read() -.
Definition at line 473 of file sasl.c.
|
static |
Read data from a tunnel socket - Implements Connection::read() -.
Definition at line 147 of file tunnel.c.
|
static |
Read compressed data from a socket - Implements Connection::read() -.
Definition at line 139 of file zstrm.c.
| int(* SaslSockData::read) (struct Connection *conn, char *buf, size_t count) |
Read from a socket Connection - Implements Connection::read() -.