]> git.meshlink.io Git - meshlink/blobdiff - src/connection.h
Fix pointer arithmetic when creating and verifying message authentication codes.
[meshlink] / src / connection.h
index 54caa2610a81f93124180a658d1642f7085918a5..08778bf3fda5bdf8f9069ffa6521964e0e47afa3 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__ */