NeoMutt
2024-12-12-19-ge4b57e
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
mutt_account.h
Go to the documentation of this file.
1
24
#ifndef MUTT_CONN_MUTT_ACCOUNT_H
25
#define MUTT_CONN_MUTT_ACCOUNT_H
26
27
struct
ConnAccount
;
28
struct
Url
;
29
33
enum
AccountType
34
{
35
MUTT_ACCT_TYPE_NONE
= 0,
36
MUTT_ACCT_TYPE_IMAP
,
37
MUTT_ACCT_TYPE_POP
,
38
MUTT_ACCT_TYPE_SMTP
,
39
MUTT_ACCT_TYPE_NNTP
,
40
MUTT_ACCT_TYPE_MAX
41
};
42
43
int
account_from_url
(
struct
ConnAccount
*account,
const
struct
Url
*url);
44
void
account_to_url
(
struct
ConnAccount
*account,
struct
Url
*url);
45
46
#endif
/* MUTT_CONN_MUTT_ACCOUNT_H */
account_from_url
int account_from_url(struct ConnAccount *account, const struct Url *url)
Fill ConnAccount with information from url.
Definition:
mutt_account.c:44
AccountType
AccountType
Account types.
Definition:
mutt_account.h:34
MUTT_ACCT_TYPE_SMTP
@ MUTT_ACCT_TYPE_SMTP
Smtp Account.
Definition:
mutt_account.h:38
MUTT_ACCT_TYPE_POP
@ MUTT_ACCT_TYPE_POP
Pop Account.
Definition:
mutt_account.h:37
MUTT_ACCT_TYPE_NNTP
@ MUTT_ACCT_TYPE_NNTP
Nntp (Usenet) Account.
Definition:
mutt_account.h:39
MUTT_ACCT_TYPE_IMAP
@ MUTT_ACCT_TYPE_IMAP
Imap Account.
Definition:
mutt_account.h:36
MUTT_ACCT_TYPE_NONE
@ MUTT_ACCT_TYPE_NONE
Account type is unknown.
Definition:
mutt_account.h:35
MUTT_ACCT_TYPE_MAX
@ MUTT_ACCT_TYPE_MAX
Definition:
mutt_account.h:40
account_to_url
void account_to_url(struct ConnAccount *account, struct Url *url)
Fill URL with info from account.
Definition:
mutt_account.c:80
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