23#ifndef MUTT_CONN_CONNECTION_H
24#define MUTT_CONN_CONNECTION_H
Login details for a remote server.
void * sockdata
Backend-specific socket data.
char inbuf[1024]
Buffer for incoming traffic.
int(* poll)(struct Connection *conn, time_t wait_secs)
int(* write)(struct Connection *conn, const char *buf, size_t count)
unsigned int ssf
Security strength factor, in bits (see notes)
int bufpos
Current position in the buffer.
int(* close)(struct Connection *conn)
int available
Amount of data waiting to be read.
struct ConnAccount account
Account details: username, password, etc.
int(* open)(struct Connection *conn)
int fd
Socket file descriptor.
int(* read)(struct Connection *conn, char *buf, size_t count)