NeoMutt  2023-05-17-16-g61469c
Teaching an old dog new tricks
ConnAccount Struct Reference

Login details for a remote server. More...

#include "connaccount.h"

Data Fields

char host [128]
 Server to login to. More...
char login [128]
 Login name. More...
char user [128]
 Username. More...
char pass [256]
 Password. More...
unsigned short port
 Port to connect to. More...
unsigned char type
 Connection type, e.g. MUTT_ACCT_TYPE_IMAP. More...
MuttAccountFlags flags
 Which fields are initialised, e.g. MUTT_ACCT_USER. More...
const char * service
 Name of the service, e.g. "imap". More...
const char *(* get_field )(enum ConnAccountField field, void *gf_data)
 Function to get some login credentials. More...
void * gf_data
 Private data to pass to get_field() More...

Detailed Description

Login details for a remote server.

Definition at line 52 of file connaccount.h.

Field Documentation

◆ host

char ConnAccount::host[128]

Server to login to.

Definition at line 54 of file connaccount.h.

◆ login

char ConnAccount::login[128]

Login name.

Definition at line 55 of file connaccount.h.

◆ user

char ConnAccount::user[128]


Definition at line 56 of file connaccount.h.

◆ pass

char ConnAccount::pass[256]


Definition at line 57 of file connaccount.h.

◆ port

unsigned short ConnAccount::port

Port to connect to.

Definition at line 58 of file connaccount.h.

◆ type

unsigned char ConnAccount::type

Connection type, e.g. MUTT_ACCT_TYPE_IMAP.

Definition at line 59 of file connaccount.h.

◆ flags

MuttAccountFlags ConnAccount::flags

Which fields are initialised, e.g. MUTT_ACCT_USER.

Definition at line 60 of file connaccount.h.

◆ service

const char* ConnAccount::service

Name of the service, e.g. "imap".

Definition at line 61 of file connaccount.h.

◆ get_field

const char *(* ConnAccount::get_field) (enum ConnAccountField field, void *gf_data)

Function to get some login credentials.

fieldField to get, e.g. MUTT_CA_PASS
Return values
ptrRequested string

Definition at line 68 of file connaccount.h.

◆ gf_data

void* ConnAccount::gf_data

Private data to pass to get_field()

Definition at line 70 of file connaccount.h.

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