OpenTCP implementation of POP3 client that uses TCP api. For interface functions declarations see /pop3/pop3_client.h.
Definition in file pop3_client.c.
Go to the source code of this file.
Functions | |
INT8 | pop3c_connect (UINT32 ip, UINT16 port) |
Start E-mail reading procedure. | |
void | pop3c_init (void) |
Initialize POP3 client. | |
UINT8 | pop3c_getstate (void) |
Get current POP3 client state. | |
Variables | |
UINT8 | pop3c_init_done = 0 |
pop3c_struct | pop3_client |
Holds information needed by the POP3 client for successful operation. |
|
Definition at line 114 of file pop3_client.c. References POP3C_CLOSED, POP3C_OPEN_REQUESTED, pop3c_struct::remip, pop3c_struct::remport, pop3c_struct::sochandle, and pop3c_struct::state. |
|
Definition at line 148 of file pop3_client.c. References pop3c_struct::charsinheaderbuf, pop3c_struct::curmsghlen, pop3c_struct::curmsgindex, pop3c_struct::curmsgtotlen, pop3c_struct::from, get_timer(), pop3c_struct::headerbuf, pop3c_struct::msgtotal, POP3C_CLOSED, pop3c_init_done, pop3c_struct::remip, pop3c_struct::remport, RESET_SYSTEM, pop3c_struct::sochandle, pop3c_struct::subject, TCP_DEF_TOUT, tcp_getsocket(), TCP_TOS_NORMAL, TCP_TYPE_CLIENT, pop3c_struct::tmrhandle, and pop3c_struct::unacked. |
|
Definition at line 194 of file pop3_client.c. References pop3c_struct::state. |
|
Defines whether pop3c_init has already been invoked or not Definition at line 77 of file pop3_client.c. Referenced by pop3c_init(). |
|
All of the information that the POP3 client is using for operation are stored here. See pop3c_struct definition for more information about the structure fields. Definition at line 85 of file pop3_client.c. |