OpenTCP implementation of SMTP client that uses TCP api. For interface functions declarations see /inet/smtp/smtp_client.h.
Definition in file smtp_client.c.
Go to the source code of this file.
Functions | |
INT8 | smtpc_connect (UINT32 ip, UINT16 port) |
Start E-mail sending procedure. | |
void | smtpc_init (void) |
Initializes SMTP client. | |
UINT8 | smtpc_getstate (void) |
Retrieves SMTP clients' state. | |
Variables | |
UINT8 | smtpc_init_done = 0 |
struct { | |
} | smtp_client |
SMTP client state information. |
|
Definition at line 120 of file smtp_client.c. References smtp_client, SMTP_CLOSED, and SMTP_OPEN_REQUESTED. |
|
Definition at line 155 of file smtp_client.c. References get_timer(), RESET_SYSTEM, smtp_client, SMTP_CLOSED, smtpc_init_done, TCP_APP_OFFSET, TCP_DEF_TOUT, tcp_getsocket(), TCP_TOS_NORMAL, and TCP_TYPE_CLIENT. |
|
Definition at line 193 of file smtp_client.c. References smtp_client. |
|
Defines whether smtpc_init has already been invoked or not Definition at line 75 of file smtp_client.c. Referenced by smtpc_init(). |
|
smtp_client variable holds various information about the smtp client needed for proper operation. Referenced by smtpc_connect(), smtpc_getstate(), and smtpc_init(). |