NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
SaslSockData Struct Reference

SASL authentication API -. More...

+ Inheritance diagram for SaslSockData:
+ Collaboration diagram for SaslSockData:

Data Fields

sasl_conn_t * saslconn
 
const sasl_ssf_t * ssf
 
const unsigned int * pbufsize
 
const char * buf
 
unsigned int blen
 
unsigned int bpos
 
void * sockdata
 Underlying socket data. More...
 
int(* open )(struct Connection *conn)
 Open a socket Connection - Implements Connection::open() -. More...
 
int(* read )(struct Connection *conn, char *buf, size_t count)
 Read from a socket Connection - Implements Connection::read() -. More...
 
int(* write )(struct Connection *conn, const char *buf, size_t count)
 Write to a socket Connection - Implements Connection::write() -. More...
 
int(* poll )(struct Connection *conn, time_t wait_secs)
 Check whether a socket read would block - Implements Connection::poll() -. More...
 
int(* close )(struct Connection *conn)
 Close a socket Connection - Implements Connection::close() -. More...
 
- Data Fields inherited from Connection
struct ConnAccount account
 Account details: username, password, etc. More...
 
unsigned int ssf
 Security strength factor, in bits (see below) More...
 
char inbuf [1024]
 Buffer for incoming traffic. More...
 
int bufpos
 Current position in the buffer. More...
 
int fd
 Socket file descriptor. More...
 
int available
 Amount of data waiting to be read. More...
 
void * sockdata
 Backend-specific socket data. More...
 
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)
 

Detailed Description

SASL authentication API -.

Definition at line 60 of file sasl.c.

Field Documentation

◆ saslconn

sasl_conn_t* SaslSockData::saslconn

Definition at line 62 of file sasl.c.

◆ ssf

const sasl_ssf_t* SaslSockData::ssf

Definition at line 63 of file sasl.c.

◆ pbufsize

const unsigned int* SaslSockData::pbufsize

Definition at line 64 of file sasl.c.

◆ buf

const char* SaslSockData::buf

Definition at line 67 of file sasl.c.

◆ blen

unsigned int SaslSockData::blen

Definition at line 68 of file sasl.c.

◆ bpos

unsigned int SaslSockData::bpos

Definition at line 69 of file sasl.c.

◆ sockdata

void* SaslSockData::sockdata

Underlying socket data.

Definition at line 71 of file sasl.c.


The documentation for this struct was generated from the following file: