Show
Ignore:
Timestamp:
2005-06-28 12:26:54 (3 years ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Add $imap_login variable to specify which user to authenticate as
($imap_user controls which user's mail gets accessed). Currently
this can't be specified interactively, since I can't think of a way
to do it that wouldn't annoy users where login == user (the default
value of $imap_login).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • account.h

    r3437 r4006  
    11/* 
    2  * Copyright (C) 2000-3 Brendan Cully <brendan@kublai.com> 
     2 * Copyright (C) 2000-5 Brendan Cully <brendan@kublai.com> 
    33 *  
    44 *     This program is free software; you can redistribute it and/or modify 
     
    3333 
    3434/* account flags */ 
    35 #define M_ACCT_PORT (1<<0) 
    36 #define M_ACCT_USER (1<<1) 
    37 #define M_ACCT_PASS (1<<2) 
    38 #define M_ACCT_SSL  (1<<3) 
     35#define M_ACCT_PORT  (1<<0) 
     36#define M_ACCT_USER  (1<<1) 
     37#define M_ACCT_LOGIN (1<<2) 
     38#define M_ACCT_PASS  (1<<3) 
     39#define M_ACCT_SSL   (1<<4) 
    3940 
    4041typedef struct 
    4142{ 
    4243  char user[64]; 
     44  char login[64]; 
    4345  char pass[64]; 
    4446  char host[128]; 
     
    5254void mutt_account_tourl (ACCOUNT* account, ciss_url_t* url); 
    5355int mutt_account_getuser (ACCOUNT* account); 
     56int mutt_account_getlogin (ACCOUNT* account); 
    5457int mutt_account_getpass (ACCOUNT* account); 
    5558void mutt_account_unsetpass (ACCOUNT* account);