NeoMutt  2021-10-29-220-g2b1eec
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 */
void mutt_account_tourl(struct ConnAccount *account, struct Url *url)
Fill URL with info from account.
Definition: mutt_account.c:79
AccountType
Account types.
Definition: mutt_account.h:35
@ MUTT_ACCT_TYPE_SMTP
Smtp Account.
Definition: mutt_account.h:39
@ MUTT_ACCT_TYPE_POP
Pop Account.
Definition: mutt_account.h:38
@ MUTT_ACCT_TYPE_NNTP
Nntp (Usenet) Account.
Definition: mutt_account.h:40
@ MUTT_ACCT_TYPE_IMAP
Imap Account.
Definition: mutt_account.h:37
@ MUTT_ACCT_TYPE_NONE
Account type is unknown.
Definition: mutt_account.h:36
int mutt_account_fromurl(struct ConnAccount *account, const struct Url *url)
Fill ConnAccount with information from url.
Definition: mutt_account.c:43
Login details for a remote server.
Definition: connaccount.h:53
A parsed URL proto://user:password@host:port/path?a=1&b=2
Definition: url.h:69