eNextState NextState;
ev_timer conn_fail,
- rw_timeout;
+ rw_timeout,
+ unwind_stack_timeout;
ev_io recv_event,
send_event,
conn_event;
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);
+void IO_postdns_callback(struct ev_loop *loop, ev_timer *watcher, int revents);
int QueueQuery(ns_type Type, char *name, AsyncIO *IO, IO_CallBack PostDNS);
+void QueryCbDone(AsyncIO *IO);
void StopClient(AsyncIO *IO);
void SetNextTimeout(AsyncIO *IO, double timeout);
+
+void InitC_ares_dns(AsyncIO *IO);