X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.c;h=a35d4f0a8083e0d4850e28da391127a730186fa7;hp=089ff0de1babbdb5717d8382e2366e5d560fb058;hb=6f9f6779e6bd1dd7bb795b42dad550863a386ca8;hpb=9f38e394636a177c00a4545de2a99c661de36386 diff --git a/src/connection.c b/src/connection.c index 089ff0de..a35d4f0a 100644 --- a/src/connection.c +++ b/src/connection.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: connection.c,v 1.1.2.33 2002/09/09 21:24:31 guus Exp $ + $Id: connection.c,v 1.1.2.34 2002/09/09 22:32:30 guus Exp $ */ #include "config.h" @@ -43,7 +43,7 @@ avl_tree_t *connection_tree; /* Meta connections */ connection_t *broadcast; -int connection_compare(connection_t * a, connection_t * b) +int connection_compare(connection_t *a, connection_t *b) { return a - b; } @@ -82,7 +82,7 @@ connection_t *new_connection(void) return c; } -void free_connection(connection_t * c) +void free_connection(connection_t *c) { cp(); @@ -104,14 +104,14 @@ void free_connection(connection_t * c) free(c); } -void connection_add(connection_t * c) +void connection_add(connection_t *c) { cp(); avl_insert(connection_tree, c); } -void connection_del(connection_t * c) +void connection_del(connection_t *c) { cp(); @@ -136,7 +136,7 @@ void dump_connections(void) syslog(LOG_DEBUG, _("End of connections.")); } -int read_connection_config(connection_t * c) +int read_connection_config(connection_t *c) { char *fname; int x;