updates.
[runtime.git] / doc / draft-riikonen-silc-pp-01.nroff
index 72cacb809c55d8b3c5617f76b8e141682fadeaf0..0567d6d75c246cd5accdfd8cab9071c343885ae0 100644 (file)
@@ -1123,14 +1123,29 @@ ID's sent in arguments are sent inside ID Payload.
 
 1     SILC_NOTIFY_TYPE_INVITE
 
-      Sent when receiver has been invited to a channel.  This type must be
-      sent directly to the invited client.
-
-      Max Arguments:  2
-          Arguments:  (1) <Client ID>  (2) <Channel ID>
-
-      The <Client ID> is the client who invites the receiver of this type 
-      to channel indicated by <Channel ID>.
+      Sent when an client is invited to a channel.  This is also sent
+      when the invite list of the channel is changed.  This notify type
+      is sent between routers and if the <Client ID> is argument is
+      provided to the client as well.  In this case the packet is
+      destined to the client.
+
+      Max Arguments:  5
+          Arguments:  (1) <Channel ID>          (2) <channel name>
+                      (3) [<sender Client ID>]  (4) [<adding client>]
+                      (5) [<removing client>]
+
+      The <Channel ID> is the channel.  The <channel name> is the name
+      of the channel and is provided because the client which receives 
+      this notify packet may not have a way to resolve the name of the
+      channel from the <Channel ID>.  The <sender Client ID> is the
+      Client ID who invited the client to the channel.  The <adding client>
+      and the <removing client> indicates the added or removed client
+      from the channel's invite list.  The format of the <adding client
+      and the <removing client> is defined in the [SILC1] with
+      SILC_COMMAND_INVITE command.
+
+      The <adding client> and <removing client> is never sent to the
+      client indicated by the <Client ID>.
 
 
 2     SILC_NOTIFY_TYPE_JOIN
@@ -1142,10 +1157,14 @@ ID's sent in arguments are sent inside ID Payload.
       broadcast it to the network.
 
       Max Arguments:  2
-          Arguments:  (1) <Client ID>  (2) <Channel ID>
+          Arguments:  (1) [<Client ID>]       (2) <Channel ID>
 
       The <Client ID> is the client that joined to the channel indicated
-      by the <Channel ID>.
+      by the <Channel ID>.  The <adding client> and <removing client>
+      indicates the added or removed client in the current invite list.
+      The format of the <adding client> and the <removing client> is
+      defined in the [SILC1] with SILC_COMMAND_INVITE command.  If the
+      <Client ID> is not provided then this
 
 
 3     SILC_NOTIFY_TYPE_LEAVE
@@ -1245,7 +1264,7 @@ ID's sent in arguments are sent inside ID Payload.
 10    SILC_NOTIFY_TYPE_CHANNEL_CHANGE
 
       Sent when channel's ID has changed for a reason or another.  This 
-      is sent by noral server to the client.  Client must change the 
+      is sent by normal server to the client.  Client must change the 
       old Channel ID to the new one.  This type must be sent only to the
       clients who is joined on the channel.
 
@@ -1313,6 +1332,23 @@ ID's sent in arguments are sent inside ID Payload.
       The <Client ID> is the client which mode was changed.  The <mode mask>
       is the new mode mask.
 
+
+15    SILC_NOTIFY_TYPE_BAN
+
+      Sent when the ban list of the channel is changed.  This type is sent
+      only between routers as broadcast packet.
+
+      Max Arguments:  3
+          Arguments:  (1) <Channel ID>         (2) [<adding client>]
+                      (3) [<removing client>]
+
+      The <Channel ID> is the channel which ban list was changed.  The
+      <adding client> is used to indicate the a ban was added and the
+      <removing client> is used to indicate that a ban was removed from
+      the ban list.  The format of the <adding client> and the 
+      <removing client> is defined in the [SILC1] with SILC_COMMAND_BAN
+      command.
+
 .in 3
 
 Notify types starting from 16384 are reserved for private notify