char username
- Client's (meaning user's) real name. This is defined in following
- manner:
+ Client's usename. This is defined in the following manner:
Server type List type Contents
====================================================
Default cipher of the channel. If this is NULL then server picks
the cipher to be used. This can be set at SILC_COMMAND_JOIN.
+ char *hmac_name
+
+ Default hmac of the channel. If this is NULL then server picks
+ the cipher to be used. This can be set at SILC_COMMAND_JOIN.
+
+ SilcPublicKey founder_key
+ SilcAuthMethod founder_method
+ unsigned char *founder_passwd
+ unsigned int founder_passwd_len
+
+ If the SILC_CMODE_FOUNDER_AUTH has been set then these will include
+ the founder's public key, authentication method and the password
+ if the method is SILC_AUTH_PASSWORD. If it is SILC_AUTH_PUBLIC_KEY
+ then the `founder_passwd' is NULL.
+
SilcServerEntry router
This is a pointer to the server list. This is the router server
int global_users;
char *topic;
char *cipher;
+ char *hmac_name;
+
+ SilcPublicKey founder_key;
+ SilcAuthMethod founder_method;
+ unsigned char *founder_passwd;
+ unsigned int founder_passwd_len;
- /* Data that is related to different channel modes. */
- struct {
- unsigned int user_limit;
- unsigned char *passphrase;
- unsigned char *ban_list;
- unsigned char *invite_list;
- unsigned char *cipher;
- unsigned int key_len;
- } mode_data;
+ unsigned int user_limit;
+ unsigned char *passphrase;
+ char *invite_list;
+ char *ban_list;
/* List of users on channel */
SilcList user_list;
SilcHash md5hash,
unsigned int *clients_count);
SilcClientEntry
-silc_idlist_find_client_by_nickname(SilcIDList id_list, char *nickname,
- char *server,
- SilcIDCacheEntry *ret_entry);
-SilcClientEntry
silc_idlist_find_client_by_hash(SilcIDList id_list, char *nickname,
SilcHash md5hash, SilcIDCacheEntry *ret_entry);
SilcClientEntry