X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet.h;h=cd97e301e3e8f85c30d21c0df5f2e69a3de960cb;hb=79e46d08a46f2fef2ee4e8eac7ba487007160564;hp=a28f47858cbb1327b06e64c0cf0602f1189ea77d;hpb=5a132550deb58473285e5f91705d286aef47be71;p=meshlink diff --git a/src/net.h b/src/net.h index a28f4785..cd97e301 100644 --- a/src/net.h +++ b/src/net.h @@ -1,6 +1,6 @@ /* net.h -- header for net.c - Copyright (C) 1998-2005 Ivo Timmermans + Copyright (C) 1998-2005 Ivo Timmermans 2000-2009 Guus Sliepen This program is free software; you can redistribute it and/or modify @@ -13,11 +13,9 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id$ + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __TINC_NET_H__ @@ -146,9 +144,12 @@ extern void regenerate_key(); extern void purge(void); extern void retry(void); extern int reload_configuration(void); +extern void load_all_subnets(); #ifndef HAVE_MINGW #define closesocket(s) close(s) +#else +extern CRITICAL_SECTION mutex; #endif #endif /* __TINC_NET_H__ */