SilcChannelEntry channel;
};
-/* Structure to hold one channel private key. */
-struct SilcChannelPrivateKeyStruct {
- SilcCipher cipher; /* The cipher and key */
- SilcHmac hmac; /* The HMAC and hmac key */
- unsigned char *key; /* The key data */
- SilcUInt32 key_len; /* The key length */
-};
-
/* Channel entry context. This is allocate for every channel client has
joined to. This includes for example the channel specific keys */
struct SilcChannelEntryStruct {
const char *channel_name,
SilcUInt32 mode,
SilcChannelID *channel_id);
+SilcServerEntry silc_client_add_server(SilcClient client,
+ SilcClientConnection conn,
+ const char *server_name,
+ const char *server_info,
+ SilcServerID *server_id);
bool silc_client_replace_channel_id(SilcClient client,
SilcClientConnection conn,
SilcChannelEntry channel,