You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
404 B

#define LWS_SMTP_MAX_EMAIL_LEN 32
/*
* These are allocated on to the heap with an over-allocation to hold the
* payload at the end
*/
typedef struct lws_smtp_email {
struct lws_dll2 list;
void *data;
char from[LWS_SMTP_MAX_EMAIL_LEN];
char to[LWS_SMTP_MAX_EMAIL_LEN];
time_t added;
time_t last_try;
lws_smtp_cb_t done;
int tries;
/* email payload follows */
} lws_smtp_email_t;