X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=account.h;h=a838b6782df0fb98fb6f5403950e887e0d1047b1;hp=a3ac1d4cae5707d203abe1ae8d3ccfe37d7aedcc;hb=774b53097f8c8b62c5101bce8f313d339387a438;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/account.h b/account.h index a3ac1d4..a838b67 100644 --- a/account.h +++ b/account.h @@ -1,6 +1,6 @@ /* * Copyright notice from original mutt: - * Copyright (C) 2000-3 Brendan Cully + * Copyright (C) 2000-5 Brendan Cully * * This file is part of mutt-ng, see http://www.muttng.org/. * It's licensed under the GNU General Public License, @@ -12,7 +12,7 @@ #ifndef _MUTT_ACCOUNT_H_ #define _MUTT_ACCOUNT_H_ 1 -#include "url.h" +#include /* account types */ enum { @@ -23,13 +23,15 @@ enum { }; /* account flags */ -#define M_ACCT_PORT (1<<0) -#define M_ACCT_USER (1<<1) -#define M_ACCT_PASS (1<<2) -#define M_ACCT_SSL (1<<3) +#define M_ACCT_PORT (1<<0) +#define M_ACCT_USER (1<<1) +#define M_ACCT_LOGIN (1<<2) +#define M_ACCT_PASS (1<<3) +#define M_ACCT_SSL (1<<4) typedef struct { char user[64]; + char login[64]; char pass[64]; char host[128]; unsigned short port; @@ -41,6 +43,7 @@ int mutt_account_match (const ACCOUNT * a1, const ACCOUNT * m2); int mutt_account_fromurl (ACCOUNT * account, ciss_url_t * url); void mutt_account_tourl (ACCOUNT * account, ciss_url_t * url); int mutt_account_getuser (ACCOUNT * account); +int mutt_account_getlogin (ACCOUNT * account); int mutt_account_getpass (ACCOUNT * account); void mutt_account_unsetpass (ACCOUNT * account);