SASL authentication API -. More...
Data Fields | |
| sasl_conn_t * | saslconn |
| Raw SASL connection. | |
| const sasl_ssf_t * | ssf |
| Security strength factor, in bits. | |
| const unsigned int * | pbufsize |
| Buffer size. | |
| const char * | buf |
| Buffer for data read from the connection. | |
| unsigned int | blen |
| Size of the read buffer. | |
| unsigned int | bpos |
| Current read position. | |
| void * | sockdata |
| Underlying socket data. | |
| int(* | open )(struct Connection *conn) |
| Open a socket Connection - Implements Connection::open() -. | |
| int(* | read )(struct Connection *conn, char *buf, size_t count) |
| Read from a socket Connection - Implements Connection::read() -. | |
| int(* | write )(struct Connection *conn, const char *buf, size_t count) |
| Write to a socket Connection - Implements Connection::write() -. | |
| int(* | poll )(struct Connection *conn, time_t wait_secs) |
| Check if any data is waiting on a socket - Implements Connection::poll() -. | |
| int(* | close )(struct Connection *conn) |
| Close a socket Connection - Implements Connection::close() -. | |
| 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) |
| const sasl_ssf_t* SaslSockData::ssf |
| const char* SaslSockData::buf |