From 6a739a36442b1e91744bce09247005151c057e08 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sat, 25 Nov 2006 22:24:14 +0000 Subject: [PATCH] updates. --- CHANGES | 10 +++++++++- lib/doc/command_reply_args.html | 9 ++++----- lib/doc/notifyargs.html | 34 ++++++++++++++++----------------- 3 files changed, 30 insertions(+), 23 deletions(-) diff --git a/CHANGES b/CHANGES index 6e75539c..3a06acff 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,12 @@ -Thu Nov 9 18:12:15 EET 2006 Pekka Riikonen + + * Added silc_packet_send_va[_ext] to send variable argument + formatted buffers. Affected files lib/silcore/silcpacket.[ch]. + + * Timeout freelist garbage collection added to scheduler. + Affected file lib/silcutil/silcschedule.c. + +Thu Nov 9 18:12:15 EET 2006 Pekka Riikonen * Added silc_show_public_key_file to lib/silcapputil/silcapputil.[ch]. diff --git a/lib/doc/command_reply_args.html b/lib/doc/command_reply_args.html index 6be1379c..3fad94be 100644 --- a/lib/doc/command_reply_args.html +++ b/lib/doc/command_reply_args.html @@ -291,13 +291,12 @@ Returns the user mode after changing it. 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. +'channel_pubkeys' arguments may be NULL. The 'channel_pubkeys' is a list +of SilcArgumentDecodedList contexts which each contain one channel public +key. The library will automatically free the list. SilcChannelEntry channel, SilcUInt32 mode, -SilcPublicKey founder_key, SilcBuffer channel_pubkeys, -SilcUint32 user_limit +SilcPublicKey founder_key, SilcDList channel_pubkeys, SilcUint32 user_limit diff --git a/lib/doc/notifyargs.html b/lib/doc/notifyargs.html index cc221453..5cf9d87b 100644 --- a/lib/doc/notifyargs.html +++ b/lib/doc/notifyargs.html @@ -82,8 +82,8 @@ The 'message' argument may be NULL. SILC_NOTIFY_TYPE_INVITE -Sent to the client if the user is invited on a channel. The 'channel_name' -argument may be NULL. +Sent to the client if the user is invited on a channel. The 'channel +argument may be NULL but the `channel_name' is always provided. SilcClientChannel channel, char *channel_name, SilcClientEntry inviter @@ -136,14 +136,13 @@ char *topic, SilcChannelEntry channel SILC_NOTIFY_TYPE_NICK_CHANGE -Sent when someone changes their nickname. The 'old_client_entry' includes -the old nickname and the 'new_client_entry' includes the new nickname. -Application must understand that the 'old_client_entry' pointer becomes -invalid after returning from the function. Note that this notify is not -delivered when user changes its own nickname. +Sent when someone changes their nickname. The 'client_entry' is the client +whose nickname is changed. The `old_nickname' is the old nickname and the +`new_nickname' is the new nickname. It has been already updated into the +`client_entry'. -SilcClientEntry old_client_entry, -SilcClientEntry new_client_entry +SilcClientEntry client_entry, const char *old_nickname, +const char *new_nickname @@ -158,13 +157,14 @@ change. The `cipher_name' is the cipher set for the channel. The `hmac_name' is the HMAC set for the channel. The `passphrase' is the passphrase that was set for the channel. The `founder_key' is the founder's public key when it was set for the channel. The `channel_pubkeys' -is an Argument List Payload where each argument is Public Key Payload -containing one channel public key. The arguments 'cipher_name', 'hmac_name', -'passphrase', 'founder_key' and 'channel_pubkeys' may be NULL. +is a list of SilcArgumentDecodedList contexts each containing one channel +public key. The library will free the list automatically. The arguments +'cipher_name', 'hmac_name', 'passphrase', 'founder_key' and 'channel_pubkeys' +may be NULL. SilcIdType changer_id_type, void *changer_entry, SilcUInt32 mode, char *cipher_name, char *hmac_name, char *passphrase, -SilcPublicKey founder_key, SilcBuffer channel_pubkeys, SilcChannelEntry channel +SilcPublicKey founder_key, SilcDList channel_pubkeys, SilcChannelEntry channel @@ -206,9 +206,9 @@ safely ignore it when received. SILC_NOTIFY_TYPE_SERVER_SIGNOFF -Sent when a server quits the network. The 'clients' is an array -SilcClientEntry pointers of size of 'clients_count'. Each client in the -entry is one client signing off from the SILC network. +Sent when a server quits the network. The 'clients' is a list of +SilcClientEntry pointers. Each client in the entry is one client signing +off from the SILC network. The library will free the list. NULL, SilcClientEntry *clients, SilcUInt32 clients_count @@ -264,7 +264,7 @@ happened for the 'watched_client' (for example SILC_NOTIFY_TYPE_NICK_CHANGE if the client changed their nickname). SilcClientEntry watched_client, char *new_nickname, -SilcUInt32 user_mode, SilcNotifyType notification, SilcPublicKey +SilcUInt32 user_mode, SilcNotifyType notification, SilcPublicKey public_key -- 2.24.0