NeoMutt  2024-03-23-142-g2b2e76
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
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
 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)
 

Detailed Description

SASL authentication API -.

Definition at line 64 of file sasl.c.

Field Documentation

◆ saslconn

sasl_conn_t* SaslSockData::saslconn

Definition at line 66 of file sasl.c.

◆ ssf

const sasl_ssf_t* SaslSockData::ssf

Definition at line 67 of file sasl.c.

◆ pbufsize

const unsigned int* SaslSockData::pbufsize

Definition at line 68 of file sasl.c.

◆ buf

const char* SaslSockData::buf

Buffer for data read from the connection.

Definition at line 71 of file sasl.c.

◆ blen

unsigned int SaslSockData::blen

Size of the read buffer.

Definition at line 72 of file sasl.c.

◆ bpos

unsigned int SaslSockData::bpos

Current read position.

Definition at line 73 of file sasl.c.

◆ sockdata

void* SaslSockData::sockdata

Underlying socket data.

Definition at line 75 of file sasl.c.


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