updates.
[silc.git] / lib / silccore / id.h
index abd89e0d0b81fd12440c41b71271df813d0d2a4d..2cb84f00e730f3db0a89bb6ae802d0b17228dbe6 100644 (file)
@@ -100,6 +100,10 @@ typedef struct {
 #define SILC_ID_SERVER_COMPARE(id1, id2) \
   SILC_ID_COMPARE(id1, id2, SILC_ID_SERVER_LEN)
 
+/* Compares Channel ID's */
+#define SILC_ID_CHANNEL_COMPARE(id1, id2) \
+  SILC_ID_COMPARE(id1, id2, SILC_ID_CHANNEL_LEN)
+
 /* Compares IP addresses from the ID's. */
 #define SILC_ID_COMPARE_IP(id1, id2) \
   SILC_ID_COMPARE(id1, id2, 4)