X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fevent_client.h;h=9abda5329aa9f27d927d3fcdd223db25ce8e37a6;hb=2b1af802b6361c71b7d2376cc8b5812918beb47f;hp=7fe12d1a4c9d40971c6e8e5e75e82d9b4dff4d44;hpb=c12b418a64b44be9d08cae0e5dd25c988a522b90;p=citadel.git diff --git a/citadel/event_client.h b/citadel/event_client.h index 7fe12d1a4..9abda5329 100644 --- a/citadel/event_client.h +++ b/citadel/event_client.h @@ -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);