Libev Migration; fix aborting on connection establishing problems
[citadel.git] / citadel / event_client.h
index 35ce4246e214eb7d8b6f22b563928f4851507295..e6b41f3bd97401ccbc041b538874dd772ca082f6 100644 (file)
@@ -34,7 +34,6 @@ struct AsyncIO {
        struct hostent *HEnt;
        int sock;
        unsigned short dport;
-       int active_event;
                eNextState NextState;
 
        ev_timer conn_fail, 
@@ -98,3 +97,5 @@ void InitEventIO(AsyncIO *IO,
                 int ReadFirst);
 
 int QueueQuery(ns_type Type, char *name, AsyncIO *IO, IO_CallBack PostDNS);
+
+void StopClient(AsyncIO *IO);