Use libevent for retrying outgoing connections.
[tinc] / src / net.h
index 9082d8b..7d1ea7b 100644 (file)
--- a/src/net.h
+++ b/src/net.h
@@ -115,6 +115,7 @@ typedef struct outgoing_t {
        struct config_t *cfg;
        struct addrinfo *ai;
        struct addrinfo *aip;
+       struct event ev;
 } outgoing_t;
 
 extern int maxoutbufsize;