projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PrivateKeyFile instead of PrivateKey.
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
089ff0d
..
b9a3c23
100644
(file)
--- 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.
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.3
3 2002/09/09 21:24:31
guus Exp $
+ $Id: connection.c,v 1.1.2.3
5 2002/09/10 22:12:33
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-32,7
+32,6
@@
#include "net.h" /* Don't ask. */
#include "netutl.h"
#include "net.h" /* Don't ask. */
#include "netutl.h"
-#include "config.h"
#include "conf.h"
#include <utils.h>
#include "subnet.h"
#include "conf.h"
#include <utils.h>
#include "subnet.h"
@@
-43,7
+42,7
@@
avl_tree_t *connection_tree; /* Meta connections */
connection_t *broadcast;
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;
}
{
return a - b;
}
@@
-82,7
+81,7
@@
connection_t *new_connection(void)
return c;
}
return c;
}
-void free_connection(connection_t *
c)
+void free_connection(connection_t *c)
{
cp();
{
cp();
@@
-104,14
+103,14
@@
void free_connection(connection_t * c)
free(c);
}
free(c);
}
-void connection_add(connection_t *
c)
+void connection_add(connection_t *c)
{
cp();
avl_insert(connection_tree, c);
}
{
cp();
avl_insert(connection_tree, c);
}
-void connection_del(connection_t *
c)
+void connection_del(connection_t *c)
{
cp();
{
cp();
@@
-136,7
+135,7
@@
void dump_connections(void)
syslog(LOG_DEBUG, _("End of connections."));
}
syslog(LOG_DEBUG, _("End of connections."));
}
-int read_connection_config(connection_t *
c)
+int read_connection_config(connection_t *c)
{
char *fname;
int x;
{
char *fname;
int x;