X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcontext.h;fp=citadel%2Fcontext.h;h=76d2a91911a4d6e70b498ba68b6a8c6c78787884;hb=5c39ca8a3c875df98163fed8923c258f21bb3f66;hp=755d1998b4b9db062e0305e403cfe06b5930ad40;hpb=45b28b8b70fff7516b7ad33b21a0c2401a0e7201;p=citadel.git diff --git a/citadel/context.h b/citadel/context.h index 755d1998b..76d2a9191 100644 --- a/citadel/context.h +++ b/citadel/context.h @@ -28,10 +28,12 @@ typedef enum __CCState { CON_SYS /* This is a system context and mustn't be purged */ } CCState; -#ifndef __ASYNCIO__ -#define __ASYNCIO__ -typedef struct AsyncIO AsyncIO; /* forward declaration for event_client.h */ -#endif +//#ifndef __ASYNCIO__ +//#define __ASYNCIO__ +//typedef struct AsyncIO AsyncIO; /* forward declaration for event_client.h */ +//#endif + + #ifndef __CIT_CONTEXT__ #define __CIT_CONTEXT__ typedef struct CitContext CitContext; @@ -151,14 +153,11 @@ struct CitContext { char vcard_updated_by_ldap; /* !0 iff ldap changed the vcard, treat as aide update */ - AsyncIO *IO; /* if this session has AsyncIO going on... */ + //AsyncIO *IO; /* if this session has AsyncIO going on... */ }; - - #define CC MyContext() - extern pthread_key_t MyConKey; /* TSD key for MyContext() */ extern int num_sessions; extern CitContext masterCC;