Prototype for a function to handle POP server responses. More...
Functions | |
| static int | fetch_capa (const char *line, void *data) |
| Parse CAPA response - Implements pop_fetch_t -. | |
| static int | fetch_auth (const char *line, void *data) |
| Parse AUTH response - Implements pop_fetch_t -. | |
| static int | check_uidl (const char *line, void *data) |
| Parse UIDL response - Implements pop_fetch_t -. | |
| static int | fetch_message (const char *line, void *data) |
| Parse a Message response - Implements pop_fetch_t -. | |
| static int | fetch_uidl (const char *line, void *data) |
| Parse UIDL response - Implements pop_fetch_t -. | |
Prototype for a function to handle POP server responses.
| str | String to parse |
| data | Private data passed to pop_fetch_data() |
| 0 | Success |
| -1 | Failure |
|
static |
Parse CAPA response - Implements pop_fetch_t -.
| line | List of capabilities |
| data | POP data |
| 0 | (always) |
Definition at line 146 of file lib.c.
|
static |
Parse AUTH response - Implements pop_fetch_t -.
| line | List of authentication methods |
| data | POP data |
| 0 | (always) |
Definition at line 181 of file lib.c.
|
static |
Parse UIDL response - Implements pop_fetch_t -.
| line | String containing UIDL |
| data | POP data |
| 0 | Success |
| -1 | Error |
Find message with this UIDL and set refno.
Definition at line 576 of file lib.c.
|
static |
Parse a Message response - Implements pop_fetch_t -.
| line | String to write |
| data | FILE pointer to write to |
| 0 | Success |
| -1 | Failure |
Save a Message to a file.
Definition at line 102 of file pop.c.
|
static |
Parse UIDL response - Implements pop_fetch_t -.
| line | String to parse |
| data | Mailbox |
| 0 | Success |
| -1 | Failure |
Definition at line 214 of file pop.c.