NeoMutt  2021-02-05-89-gabe350
Teaching an old dog new tricks
DOXYGEN
mutt_account.h
Go to the documentation of this file.
1 
23 /* remote host account manipulation (POP/IMAP) */
24 
25 #ifndef MUTT_MUTT_ACCOUNT_H
26 #define MUTT_MUTT_ACCOUNT_H
27 
28 struct ConnAccount;
29 struct Url;
30 
35 {
41 };
42 
43 int mutt_account_fromurl(struct ConnAccount *account, const struct Url *url);
44 void mutt_account_tourl (struct ConnAccount *account, struct Url *url);
45 
46 #endif /* MUTT_MUTT_ACCOUNT_H */
ConnAccount
Login details for a remote server.
Definition: connaccount.h:51
MUTT_ACCT_TYPE_SMTP
@ MUTT_ACCT_TYPE_SMTP
Smtp Account.
Definition: mutt_account.h:39
mutt_account_fromurl
int mutt_account_fromurl(struct ConnAccount *account, const struct Url *url)
Fill ConnAccount with information from url.
Definition: mutt_account.c:43
Url
A parsed URL proto://user:password@host:port/path?a=1&b=2
Definition: url.h:67
MUTT_ACCT_TYPE_IMAP
@ MUTT_ACCT_TYPE_IMAP
Imap Account.
Definition: mutt_account.h:37
MUTT_ACCT_TYPE_POP
@ MUTT_ACCT_TYPE_POP
Pop Account.
Definition: mutt_account.h:38
mutt_account_tourl
void mutt_account_tourl(struct ConnAccount *account, struct Url *url)
Fill URL with info from account.
Definition: mutt_account.c:79
MUTT_ACCT_TYPE_NONE
@ MUTT_ACCT_TYPE_NONE
Account type is unknown.
Definition: mutt_account.h:36
AccountType
AccountType
account types
Definition: mutt_account.h:34
MUTT_ACCT_TYPE_NNTP
@ MUTT_ACCT_TYPE_NNTP
Nntp (Usenet) Account.
Definition: mutt_account.h:40