diff options
author | Eduardo Chappa <chappa@washington.edu> | 2019-02-15 09:25:43 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2019-02-15 09:25:43 -0700 |
commit | 7da08008606c282cd08440d2f9310cc718c62946 (patch) | |
tree | b9b3b7f7908a10266c263e8d4cbc889f1c0a3053 /imap/src/c-client/mail.h | |
parent | 8ee1778a57c78b88e203ba20291d61d3e7cd0507 (diff) | |
download | alpine-7da08008606c282cd08440d2f9310cc718c62946.tar.xz |
* Add /auth=XYZ to the way to define a server. This allows users to
select the method to authenticate to an IMAP, SMTP or POP3 server.
Examples are /auth=plain, or /auth=gssapi, etc.
Diffstat (limited to 'imap/src/c-client/mail.h')
-rw-r--r-- | imap/src/c-client/mail.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/imap/src/c-client/mail.h b/imap/src/c-client/mail.h index e5755e54..73f6521c 100644 --- a/imap/src/c-client/mail.h +++ b/imap/src/c-client/mail.h @@ -680,10 +680,12 @@ STRINGLIST { #define NETMAXUSER 65 #define NETMAXMBX (MAILTMPLEN/4) #define NETMAXSRV 21 +#define NETMAXAUTH 16 typedef struct net_mailbox { char host[NETMAXHOST]; /* host name (may be canonicalized) */ char orighost[NETMAXHOST]; /* host name before canonicalization */ char user[NETMAXUSER]; /* user name */ + char auth[NETMAXAUTH]; /* authenticator name (PLAIN, etc.) */ char authuser[NETMAXUSER]; /* authentication user name */ char mailbox[NETMAXMBX]; /* mailbox name */ char service[NETMAXSRV]; /* service name */ |