aboutsummaryrefslogtreecommitdiff
path: root/lib/pop3.h
diff options
context:
space:
mode:
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! */
};