From 80ea43c7c968cd7f9617ab8a69892b4214e6664c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 16 Jan 2015 12:30:18 -0600 Subject: 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. --- apps/include/netutils/smtp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/include') 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 * * 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); -- cgit v1.2.3