X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.h;h=8d5537b2b95823f947aa5f730616b75c150748f8;hb=38c25d62c2bc76908bd95fb21c8f5e39ad269884;hp=087d8f0023086c58f047c687415b51762e92d62c;hpb=834290b00f859412ee48bef454a07083cb727130;p=tinc diff --git a/src/connection.h b/src/connection.h index 087d8f00..8d5537b2 100644 --- a/src/connection.h +++ b/src/connection.h @@ -26,6 +26,8 @@ #include #include +#include + #include "avl_tree.h" #define OPTION_INDIRECT 0x0001 @@ -60,6 +62,7 @@ typedef struct connection_t { char *hostname; /* the hostname of its real ip */ int protocol_version; /* used protocol */ + struct event ev; /* events on this metadata connection */ int socket; /* socket used for this connection */ long int options; /* options for this connection */ connection_status_t status; /* status info */