| Name | Description | Variable Arguments |
| SILC_COMMAND_WHOIS | Returns information about user. The following pointers may be NULL: 'channels', 'fingerprint', 'channel_usermodes' and 'attrs'. If 'fingerprint' is valid its length is 20 bytes. If 'channels' is valid it can be parsed with silc_channel_payload_parse_list function. It is the list of channels user has joined. If the 'channel_usermodes' is valid it can be parsed with silc_get_mode_list function. It is the list of the user's modes on the joined channels. The 'attr' is the Requested Attributes that may have been returned by the client and it can be parsed by traversing the SilcDList and using silc_attribute_get_attribute function. | SilcClientEntry client_entry, char *nickname, char *username, char *realname, SilcBuffer channels, SilcUInt32 usermode, SilcUInt32 idletime, unsigned char *fingerprint, SilcBuffer channel_usermodes, SilcDList attrs |
| SILC_COMMAND_WHOWAS | Returns history information about user. The 'client_entry' and 'realname' may be NULL. | SilcClientEntry client_entry, char *nickname, char *username, char *realname |
| SILC_COMMAND_IDENTIFY | Returns information about user, channel or server. This is similar to WHOIS command but does not return so much information and can be used to get information about channels and servers too. Application should ignore this command reply. The 'name' and 'info' may be NULL. | void *entry, char *name, char *info |
| SILC_COMMAND_NICK | Returns the new Client ID and new nickname inside the SilcClientEntry. The `old_client_id' is the odl Client ID used by the client before the nickname was changed. | SilcClientEntry local_entry, char *nickname, const SilcClientID *old_client_id |
| SILC_COMMAND_LIST | Returns the list of channel in the SILC network. Each call of command reply returns one channel. This means that the command reply is called multiple times to return list of channels. The 'channel_topic' may be NULL. | SilcChannelEntry channel, char *channel_name, char *channel_topic, SilcUInt32 user_count |
| SILC_COMMAND_TOPIC | Returns the topic of the channel. | SilcChannelEntry channel, char *topic |
| SILC_COMMAND_INVITE | Returns the invite list of the channel. Called also even if invite list was not modified but SILC_COMMAND_INVITE command was used to invite a user into a channel. In this case the invite list is not returned by the server and 'invite_list' is NULL. The 'invite_list' is list of SilcArgumentPayloads. The first 2 bytes are the number of arguments in the list and can be parsed with SILC_GET16_MSB macro. The list can be parsed with silc_argument_payload_parse function. | SilcChannelEntry channel, SilcBuffer invite_list |
| SILC_COMMAND_KILL | Called after killing a client. Returns the client that was killed. The `client_entry' may be NULL. | SilcClientEntry client_entry |
| SILC_COMMAND_INFO | Returns information about the server user is connected to. | SilcServerEntry server, char *server_name, char *server_info |
| SILC_COMMAND_STATS | Returns network statistics from the server. The 'stats_buffer' of length of 'buffer_length' bytes includes 32-bit integers one after the other each representing some statistics. The integers can be parsed for example with SILC_GET32_MSB macro. The integers in the buffer are: starttime, uptime, local_clients, local_channels, local_serverops, local_routerops, cell_clients, cell_channels, cell_servers, all_clients, all_channel, all_servers, all_routers, all_serverops, all_routerops. All integers are always present. | unsigned char *stats_buffer, SilcUInt32 buffer_length |
| SILC_COMMAND_PING | Returns reply to earlier ping. There is no arguments to this reply. | none |
| SILC_COMMAND_OPER | Returns reply to earlier SILC_COMMAND_OPER command. There is no arguments to this reply. | none |
| SILC_COMMAND_JOIN | Reply received when user joined a channel. The 'ignored' argument can be ignored by the application. The 'topic' and 'hmac_name' may be NULL. The 'key_payload' is usually ignored by the application. The 'list_count' is the number of entries in both 'client_id_list' and 'client_mode_list'. The 'client_id_list' is a list of clients on the channel and 'client_mode_list' includes those clients' modes on the channel. If application likes to resolve information about the clients on the channel it may call silc_client_get_clients_by_list function and pass the 'client_id_list' as argument to it. The 'client_mode_list' includes 32-bit integers one after the other and they are in same order as clients in 'client_mode_list'. If application resolves the information with silc_client_get_clients_by_list parsing the 'client_mode_list' is not necessary. The 'founder_key' is the channel founder's key and may be NULL. The 'channel_pubkeys' is Argument List Payload containing Public Key Payloads of all added channel public keys, it may be NULL. | char *channel_name, SilcChannelEntry channel, SilcUInt32 channel_mode, int ignored, SilcBuffer key_payload, NULL, NULL, char *topic, char *hmac_name, SilcUInt32 list_count, SilcBuffer client_id_list, SilcBuffer client_mode_list, SilcPublicKey founder_key, SilcBuffer channel_pubkeys |
| SILC_COMMAND_MOTD | Returns the Message of the Day from the server. The 'motd' may be NULL. | char *motd |
| SILC_COMMAND_UMODE | Returns the user mode after changing it. | SilcUInt32 user_mode |
| SILC_COMMAND_CMODE | Returns channel's mode after changing it. Optionally may also return founder's public key when it was set. It may also return the channel public key list when the list was altered. The 'founder_key' and 'channel_pubkeys' arguments may be NULL. The 'channel_pubkeys' is an Argument List Payload where each argument includes one Public Key Payload. | SilcChannelEntry channel, SilcUInt32 mode, SilcPublicKey founder_key, SilcBuffer channel_pubkeys |
| SILC_COMMAND_CUMODE | Returns user's mode on channel after changing it. | SilcUInt32 mode, SilcChannelEntry channel, SilcClientEntry target_client |
| SILC_COMMAND_KICK | Called after kicking a client. Returns the client that was kicked from the 'channel'. The `client_entry' and 'channel' may be NULL. | SilcChannelEntry channel, SilcClientEntry client_entry |
| SILC_COMMAND_BAN | Returns channel's ban list. The 'ban_list' may be NULL. The construction of that list is equivalent to invite list. See description of SILC_COMMAND_INVITE command reply. | SilcChannelEntry channel, SilcBuffer ban_list |
| SILC_COMMAND_DETACH | Called after being detached from the SILC network. There is no arguments to this reply. | none |
| SILC_COMMAND_WATCH | Called after modifying the watch list in the server. There is no arguments to this reply. | none |
| SILC_COMMAND_SILCOPER | Returns reply to earlier SILC_COMMAND_SILCOPER command. There is no arguments to this reply. | none |
| SILC_COMMAND_LEAVE | Called after leaving the channel. Note that the `channel' will become invalid after command_reply client operation returns. | SilcChannelEntry channel |
| SILC_COMMAND_USERS | Returns list of users in channel. If application wishes not to parse the raw lists the channel->user_list hash table is updated before calling this command reply and application may traverse that table instead of parssing the raw lists. | SilcChannelEntry channel, SilcUInt32 list_count, SilcBuffer client_id_list, SilcBuffer client_mode_list |
| SILC_COMMAND_GETKEY | Returns public key of client or server. The 'public_key' may be NULL. The 'entry_type' is used to check what type of pointer the entry' is. For SILC_ID_CLIENT SilcClientEntry and for SILC_ID_SERVER SilcServerEntry. | SilcIdType entry_type, void *entry, SilcPublicKey public_key |