Added SilcPublicKey to SilcClientEntry.
[silc.git] / lib / silcclient / silcclient.h
index 3f337ec99c6dfd7d938e3527c3f9a6a6e62f9d92..21674db82e1c8d7fbe41c33a7a655d444b08a374 100644 (file)
@@ -211,6 +211,7 @@ struct SilcClientEntryStruct {
   SilcDList attrs;             /* Requested Attributes (maybe NULL) */
   unsigned char *fingerprint;  /* Fingerprint of client's public key */
   SilcUInt32 fingerprint_len;  /* Length of the fingerprint */
+  SilcPublicKey public_key;    /* User's public key, may be NULL */
 
   /* Private message keys */
   SilcCipher send_key;         /* Private message key for sending */
@@ -256,6 +257,7 @@ struct SilcChannelEntryStruct {
   SilcChannelID *id;                        /* Channel ID */
   SilcUInt32 mode;                          /* Channel mode, ChannelModes. */
   char *topic;                              /* Current topic, may be NULL */
+  SilcPublicKey founder_key;                /* Founder key, may be NULL */
 
   /* All clients that has joined this channel.  The key to the table is the
      SilcClientEntry and the context is SilcChannelUser context. */