Check whether a socket read would block. More...
Functions | |
static int | tls_socket_poll (struct Connection *conn, time_t wait_secs) |
Check if any data is waiting on a socket - Implements Connection::poll() -. | |
static int | ssl_socket_poll (struct Connection *conn, time_t wait_secs) |
Check if any data is waiting on a socket - Implements Connection::poll() -. | |
int | raw_socket_poll (struct Connection *conn, time_t wait_secs) |
Check if any data is waiting on a socket - Implements Connection::poll() -. | |
static int | mutt_sasl_conn_poll (struct Connection *conn, time_t wait_secs) |
Check if any data is waiting on a socket - Implements Connection::poll() -. | |
static int | tunnel_socket_poll (struct Connection *conn, time_t wait_secs) |
Check if any data is waiting on a socket - Implements Connection::poll() -. | |
static int | zstrm_poll (struct Connection *conn, time_t wait_secs) |
Check if any data is waiting on a socket - Implements Connection::poll() -. | |
Variables | |
int(* | SaslSockData::poll )(struct Connection *conn, time_t wait_secs) |
Check if any data is waiting on a socket - Implements Connection::poll() -. | |
Check whether a socket read would block.
conn | Connection to a server |
wait_secs | How long to wait for a response |
>0 | There is data to read |
0 | Read would block |
-1 | Connection doesn't support polling |
|
static |
Check if any data is waiting on a socket - Implements Connection::poll() -.
Definition at line 988 of file gnutls.c.
|
static |
Check if any data is waiting on a socket - Implements Connection::poll() -.
Definition at line 1308 of file openssl.c.
int raw_socket_poll | ( | struct Connection * | conn, |
time_t | wait_secs | ||
) |
Check if any data is waiting on a socket - Implements Connection::poll() -.
Definition at line 355 of file raw.c.
|
static |
Check if any data is waiting on a socket - Implements Connection::poll() -.
Definition at line 584 of file sasl.c.
|
static |
Check if any data is waiting on a socket - Implements Connection::poll() -.
Definition at line 196 of file tunnel.c.
|
static |
Check if any data is waiting on a socket - Implements Connection::poll() -.
Definition at line 214 of file zstrm.c.
int(* SaslSockData::poll) (struct Connection *conn, time_t wait_secs) |
Check if any data is waiting on a socket - Implements Connection::poll() -.