void *context;
} *SilcServerRekey;
-/* ID List Entry status type and all the types. */
+/* ID List Entry status flags. */
typedef SilcUInt8 SilcIDListStatus;
-#define SILC_IDLIST_STATUS_NONE 0x00 /* No status */
-#define SILC_IDLIST_STATUS_REGISTERED 0x01 /* Entry is registered */
-#define SILC_IDLIST_STATUS_RESOLVED 0x02 /* Entry info is resolved */
-#define SILC_IDLIST_STATUS_RESOLVING 0x04 /* Entry is being resolved
- with WHOIS or IDENTIFY */
-#define SILC_IDLIST_STATUS_DISABLED 0x08 /* Entry is disabled */
-#define SILC_IDLIST_STATUS_RESUMED 0x10 /* Entry is resumed */
-#define SILC_IDLIST_STATUS_LOCAL 0x20 /* Entry locally connected */
-#define SILC_IDLIST_STATUS_RESUME_RES 0x40 /* Entry resolved while
- resuming */
+#define SILC_IDLIST_STATUS_NONE 0x00 /* No status */
+#define SILC_IDLIST_STATUS_REGISTERED 0x01 /* Entry is registered */
+#define SILC_IDLIST_STATUS_RESOLVED 0x02 /* Entry info is resolved */
+#define SILC_IDLIST_STATUS_RESOLVING 0x04 /* Entry is being resolved
+ with WHOIS or IDENTIFY */
+#define SILC_IDLIST_STATUS_DISABLED 0x08 /* Entry is disabled */
+#define SILC_IDLIST_STATUS_RESUMED 0x10 /* Entry is resumed */
+#define SILC_IDLIST_STATUS_LOCAL 0x20 /* Entry locally connected */
+#define SILC_IDLIST_STATUS_RESUME_RES 0x40 /* Entry resolved while
+ resuming */
+#define SILC_IDLIST_STATUS_NOATTR 0x80 /* Entry does not support
+ attributes in WHOIS */
/*
Generic ID list data structure.
long last_command;
SilcUInt8 fast_command;
+ /* Requested Attributes */
+ unsigned char *attrs;
+ SilcUInt16 attrs_len;
+
/* Pointer to the router */
SilcServerEntry router;
/* Connection data */
void *connection;
+ /* Last time updated/accessed */
+ unsigned long updated;
+
/* data.status is RESOLVING and this includes the resolving command
reply identifier. */
SilcUInt16 resolve_cmd_ident;
SilcUInt32 user_limit;
unsigned char *passphrase;
- char *invite_list;
- char *ban_list;
+ SilcHashTable invite_list;
+ SilcHashTable ban_list;
/* All users on this channel */
SilcHashTable user_list;