X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fevent_client.h;h=6ae8b27d3b740aa5d06e7556ccda0a87f4e550ec;hb=4fdc7029ccef0500fd8f968413c2b82db8fe2f29;hp=66f7f42e1782d0deb42594e8f9687d3db73e7594;hpb=51df62c4732353701b6e7ef05ba586be054fa92d;p=citadel.git diff --git a/citadel/event_client.h b/citadel/event_client.h index 66f7f42e1..6ae8b27d3 100644 --- a/citadel/event_client.h +++ b/citadel/event_client.h @@ -146,6 +146,7 @@ struct AsyncIO { IO_CallBack ReadDone, /* Theres new data to read... */ SendDone, /* we may send more data */ Terminate, /* shutting down... */ + DBTerminate, /* shutting down... */ Timeout, /* Timeout handler;may also be conn. timeout */ ConnFail, /* What to do when one connection failed? */ ShutdownAbort,/* we're going down. make your piece. */ @@ -274,6 +275,7 @@ void InitIOStruct(AsyncIO *IO, IO_CallBack SendDone, IO_CallBack ReadDone, IO_CallBack Terminate, + IO_CallBack DBTerminate, IO_CallBack ConnFail, IO_CallBack Timeout, IO_CallBack ShutdownAbort); @@ -283,6 +285,7 @@ int InitcURLIOStruct(AsyncIO *IO, const char* Desc, IO_CallBack SendDone, IO_CallBack Terminate, + IO_CallBack DBTerminate, IO_CallBack ShutdownAbort); eNextState ReAttachIO(AsyncIO *IO, @@ -290,5 +293,6 @@ eNextState ReAttachIO(AsyncIO *IO, int ReadFirst); void EV_backtrace(AsyncIO *IO); +ev_tstamp ctdl_ev_now (void); #endif /* __EVENT_CLIENT_H__ */