2 * Copyright notice from original mutt:
3 * Copyright (C) 2000-5 Brendan Cully <brendan@kublai.com>
5 * This file is part of mutt-ng, see http://www.muttng.org/.
6 * It's licensed under the GNU General Public License,
7 * please see the file GPL in the top level source directory.
10 /* remote host account manipulation (POP/IMAP) */
12 #ifndef _MUTT_ACCOUNT_H_
13 #define _MUTT_ACCOUNT_H_ 1
26 #define M_ACCT_PORT (1<<0)
27 #define M_ACCT_USER (1<<1)
28 #define M_ACCT_LOGIN (1<<2)
29 #define M_ACCT_PASS (1<<3)
30 #define M_ACCT_SSL (1<<4)
42 int mutt_account_match (const ACCOUNT * a1, const ACCOUNT * m2);
43 int mutt_account_fromurl (ACCOUNT * account, ciss_url_t * url);
44 void mutt_account_tourl (ACCOUNT * account, ciss_url_t * url);
45 int mutt_account_getuser (ACCOUNT * account);
46 int mutt_account_getlogin (ACCOUNT * account);
47 int mutt_account_getpass (ACCOUNT * account);
48 void mutt_account_unsetpass (ACCOUNT * account);
50 #endif /* _MUTT_ACCOUNT_H_ */