]> code.citadel.org Git - citadel.git/blobdiff - citadel/event_client.h
work on the pop3 aggregator
[citadel.git] / citadel / event_client.h
index 4a8b0f02f4d9b6b25e1871dd68d6e121b7798a74..9ed88c01e15401a16d00ed26242d34c08eb3653f 100644 (file)
@@ -1,3 +1,5 @@
+#ifndef __EVENT_CLIENT_H__
+#define __EVENT_CLIENT_H__
 #define EV_COMPAT3 0
 #include <ev.h>
 #include <sys/types.h>
@@ -16,6 +18,7 @@ typedef enum _eNextState {
        eSendReply, 
        eSendMore,
        eReadMessage, 
+       eReadMore,
        eTerminateConnection,
        eAbort
 }eNextState;
@@ -147,6 +150,9 @@ void InitC_ares_dns(AsyncIO *IO);
 int evcurl_init(AsyncIO *IO, 
                void *CustomData, 
                const char* Desc,
-               IO_CallBack CallBack);
+               IO_CallBack CallBack, 
+               IO_CallBack Terminate);
 
 void evcurl_handle_start(AsyncIO *IO);
+
+#endif /* __EVENT_CLIENT_H__ */