diff options
Diffstat (limited to 'nuttx/include/net/uip/smtp.h')
-rw-r--r-- | nuttx/include/net/uip/smtp.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/include/net/uip/smtp.h b/nuttx/include/net/uip/smtp.h index c90240d6d..aae9c972e 100644 --- a/nuttx/include/net/uip/smtp.h +++ b/nuttx/include/net/uip/smtp.h @@ -57,8 +57,11 @@ ****************************************************************************/ extern void *smtp_open(void); -extern void smtp_configure(void *handle, char *localhostname, void *smtpserver); -extern int smtp_send(void *handle, char *to, char *cc, char *from, char *subject, char *msg, int msglen); +extern void smtp_configure(void *handle, const char *localhostname, + const uip_ipaddr_t *paddr); +extern int smtp_send(void *handle, const char *to, const char *cc, + const char *from, const char *subject, + const char *msg, int msglen); extern void smtp_close(void *handle); #endif /* __SMTP_H__ */ |