X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.h;h=08778bf3fda5bdf8f9069ffa6521964e0e47afa3;hp=54caa2610a81f93124180a658d1642f7085918a5;hb=551cd19406a560d0d206bff5b4e9da064ec222b6;hpb=1b8f8918360b40a2749d40355266ed7dedbe41b5 diff --git a/src/connection.h b/src/connection.h index 54caa261..08778bf3 100644 --- a/src/connection.h +++ b/src/connection.h @@ -23,8 +23,6 @@ #ifndef __TINC_CONNECTION_H__ #define __TINC_CONNECTION_H__ -#include - #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__ */