Move RSA key generation into the wrappers.
[tinc] / src / connection.h
index 54caa26..08778bf 100644 (file)
@@ -23,8 +23,6 @@
 #ifndef __TINC_CONNECTION_H__
 #define __TINC_CONNECTION_H__
 
-#include <event.h>
-
 #include "cipher.h"
 #include "digest.h"
 #include "rsa.h"
@@ -104,7 +102,7 @@ extern connection_t *new_connection(void) __attribute__ ((__malloc__));
 extern void free_connection(connection_t *);
 extern void connection_add(connection_t *);
 extern void connection_del(connection_t *);
-extern void dump_connections(void);
+extern int dump_connections(struct evbuffer *);
 extern bool read_connection_config(connection_t *);
 
 #endif                                                 /* __TINC_CONNECTION_H__ */