--- sbbs/src/xpdev/netwrap.h 2018/04/24 16:41:24 1.1.1.1 +++ sbbs/src/xpdev/netwrap.h 2018/04/24 16:45:21 1.1.1.2 @@ -2,13 +2,13 @@ /* Network related wrapper functions */ -/* $Id: netwrap.h,v 1.1.1.1 2018/04/24 16:41:24 root Exp $ */ +/* $Id: netwrap.h,v 1.1.1.2 2018/04/24 16:45:21 root Exp $ */ /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2005 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2009 Rob Swindell - http://www.synchro.net/copyright.html * * * * This library is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General Public License * @@ -41,10 +41,13 @@ #include /* size_t */ #include "str_list.h" /* string list functions and types */ +#define IPv4_LOCALHOST 0x7f000001U /* 127.0.0.1 */ + #if defined(__cplusplus) extern "C" { #endif +const char* getHostNameByAddr(const char*); str_list_t getNameServerList(void); void freeNameServerList(str_list_t);