From 761c3c544623cdcfe26aabaa9b685b75983ce3aa Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 31 Mar 2012 18:46:22 +0100 Subject: pop3: Added support for additional pop3 commands This feature allows the user to specify and use additional POP3 commands such as UIDL and DELE via libcurl's CURLOPT_CUSTOMREQUEST or curl's -X command line option. --- lib/pop3.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/pop3.h') diff --git a/lib/pop3.h b/lib/pop3.h index 59c0839c6..3071a6eb8 100644 --- a/lib/pop3.h +++ b/lib/pop3.h @@ -42,7 +42,8 @@ typedef enum { struct */ struct pop3_conn { struct pingpong pp; - char *mailbox; /* what to RETR */ + char *mailbox; /* message id */ + char *custom; /* custom request */ size_t eob; /* number of bytes of the EOB (End Of Body) that has been received thus far */ size_t strip; /* number of bytes from the start to ignore as non-body */ -- cgit v1.2.3