X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet.h;h=f53c27a411896d5cc58ffcb30fc76bf72a350af5;hb=a22041922f160667573e9a5ae3f4195e1668906a;hp=c9e2932c2ca5c54235991a0e63c5fba92f7965cd;hpb=2f97bdb46b1ed0a669619e0b9acf76f43dfa648b;p=tinc diff --git a/src/net.h b/src/net.h index c9e2932c..f53c27a4 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,18 +13,14 @@ 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__ #define __TINC_NET_H__ -#include - #include "ipv6.h" #include "cipher.h" #include "digest.h" @@ -118,6 +114,8 @@ extern int listen_sockets; extern int keylifetime; extern bool do_prune; extern char *myport; +extern int contradicting_add_edge; +extern int contradicting_del_edge; /* Yes, very strange placement indeed, but otherwise the typedefs get all tangled up */ #include "connection.h" @@ -148,6 +146,7 @@ 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)