X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fidlist.h;h=0dc48f8f316e19e90c329bcd8c139dcb86506268;hb=8d1a8bbf644f67f86e7e1b95cf51d6d49406251f;hp=6ff551ca076c1cf7ded57cc65a3f01bb49561496;hpb=5e5526c98cc281231e020220a3a9c3eaa31df68f;p=silc.git diff --git a/lib/silcclient/idlist.h b/lib/silcclient/idlist.h index 6ff551ca..0dc48f8f 100644 --- a/lib/silcclient/idlist.h +++ b/lib/silcclient/idlist.h @@ -34,13 +34,14 @@ typedef struct { uint32 num; uint32 mode; /* User mode in SILC */ SilcClientID *id; /* The Client ID */ + bool valid; /* FALSE if this entry is not valid */ SilcCipher send_key; /* Private message key for sending */ SilcCipher receive_key; /* Private message key for receiving */ unsigned char *key; /* Set only if appliation provided the key material. NULL if the library generated the key. */ uint32 key_len; - int generated; /* TRUE if library generated the key */ + bool generated; /* TRUE if library generated the key */ SilcClientKeyAgreement ke; /* Current key agreement context or NULL */ } *SilcClientEntry;