X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fclient.h;h=ebe41fe903f752ee261e14cd18edd51e7042adad;hb=90e14dc985628e0b0f86e604d511039d302dc956;hp=ac1116d28289951ced21ef6933114ecb7f5cda68;hpb=2b4b7f7d53c9cfa3d7dedd3f29c1cb1de6505876;p=silc.git diff --git a/lib/silcclient/client.h b/lib/silcclient/client.h index ac1116d2..ebe41fe9 100644 --- a/lib/silcclient/client.h +++ b/lib/silcclient/client.h @@ -60,7 +60,9 @@ typedef struct SilcClientEntryInternalStruct { unsigned int prv_resp : 1; /* TRUE if we are responder when using private message keys. */ SilcUInt16 resolve_cmd_ident; /* Command identifier when resolving */ - SilcAtomic8 refcnt; /* Reference counter */ + SilcAtomic32 refcnt; /* Reference counter */ + SilcAtomic32 deleted; /* Flag indicating whether the client object is + already scheduled for deletion.*/ } SilcClientEntryInternal; /* Internal channel entry context */ @@ -87,14 +89,16 @@ typedef struct SilcChannelEntryInternalStruct { stuff that relates to the channel. Not used for the channel resolving itself. */ - SilcAtomic16 refcnt; /* Reference counter */ + SilcAtomic32 refcnt; /* Reference counter */ + SilcAtomic32 deleted; /* Flag indicating whether the channel object is + already scheduled for deletion.*/ } SilcChannelEntryInternal; /* Internal server entry context */ typedef struct SilcServerEntryInternalStruct { SilcRwLock lock; /* Read/write lock */ SilcUInt16 resolve_cmd_ident; /* Resolving identifier */ - SilcAtomic8 refcnt; /* Reference counter */ + SilcAtomic32 refcnt; /* Reference counter */ } SilcServerEntryInternal; #endif /* CLIENT_H */