updates.
authorPekka Riikonen <priikone@silcnet.org>
Sat, 25 Nov 2006 22:24:14 +0000 (22:24 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sat, 25 Nov 2006 22:24:14 +0000 (22:24 +0000)
CHANGES
lib/doc/command_reply_args.html
lib/doc/notifyargs.html

diff --git a/CHANGES b/CHANGES
index 6e75539cb5e421f6fcf42e38439536d8bddf748c..3a06acff877acd8b93f655d06ed448b271271dff 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,12 @@
-Thu Nov  9 18:12:15 EET 2006  Pekka Riikonen <priikone@silcnet.org
+Sat Nov 18 11:33:03 EET 2006  Pekka Riikonen <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
 
        * Added silc_show_public_key_file to 
          lib/silcapputil/silcapputil.[ch].
index 6be1379c52315b4c3573c791ea07e0d2dbe85a08..3fad94be86a0c6109fbab21c860f6b35f97c3e2e 100644 (file)
@@ -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.
 </td>
 <td width="50%"><small>SilcChannelEntry channel, SilcUInt32 mode,
-SilcPublicKey founder_key, SilcBuffer channel_pubkeys,
-SilcUint32 user_limit
+SilcPublicKey founder_key, SilcDList channel_pubkeys, SilcUint32 user_limit
 </td>
 </tr>
 
index cc22145398edfbee0fbc9bbdb92fa207e9b2b415..5cf9d87bef5956d5d69ac321ad2fe55de9baf7d3 100644 (file)
@@ -82,8 +82,8 @@ The 'message' argument may be NULL.
 <tr>
 <td><small>SILC_NOTIFY_TYPE_INVITE</td>
 <td><small>
-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.
 </td>
 <td width="50%"><small>SilcClientChannel channel, char *channel_name,
 SilcClientEntry inviter
@@ -136,14 +136,13 @@ char *topic, SilcChannelEntry channel
 <tr>
 <td><small>SILC_NOTIFY_TYPE_NICK_CHANGE</td>
 <td><small>
-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'.
 </td>
-<td width="50%"><small>SilcClientEntry old_client_entry,
-SilcClientEntry new_client_entry
+<td width="50%"><small>SilcClientEntry client_entry, const char *old_nickname,
+const char *new_nickname
 </td>
 </tr>
 
@@ -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.
 </td>
 <td width="50%"><small>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
 </td>
 </tr>
 
@@ -206,9 +206,9 @@ safely ignore it when received.
 <tr>
 <td><small>SILC_NOTIFY_TYPE_SERVER_SIGNOFF</td>
 <td><small>
-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.
 </td>
 <td width="50%"><small>NULL, SilcClientEntry *clients, SilcUInt32 clients_count
 </td>
@@ -264,7 +264,7 @@ happened for the 'watched_client' (for example
 SILC_NOTIFY_TYPE_NICK_CHANGE if the client changed their nickname).
 </td>
 <td width="50%"><small>SilcClientEntry watched_client, char *new_nickname,
-SilcUInt32 user_mode, SilcNotifyType notification, SilcPublicKey 
+SilcUInt32 user_mode, SilcNotifyType notification, SilcPublicKey
 public_key
 </td>
 </tr>