Allows formatted nicknames as input for silc_client_get_clients
[silc.git] / lib / silcclient / silcclient_entry.h
index 20f6e9e3d189854d393e9325ec88985161308f93..94106badbd4f10ef95a4bc0085de0f20a74e7119 100644 (file)
@@ -133,6 +133,8 @@ struct SilcChannelEntryStruct {
   SilcHashTable user_list;          /* Joined users.  Key to hash table is
                                        SilcClientEntry, context is
                                        SilcChannelUser. */
+  const char *cipher;               /* Current channel cipher algorithm*/
+  const char *hmac;                 /* Current channel HMAC algorithm */
 
   void *context;                    /* Application specific context */
   SilcChannelEntryInternal internal;
@@ -327,6 +329,9 @@ void silc_client_list_free(SilcClient client, SilcClientConnection conn,
  *    and can be accesses locally at a later time.  The resolving is done
  *    with IDENTIFY command.  The `server' may be NULL.  The server
  *    associated with the nickname may be in the `nickname' (nick@server).
+ *    The `nickname' may also be a formatted nickname in which case the
+ *    formatting is ignored and the base nickname is used.  If the nickname
+ *    is formatted it must be formatted as defined in SilcClientParams.
  *    Returns 0 on error and the command identifier used with the command
  *    otherwise.
  *
@@ -372,6 +377,9 @@ SilcUInt16 silc_client_get_clients(SilcClient client,
  *    and can be accesses locally at a later time.  The resolving is done
  *    with WHOIS command.  The `server' may be NULL.  The server
  *    associated with the nickname may be in the `nickname' (nick@server).
+ *    The `nickname' may also be a formatted nickname in which case the
+ *    formatting is ignored and the base nickname is used.  If the nickname
+ *    is formatted it must be formatted as defined in SilcClientParams.
  *    Returns 0 on error and the command identifier used with the command
  *    otherwise.
  *