Added SILC Thread Queue API
[crypto.git] / lib / silcclient / client.h
index af1ff2081ee2cc14f2318aba1fb57fad4ddef758..e008e44fb3e8d7fd000946977d6ef142342b1d64 100644 (file)
@@ -43,6 +43,7 @@ typedef struct SilcChannelPrivateKeyStruct *SilcChannelPrivateKey;
 
 /* Internal client entry context */
 typedef struct SilcClientEntryInternalStruct {
+  void *prv_waiter;            /* Private message packet waiter */
   SilcRwLock lock;             /* Read/write lock */
   SilcCipher send_key;         /* Private message key for sending */
   SilcCipher receive_key;      /* Private message key for receiving */
@@ -59,7 +60,7 @@ 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 */
+  SilcAtomic16 refcnt;         /* Reference counter */
 } SilcClientEntryInternal;
 
 /* Internal channel entry context */