updates.
[silc.git] / doc / draft-riikonen-silc-spec-01.nroff
index 2f6582887c555fd8078272b7b213248bc54847e5..854a0376631ea92b626678491966f1fc81d10320 100644 (file)
@@ -2264,7 +2264,7 @@ List of all defined commands in SILC follows.
    7    SILC_COMMAND_INVITE
 
         Max Arguments:  4
-            Arguments:  (1) [<Client ID>]      (2) [<Channel ID>]
+            Arguments:  (1) <Channel ID>       (2) [<Client ID>]
                         (3) [<adding client>]  (4) [<removing client>]
 
         This command is used to invite other clients to join to the
@@ -2294,19 +2294,21 @@ List of all defined commands in SILC follows.
         nickname and hostname and add to the invite list before sending
         the notify packet.
         
-        When this command is given without any arguments then the command
-        merely returns the invite list of the channel.   This command must
-        fail if the requested channel does not exist, the requested
-        <Client ID> is already on the channel or if the channel is invite
-        only channel and the caller of this command does not have at least
-        channel operator privileges.
+        When this command is given with only <Channel ID> argument then
+        the command merely returns the invite list of the channel.   This
+        command must fail if the requested channel does not exist, the
+        requested <Client ID> is already on the channel or if the channel
+        is invite only channel and the caller of this command does not
+        have at least channel operator privileges.
 
         Reply messages to the command:
 
-        Max Arguments:  2
-            Arguments:  (1) <Status Payload>
+        Max Arguments:  3
+            Arguments:  (1) <Status Payload>  (2) <Channel ID>
+                        (3) [<invite list>]
 
-        This command replies only with Status Payload.
+       This command replies with the invite list of the channel if it
+       exists.
 
         Status messages:
 
@@ -2378,13 +2380,16 @@ List of all defined commands in SILC follows.
 
    10   SILC_COMMAND_INFO
 
-        Max Arguments:  1
-            Arguments:  (1) [<server>]
+        Max Arguments:  2
+            Arguments:  (1) [<server>]  (2) [<Server ID>]
 
         This command is used to fetch various information about a server.
         If <server> argument is specified the command must be sent to
         the requested server.
 
+        If the <Server ID> is specified the server information if fetched
+        by the provided Server ID.
+
         Reply messages to the command:
 
         Max Arguments:  4
@@ -2402,6 +2407,8 @@ List of all defined commands in SILC follows.
             SILC_STATUS_ERR_NOT_ENOUGH_PARAMS
             SILC_STATUS_ERR_TOO_MANY_PARAMS
             SILC_STATUS_ERR_NO_SUCH_SERVER
+            SILC_STATUS_ERR_NO_SUCH_SERVER_ID
+            SILC_STATUS_ERR_NO_SERVER_ID
 
 
    11   SILC_COMMAND_CONNECT
@@ -2548,13 +2555,13 @@ List of all defined commands in SILC follows.
         Reply messages to the command:
 
         Max Arguments:  14
-            Arguments:  (1) <Status Payload>      (2) <channel> 
-                        (3) <Channel ID>          (4) <Client ID>
-                        (5) <channel mode mask>   (6) <created>
-                        (7) <Channel Key Payload> (8) [<ban mask>]
-                        (9) [<invite list>]       (10) [<topic>]
-                        (11) [<hmac>]             (12) <list count>
-                        (13) <Client ID list>     (14) <client mode list>
+            Arguments:  (1) <Status Payload>        (2) <channel> 
+                        (3) <Channel ID>            (4) <Client ID>
+                        (5) <channel mode mask>     (6) <created>
+                        (7) [<Channel Key Payload>] (8) [<ban list>]
+                        (9) [<invite list>]         (10) [<topic>]
+                        (11) [<hmac>]               (12) <list count>
+                        (13) <Client ID list>       (14) <client mode list>
 
         This command replies with the channel name requested by the
         client, channel ID of the channel and topic of the channel
@@ -2654,6 +2661,7 @@ List of all defined commands in SILC follows.
               privileges by SILC_COMMAND_SILCOPER command.  Client
               may unset the mode itself.
 
+
         Reply messages to the command:
 
         Max Arguments:  2
@@ -2986,9 +2994,6 @@ List of all defined commands in SILC follows.
             SILC_STATUS_ERR_NO_SERVER_PRIV
 
 
-
-
-
    21   SILC_COMMAND_CLOSE
 
         Max Arguments:  2
@@ -3162,7 +3167,7 @@ List of all defined commands in SILC follows.
    26   SILC_COMMAND_BAN
 
         Max Arguments:  3
-            Arguments:  (1) [<Channel ID>]       (2) [<adding client>]
+            Arguments:  (1) <Channel ID>         (2) [<adding client>]
                         (3) [<removing client>]
 
         This command is used to manage the ban list of the channel
@@ -3183,7 +3188,7 @@ List of all defined commands in SILC follows.
         from than one clients then the lists are an comma (`,') separated
         list.
 
-        If this command is executed without any arguments the command
+        If this command is executed without the ban arguments the command
         merely replies with the current ban list.
 
 
@@ -3202,6 +3207,7 @@ List of all defined commands in SILC follows.
             SILC_STATUS_ERR_NOT_REGISTERED
             SILC_STATUS_ERR_TOO_MANY_PARAMS
             SILC_STATUS_ERR_NO_SUCH_CHANNEL_ID
+            SILC_STATUS_ERR_NO_CHANNEL_ID
             SILC_STATUS_ERR_NOT_ON_CHANNEL
             SILC_STATUS_ERR_NO_CHANNEL_PRIV