Structure SilcChannelEntry
NAME
typedef struct SilcChannelEntryStruct { ... } *SilcChannelEntry
DESCRIPTION
This structure represents a channel in the SILC network. All
channels that the client are aware of or have joined in will be
represented as SilcChannelEntry. The structure includes information
about the channel.
SOURCE
struct SilcChannelEntryStruct {
/* General information */
char *channel_name; /* Channel name */
SilcChannelID *id; /* Channel ID */
SilcUInt32 mode; /* Channel mode */
/* All clients that has joined this channel */
SilcHashTable user_list;
/* Channel keys */
SilcCipher channel_key; /* The channel key */
unsigned char *key; /* Raw key data */
SilcUInt32 key_len; /* Raw key data length */
unsigned char iv[SILC_CIPHER_MAX_IV_SIZE]; /* Current IV */
SilcHmac hmac; /* Current HMAC */
/* Channel private keys */
SilcDList private_keys; /* List of private keys or NULL */
SilcChannelPrivateKey curr_key; /* Current private key */
/* SilcChannelEntry status information */
SilcCipher old_channel_key;
SilcHmac old_hmac;
SilcTask rekey_task;
SilcUInt16 resolve_cmd_ident; /* Command identifier when
resolving this entry */
};
|