aboutsummaryrefslogtreecommitdiff
path: root/lib/pop3.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pop3.h')
-rw-r--r--lib/pop3.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/pop3.h b/lib/pop3.h
index 6ef408e49..ca9e84b1b 100644
--- a/lib/pop3.h
+++ b/lib/pop3.h
@@ -22,6 +22,8 @@
*
***************************************************************************/
+#include "pingpong.h"
+
/****************************************************************************
* POP3 unique setup
***************************************************************************/
@@ -50,6 +52,17 @@ typedef enum {
POP3_LAST /* never used */
} pop3state;
+/* This POP3 struct is used in the SessionHandle. All POP3 data that is
+ connection-oriented must be in pop3_conn to properly deal with the fact that
+ perhaps the SessionHandle is changed between the times the connection is
+ used. */
+struct POP3 {
+ curl_off_t *bytecountp;
+ char *user; /* User name string */
+ char *passwd; /* Password string */
+ curl_ftptransfer transfer;
+};
+
/* pop3_conn is used for struct connection-oriented data in the connectdata
struct */
struct pop3_conn {