X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=inline;f=src%2Fnet.h;h=73e82e059cdba1d492586d48f09a59435b530258;hb=b34eb5555d40b7e87c1e06988250e4977a793c09;hp=69ca48877b9ff590ab433464c66db44c97ef3ef3;hpb=aebaaa8db80ec3931346af710f2182d129c74c41;p=tinc diff --git a/src/net.h b/src/net.h index 69ca4887..73e82e05 100644 --- a/src/net.h +++ b/src/net.h @@ -1,3 +1,6 @@ +#ifndef TINC_NET_H +#define TINC_NET_H + /* net.h -- header for net.c Copyright (C) 1998-2005 Ivo Timmermans @@ -18,9 +21,6 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_NET_H__ -#define __TINC_NET_H__ - #include "ipv6.h" #include "cipher.h" #include "digest.h" @@ -204,7 +204,7 @@ extern void device_enable(void); extern void device_disable(void); extern bool setup_myself_reloadable(void); extern bool setup_network(void); -extern void setup_outgoing_connection(struct outgoing_t *); +extern void setup_outgoing_connection(struct outgoing_t *, bool verbose); extern void try_outgoing_connections(void); extern void close_network_connections(void); extern int main_loop(void); @@ -225,4 +225,4 @@ extern void try_tx(struct node_t *n, bool); #define closesocket(s) close(s) #endif -#endif /* __TINC_NET_H__ */ +#endif