Rewrote WHOIS, WHOWAS and IDENTIFY commands.
[silc.git] / lib / silccore / silccommand.h
index 1575a80ca11c4d208cf5e414c9ec7b2eba0f9159..363bbe0122517421f0b303e170c3c6ced1fca4c2 100644 (file)
@@ -109,7 +109,7 @@ typedef enum {
  *
  * NAME
  * 
- *    typedef unsigned char SilcCommand;
+ *    typedef SilcUInt8 SilcCommand;
  *
  * DESCRIPTION
  *
@@ -119,7 +119,7 @@ typedef enum {
  *
  * SOURCE
  */
-typedef unsigned char SilcCommand;
+typedef SilcUInt8 SilcCommand;
 
 /* All SILC commands. These are commands that have client and server
    counterparts. */
@@ -145,6 +145,7 @@ typedef unsigned char SilcCommand;
 #define SILC_COMMAND_KICK              19
 #define SILC_COMMAND_BAN               20
 #define SILC_COMMAND_DETACH            21
+#define SILC_COMMAND_WATCH             22
 #define SILC_COMMAND_SILCOPER          23
 #define SILC_COMMAND_LEAVE             24
 #define SILC_COMMAND_USERS             25
@@ -152,6 +153,7 @@ typedef unsigned char SilcCommand;
 #define SILC_COMMAND_SERVICE           27
 
 /* Private range start */
+#define SILC_COMMAND_PRIVATE            200
 #define SILC_COMMAND_PRIV_CONNECT       200
 #define SILC_COMMAND_PRIV_CLOSE         201
 #define SILC_COMMAND_PRIV_SHUTDOWN      202