summaryrefslogtreecommitdiff
path: root/lib/pop3.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2012-05-31 20:45:53 +0100
committerSteve Holme <steve_holme@hotmail.com>2012-05-31 20:45:53 +0100
commit2c6d32b864d5bdf7979c22b7b37818e54e6207d8 (patch)
treee7ae5959d8031dd4e0807f6980f732f7318353b1 /lib/pop3.h
parent3c14c524c589632ba0a715f0f9095388b2174d96 (diff)
downloadcurl-2c6d32b864d5bdf7979c22b7b37818e54e6207d8.tar.gz
pop3: Added support for sasl plain text authentication
Diffstat (limited to 'lib/pop3.h')
-rw-r--r--lib/pop3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pop3.h b/lib/pop3.h
index 000284d62..953fce7da 100644
--- a/lib/pop3.h
+++ b/lib/pop3.h
@@ -31,6 +31,8 @@ typedef enum {
a connect */
POP3_STARTTLS,
POP3_AUTH,
+ POP3_AUTH_PLAIN,
+ POP3_AUTH_FINAL,
POP3_USER,
POP3_PASS,
POP3_COMMAND,
@@ -48,6 +50,7 @@ struct pop3_conn {
received thus far */
size_t strip; /* number of bytes from the start to ignore as non-body */
unsigned int authmechs; /* Accepted authentication methods */
+ unsigned int authused; /* Authentication method used for the connection */
pop3state state; /* always use pop3.c:state() to change state! */
};