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