#include "connection.h"
Inheritance diagram for Connection:
Collaboration diagram for Connection:Data Fields | |
| 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) |
Definition at line 47 of file connection.h.
| struct ConnAccount Connection::account |
Account details: username, password, etc.
Definition at line 49 of file connection.h.
| unsigned int Connection::ssf |
Security strength factor, in bits (see notes)
Definition at line 50 of file connection.h.
| char Connection::inbuf[1024] |
Buffer for incoming traffic.
Definition at line 51 of file connection.h.
| int Connection::bufpos |
Current position in the buffer.
Definition at line 52 of file connection.h.
| int Connection::fd |
Socket file descriptor.
Definition at line 53 of file connection.h.
| int Connection::available |
Amount of data waiting to be read.
Definition at line 54 of file connection.h.
| void* Connection::sockdata |
Backend-specific socket data.
Definition at line 55 of file connection.h.
| int(* Connection::open) (struct Connection *conn) |
Definition at line 66 of file connection.h.
| int(* Connection::read) (struct Connection *conn, char *buf, size_t count) |
Definition at line 79 of file connection.h.
| int(* Connection::write) (struct Connection *conn, const char *buf, size_t count) |
Definition at line 92 of file connection.h.
| int(* Connection::poll) (struct Connection *conn, time_t wait_secs) |
Definition at line 105 of file connection.h.
| int(* Connection::close) (struct Connection *conn) |
Definition at line 116 of file connection.h.