]> code.citadel.org Git - citadel.git/blobdiff - citadel/event_client.h
Libev/libc-ares migration: cleanup
[citadel.git] / citadel / event_client.h
index 3aec485a164655f70f54d544549e8878ae4ad257..cfb8d031beb42c1d36ac6759c75000ce9a84c6de 100644 (file)
@@ -33,11 +33,12 @@ struct AsyncIO {
        int IP6;
        struct hostent *HEnt;
        int sock;
+       unsigned short dport;
        int active_event;
                eNextState NextState;
        ev_io recv_event, 
                send_event, 
-               conn_event;
+               dns_io_event;
        StrBuf *ErrMsg; /* if we fail to connect, or lookup, error goes here. */
 
        /* read/send related... */
@@ -50,8 +51,7 @@ struct AsyncIO {
                SendDone,     /* we may send more data */
                Terminate,    /* shutting down... */
                Timeout,      /* Timeout handler; may also be connection timeout */
-               ConnFail,     /* What to do when one connection failed? */
-               CustomDNS;    /* If the application wants to do custom dns functionality like cycle through different MX-Records */
+               ConnFail;     /* What to do when one connection failed? */
 
        IO_LineReaderCallback LineReader; /* if we have linereaders, maybe we want to read more lines before the real application logic is called? */