summaryrefslogtreecommitdiff
path: root/nuttx/include/net/uip/smtp.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-10-27 18:56:04 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-10-27 18:56:04 +0000
commit1e60556b89305022b6cefe9bb28badb51dc15620 (patch)
treed07c947b44430bff1520bd7ced5fe49e19b26bf3 /nuttx/include/net/uip/smtp.h
parenta7e644a852025eeb8af8648f73aac7c9ffc315bd (diff)
downloadpx4-nuttx-1e60556b89305022b6cefe9bb28badb51dc15620.tar.gz
px4-nuttx-1e60556b89305022b6cefe9bb28badb51dc15620.tar.bz2
px4-nuttx-1e60556b89305022b6cefe9bb28badb51dc15620.zip
Fixes found in smtp testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@356 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/net/uip/smtp.h')
-rw-r--r--nuttx/include/net/uip/smtp.h7
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__ */