summaryrefslogtreecommitdiff
path: root/lib/pop3.h
diff options
context:
space:
mode:
authorPatrick Monnerat <pm@datasphere.ch>2015-01-20 14:14:26 +0100
committerPatrick Monnerat <pm@datasphere.ch>2015-01-20 14:14:26 +0100
commit5f09cbcdbd0e0ac4e44a32d06122b5e58d575679 (patch)
treee0bbe743feaaec910c7b1c8491d0fa2cceddfeba /lib/pop3.h
parent960b04e137446943a258e910c48f183a1a1a273b (diff)
downloadcurl-5f09cbcdbd0e0ac4e44a32d06122b5e58d575679.tar.gz
IMAP/POP3/SMTP: use a per-connection sub-structure for SASL parameters.
Diffstat (limited to 'lib/pop3.h')
-rw-r--r--lib/pop3.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/pop3.h b/lib/pop3.h
index 729a55ad5..7b4d21f03 100644
--- a/lib/pop3.h
+++ b/lib/pop3.h
@@ -23,6 +23,7 @@
***************************************************************************/
#include "pingpong.h"
+#include "curl_sasl.h"
/****************************************************************************
* POP3 unique setup
@@ -77,14 +78,11 @@ struct pop3_conn {
have been received so far */
size_t strip; /* Number of bytes from the start to ignore as
non-body */
+ struct SASL sasl; /* SASL-related storage */
unsigned int authtypes; /* Accepted authentication types */
- unsigned int authmechs; /* Accepted SASL authentication mechanisms */
unsigned int preftype; /* Preferred authentication type */
- unsigned int prefmech; /* Preferred SASL authentication mechanism */
- unsigned int authused; /* SASL auth mechanism used for the connection */
char *apoptimestamp; /* APOP timestamp from the server greeting */
bool tls_supported; /* StartTLS capability supported by server */
- bool mutual_auth; /* Mutual authentication enabled (GSSAPI only) */
};
extern const struct Curl_handler Curl_handler_pop3;