--- embedaddon/miniupnpd/miniupnpdtypes.h 2012/02/21 23:16:02 1.1.1.1 +++ embedaddon/miniupnpd/miniupnpdtypes.h 2012/05/29 12:55:57 1.1.1.2 @@ -1,4 +1,4 @@ -/* $Id: miniupnpdtypes.h,v 1.1.1.1 2012/02/21 23:16:02 misho Exp $ */ +/* $Id: miniupnpdtypes.h,v 1.1.1.2 2012/05/29 12:55:57 misho Exp $ */ /* MiniUPnP project * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * (c) 2006-2007 Thomas Bernard @@ -9,8 +9,9 @@ #include "config.h" #include +#include -/* structure for storing lan addresses +/* structure and list for storing lan addresses * with ascii representation and mask */ struct lan_addr_s { char str[16]; /* example: 192.168.0.1 */ @@ -19,6 +20,8 @@ struct lan_addr_s { char ext_ip_str[16]; struct in_addr ext_ip_addr; #endif + LIST_ENTRY(lan_addr_s) list; }; +LIST_HEAD(lan_addr_list, lan_addr_s); #endif