Added SILC Thread Queue API
[crypto.git] / lib / silcclient / client.h
index d84cc162815bd97a9026c50510bf2e2ded31f4b5..e008e44fb3e8d7fd000946977d6ef142342b1d64 100644 (file)
@@ -41,9 +41,9 @@ typedef struct SilcClientConnectionInternalStruct
      *SilcClientConnectionInternal;
 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 */
@@ -60,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 */