Queue functions have to return eNextState in order for the caller to i.e. swap succes...
[citadel.git] / citadel / event_client.h
index 99739e0332d26ffc731988070bbcbc57c367477f..cb833e0683c6cdc7e45d7ebb13be51445e1e9630 100644 (file)
@@ -133,8 +133,8 @@ typedef struct _IOAddHandler {
 void FreeAsyncIOContents(AsyncIO *IO);
 
 eNextState NextDBOperation(AsyncIO *IO, IO_CallBack CB);
-int QueueDBOperation(AsyncIO *IO, IO_CallBack CB);
-int QueueEventContext(AsyncIO *IO, IO_CallBack CB);
+eNextState QueueDBOperation(AsyncIO *IO, IO_CallBack CB);
+eNextState QueueEventContext(AsyncIO *IO, IO_CallBack CB);
 int ShutDownEventQueue(void);
 
 eNextState InitEventIO(AsyncIO *IO,