X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fidlist.h;h=e2acc32919dd88a8b0a52dde01055c67848ab1d4;hb=f82024f04b73e3b80ddd6c590699206d3dc5c1eb;hp=c9fa2fa76bb095cd1d515c7f595cdc0e5913dfa3;hpb=a32eecc529a135726587f17d667badb70605c405;p=silc.git diff --git a/apps/silcd/idlist.h b/apps/silcd/idlist.h index c9fa2fa7..e2acc329 100644 --- a/apps/silcd/idlist.h +++ b/apps/silcd/idlist.h @@ -415,14 +415,10 @@ struct SilcClientEntryStruct { the cipher to be used. This can be set at SILC_COMMAND_JOIN. SilcPublicKey founder_key - SilcAuthMethod founder_method - unsigned char *founder_passwd - SilcUInt32 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. + If the SILC_CMODE_FOUNDER_AUTH has been set then this will include + the founder's public key. When the mode and this key is set the + channel is also permanent channel and cannot be destroyed. SilcHashTable user_list @@ -463,15 +459,10 @@ struct SilcChannelEntryStruct { char *channel_name; SilcUInt32 mode; SilcChannelID *id; - bool global_users; char *topic; char *cipher; char *hmac_name; - SilcPublicKey founder_key; - SilcAuthMethod founder_method; - unsigned char *founder_passwd; - SilcUInt32 founder_passwd_len; SilcUInt32 user_limit; unsigned char *passphrase; @@ -489,14 +480,15 @@ struct SilcChannelEntryStruct { SilcCipher channel_key; unsigned char *key; SilcUInt32 key_len; - unsigned char iv[SILC_CIPHER_MAX_IV_SIZE]; SilcHmac hmac; SilcServerChannelRekey rekey; - unsigned long created; - bool disabled; - bool users_resolved; + + /* Flags */ + unsigned int global_users : 1; + unsigned int disabled : 1; + unsigned int users_resolved : 1; }; /*