Drop libevent and use our own event handling again.
[tinc] / src / connection.h
index 01c2bf4..10f4a76 100644 (file)
@@ -90,8 +90,7 @@ typedef struct connection_t {
 
        struct buffer_t inbuf;
        struct buffer_t outbuf;
-       struct event inevent;           /* input event on this metadata connection */
-       struct event outevent;          /* output event on this metadata connection */
+       io_t io;                        /* input/output event on this metadata connection */
        int tcplen;                     /* length of incoming TCPpacket */
        int allow_request;              /* defined if there's only one request possible */