updates.
[silc.git] / lib / silccore / silcmode.h
index 26b45c748e85e4e443620e79a0ab39041d009c7e..6949845bc08c545c07755fb3276cbd8c8edabdc3 100644 (file)
 #define SILC_CHANNEL_MODE_PASSPHRASE  0x0040 /* passphrase set */
 #define SILC_CHANNEL_MODE_BAN         0x0080 /* ban list set */
 #define SILC_CHANNEL_MODE_INVITE_LIST 0x0100 /* invite list set */
-#define SILC_CHANNEL_MODE_CIPHER      0x0200 /* sets cipher of channel */
+#define SILC_CHANNEL_MODE_CIPHER      0x0200 /* sets cipher of the channel */
+#define SILC_CHANNEL_MODE_HMAC        0x0400 /* sets hmac of the channel */
 
 /* User modes on channel */
 #define SILC_CHANNEL_UMODE_NONE       0x0000 /* Normal user */
 #define SILC_CHANNEL_UMODE_CHANFO     0x0001 /* channel founder */
 #define SILC_CHANNEL_UMODE_CHANOP     0x0002 /* channel operator */
 
+/* SILC modes */
+#define SILC_UMODE_NONE               0x0000 /* Normal SILC user */
+#define SILC_UMODE_SERVER_OPERATOR    0x0001 /* Server operator */
+#define SILC_UMODE_ROUTER_OPERATOR    0x0002 /* Router (SILC) operator */
+
 #endif