More client library rewrites (key agreement, plus other).
[silc.git] / lib / silcclient / client.h
index 1f3d0d2bfa68dca3726eef8f59da4825ad418624..53a5550aaea5b22cfb7aa21109ce54aceaa63331 100644 (file)
@@ -57,8 +57,8 @@ typedef struct SilcClientEntryInternalStruct {
   unsigned int valid       : 1;        /* FALSE if this entry is not valid */
   unsigned int resolving   : 1; /* TRUE when entry is being resolved */
   unsigned int generated   : 1; /* TRUE if library generated `key' */
-  unsigned int prv_resp    : 1; /* TRUE if private message key indicator
-                                  has been received (responder). */
+  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 */
 } SilcClientEntryInternal;
@@ -78,7 +78,12 @@ typedef struct SilcChannelEntryInternalStruct {
   SilcHmac hmac;                            /* Current HMAC */
   unsigned char iv[SILC_CIPHER_MAX_IV_SIZE]; /* Current IV */
 
-  SilcUInt16 resolve_cmd_ident;                     /* Resolving identifier */
+  SilcUInt16 resolve_cmd_ident;                     /* Channel information resolving
+                                               identifier. This is used when
+                                               resolving users, and other
+                                               stuff that relates to the
+                                               channel. Not used for the
+                                               channel resolving itself. */
   SilcAtomic8 refcnt;                       /* Reference counter */
 } SilcChannelEntryInternal;