libev migration; relaying implementation
[citadel.git] / citadel / event_client.h
index 7fe12d1a4c9d40971c6e8e5e75e82d9b4dff4d44..9abda5329aa9f27d927d3fcdd223db25ce8e37a6 100644 (file)
@@ -87,13 +87,16 @@ void FreeAsyncIOContents(AsyncIO *IO);
 int QueueEventContext(AsyncIO *IO, IO_CallBack CB);
 int ShutDownEventQueue(void);
 
-void InitEventIO(AsyncIO *IO, 
-                void *pData, 
-                double conn_timeout, double first_rw_timeout,
-                int ReadFirst);
+eNextState InitEventIO(AsyncIO *IO, 
+                      void *pData, 
+                      double conn_timeout, 
+                      double first_rw_timeout,
+                      int ReadFirst);
 
 int QueueQuery(ns_type Type, char *name, AsyncIO *IO, IO_CallBack PostDNS);
 
 void StopClient(AsyncIO *IO);
 
 void SetNextTimeout(AsyncIO *IO, double timeout);
+
+void InitC_ares_dns(AsyncIO *IO);