]> git.meshlink.io Git - meshlink/blobdiff - src/connection.h
Drop libevent and use our own event handling again.
[meshlink] / src / connection.h
index 01c2bf406eb7aad27df8ee4d38720096ec0d6002..10f4a76a924ee9dd8064e477fbf92d0f3703fa43 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 */