92 struct Url url = { 0 };
93 char hook[1024] = { 0 };
const char * cs_subset_string(const struct ConfigSubset *sub, const char *name)
Get a string config item by name.
Convenience wrapper for the config headers.
#define MUTT_ACCT_SSL
Account uses SSL/TLS.
Convenience wrapper for the core headers.
Structs that make up an email.
void mutt_account_hook(const char *url)
Perform an account hook.
Parse and execute user-defined hooks.
Convenience wrapper for the library headers.
void mutt_account_tourl(struct ConnAccount *cac, struct Url *url)
Fill URL with info from account.
ConnAccount object used by POP and IMAP.
struct Connection * mutt_conn_new(const struct ConnAccount *cac)
Create a new Connection.
struct Connection * mutt_conn_find(const struct ConnAccount *cac)
Find a connection from a list.
struct Connection * mutt_socket_new(enum ConnectionType type)
Allocate and initialise a new connection.
ConnectionType
Type of connection.
@ MUTT_CONNECTION_SSL
SSL/TLS-encrypted connection.
@ MUTT_CONNECTION_SIMPLE
Simple TCP socket connection.
@ MUTT_CONNECTION_TUNNEL
Tunnelled connection.
Login details for a remote server.
char host[128]
Server to login to.
MuttAccountFlags flags
Which fields are initialised, e.g. MUTT_ACCT_USER.
struct ConnAccount account
Account details: username, password, etc.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.
A parsed URL proto://user:password@host:port/path?a=1&b=2
int url_tostring(const struct Url *url, char *dest, size_t len, uint8_t flags)
Output the URL string for a given Url object.