X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=account.h;fp=account.h;h=d3c7a76cf375db215810c63964e23cf0d41284ee;hb=df70e07e24add1869bcc9b7af2277d9d0c09a281;hp=a2aa59e46c71e5aef0b7c8083f79f726d241735f;hpb=31edbe030ac69952aa535730427246b5e9a1603c;p=apps%2Fmadmutt.git diff --git a/account.h b/account.h index a2aa59e..d3c7a76 100644 --- a/account.h +++ b/account.h @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. - */ + */ /* remote host account manipulation (POP/IMAP) */ @@ -24,8 +24,7 @@ #include "url.h" /* account types */ -enum -{ +enum { M_ACCT_TYPE_NONE = 0, M_ACCT_TYPE_IMAP, M_ACCT_TYPE_NNTP, @@ -38,8 +37,7 @@ enum #define M_ACCT_PASS (1<<2) #define M_ACCT_SSL (1<<3) -typedef struct -{ +typedef struct { char user[64]; char pass[64]; char host[128]; @@ -48,11 +46,11 @@ typedef struct unsigned char flags; } ACCOUNT; -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_getpass (ACCOUNT* account); -void mutt_account_unsetpass (ACCOUNT* account); +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_getpass (ACCOUNT * account); +void mutt_account_unsetpass (ACCOUNT * account); #endif /* _MUTT_ACCOUNT_H_ */