X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.h;h=fbe4e02ca68a551728e57169c641d48e8eedd0b2;hp=eb13413b5815dfe323983a1cf239c7ef7fc6b750;hb=236b0ba4ebba01e22e382e79897100338a039bbb;hpb=6d08eb1614b59d5f86a43edda9db06fca72b76cd diff --git a/src/connection.h b/src/connection.h index eb13413b..fbe4e02c 100644 --- a/src/connection.h +++ b/src/connection.h @@ -1,6 +1,6 @@ /* connection.h -- header for connection.c - Copyright (C) 2000-2010 Guus Sliepen , + Copyright (C) 2000-2012 Guus Sliepen , 2000-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify @@ -45,7 +45,6 @@ typedef struct connection_status_t { } connection_status_t; #include "edge.h" -#include "list.h" #include "net.h" #include "node.h" @@ -102,12 +101,13 @@ typedef struct connection_t { } connection_t; extern avl_tree_t *connection_tree; -extern connection_t *broadcast; +extern connection_t *everyone; extern void init_connections(void); extern void exit_connections(void); extern connection_t *new_connection(void) __attribute__ ((__malloc__)); extern void free_connection(connection_t *); +extern void free_connection_partially(connection_t *); extern void connection_add(connection_t *); extern void connection_del(connection_t *); extern void dump_connections(void);