aboutsummaryrefslogtreecommitdiff
path: root/lib/pop3.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2012-04-02 23:24:00 +0100
committerSteve Holme <steve_holme@hotmail.com>2012-04-02 23:24:00 +0100
commit15e1227ed4cbf3364c70f4aa8fb4141879777a6d (patch)
tree70c364e4b84d12fe860a4002d2994185fe336cb8 /lib/pop3.h
parentddfe821bcf9522247cd057b12b8a1b0af01f2d37 (diff)
downloadgnurl-15e1227ed4cbf3364c70f4aa8fb4141879777a6d.tar.gz
gnurl-15e1227ed4cbf3364c70f4aa8fb4141879777a6d.tar.bz2
gnurl-15e1227ed4cbf3364c70f4aa8fb4141879777a6d.zip
pop3: Reworked the command sending and handling
Reworked the command sending from two specific LIST and RETR command functions into a single command based function as well as the two associated response handlers into a generic command handler.
Diffstat (limited to 'lib/pop3.h')
-rw-r--r--lib/pop3.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pop3.h b/lib/pop3.h
index 3071a6eb8..e30c3b3b2 100644
--- a/lib/pop3.h
+++ b/lib/pop3.h
@@ -32,8 +32,7 @@ typedef enum {
POP3_USER,
POP3_PASS,
POP3_STARTTLS,
- POP3_LIST,
- POP3_RETR,
+ POP3_COMMAND,
POP3_QUIT,
POP3_LAST /* never used */
} pop3state;