X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fevent_client.h;fp=citadel%2Fevent_client.h;h=2d26c2877b645030a5df06af25979db49f1199b4;hb=194ee6709f01560434de4450b70d1f667731966d;hp=9c13039914c6338c49512a456629913828333470;hpb=fb3d7e4ae75c12e5a87e2731ec0d413152e64ead;p=citadel.git diff --git a/citadel/event_client.h b/citadel/event_client.h index 9c1303991..2d26c2877 100644 --- a/citadel/event_client.h +++ b/citadel/event_client.h @@ -24,6 +24,7 @@ #include typedef struct AsyncIO AsyncIO; +typedef struct CitContext CitContext; typedef enum _eNextState { eSendDNSQuery, @@ -164,7 +165,7 @@ struct AsyncIO { /* 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 { @@ -296,7 +297,7 @@ int InitcURLIOStruct(AsyncIO *IO, IO_CallBack Terminate, IO_CallBack DBTerminate, IO_CallBack ShutdownAbort); - +void KillAsyncIOContext(AsyncIO *IO); void StopCurlWatchers(AsyncIO *IO);