#include <curl/curl.h>
typedef struct AsyncIO AsyncIO;
+typedef struct CitContext CitContext;
typedef enum _eNextState {
eSendDNSQuery,
/* Context specific data; Hint: put AsyncIO in there */
void *Data; /* application specific data */
- void *CitContext; /* Citadel Session context... */
+ CitContext *CitContext; /* Citadel Session context... */
};
typedef struct _IOAddHandler {
IO_CallBack Terminate,
IO_CallBack DBTerminate,
IO_CallBack ShutdownAbort);
-
+void KillAsyncIOContext(AsyncIO *IO);
void StopCurlWatchers(AsyncIO *IO);