diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-01-16 12:30:18 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-01-16 12:30:18 -0600 |
commit | 80ea43c7c968cd7f9617ab8a69892b4214e6664c (patch) | |
tree | 0fd0ccd53493c12a7cd79a322e48680763715228 /apps/include | |
parent | 9d7bd7674895cf2d6f21501396f6945a14231e7b (diff) | |
download | nuttx-80ea43c7c968cd7f9617ab8a69892b4214e6664c.tar.gz nuttx-80ea43c7c968cd7f9617ab8a69892b4214e6664c.tar.bz2 nuttx-80ea43c7c968cd7f9617ab8a69892b4214e6664c.zip |
Networking: Replace all references to net_ipaddr_t with either in_addr_t on net_ipv6addr_t. The goal is to support both IPv4 and IPv6 simultaneously. This requires that the two types be distinct and not conditionally typedef'ed to net_ipaddr_t.
Diffstat (limited to 'apps/include')
-rw-r--r-- | apps/include/netutils/smtp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/include/netutils/smtp.h b/apps/include/netutils/smtp.h index 2ca7f1e8c..684864c44 100644 --- a/apps/include/netutils/smtp.h +++ b/apps/include/netutils/smtp.h @@ -2,7 +2,7 @@ * apps/include/netutils/smtp.h * SMTP header file * - * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2011, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Heavily leveraged from uIP 1.0 which also has a BSD-like license: @@ -69,7 +69,7 @@ extern "C" void *smtp_open(void); void smtp_configure(FAR void *handle, FAR const char *localhostname, - FAR const net_ipaddr_t *paddr); + FAR const in_addr_t *paddr); int smtp_send(FAR void *handle, FAR const char *to, FAR const char *cc, FAR const char *from, FAR const char *subject, FAR const char *msg, int msglen); |