Watcher list support added.
[silc.git] / apps / silcd / idlist.h
index 74139ceb384af121f365828b477ddce72ed7838a..c9fa2fa76bb095cd1d515c7f595cdc0e5913dfa3 100644 (file)
@@ -62,6 +62,7 @@ typedef SilcUInt8 SilcIDListStatus;
 #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 */
 
 /*
    Generic ID list data structure.
@@ -495,6 +496,7 @@ struct SilcChannelEntryStruct {
 
   unsigned long created;
   bool disabled;
+  bool users_resolved;
 };
 
 /* 
@@ -596,8 +598,9 @@ SilcClientEntry
 silc_idlist_find_client_by_id(SilcIDList id_list, SilcClientID *id,
                              bool registered, SilcIDCacheEntry *ret_entry);
 SilcClientEntry
-silc_idlist_replace_client_id(SilcIDList id_list, SilcClientID *old_id,
-                             SilcClientID *new_id);
+silc_idlist_replace_client_id(SilcServer server,
+                             SilcIDList id_list, SilcClientID *old_id,
+                             SilcClientID *new_id, const char *nickname);
 void silc_idlist_client_destructor(SilcIDCache cache,
                                   SilcIDCacheEntry entry);
 SilcChannelEntry