diff options
author | Steve Holme <steve_holme@hotmail.com> | 2012-03-31 18:46:22 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2012-03-31 18:46:22 +0100 |
commit | 761c3c544623cdcfe26aabaa9b685b75983ce3aa (patch) | |
tree | 3deae15bd2802566944c2dd1759c1e78ccaad499 /lib/pop3.h | |
parent | 66c0e26e284c65f5e78e3531c6464b5f8ac3e9fd (diff) | |
download | curl-761c3c544623cdcfe26aabaa9b685b75983ce3aa.tar.gz |
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.
Diffstat (limited to 'lib/pop3.h')
-rw-r--r-- | lib/pop3.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |