Created idlist.c
[silc.git] / apps / silc / idlist.h
index b9e6f7569dadeff6c4898e0af1dce59f76d8bb5d..2191211bb397173436049e89f470d8a9cbba435a 100644 (file)
@@ -27,6 +27,8 @@
    they are used. */
 typedef struct SilcClientEntryStruct {
   char *nickname;
+  char *server;
+  unsigned int num;
   SilcClientID *id;
 
   /* Keys, these are defined if private message key has been defined 
@@ -56,4 +58,15 @@ typedef struct SilcChannelEntryStruct {
 
 typedef SilcChannelEntryObject *SilcChannelEntry;
 
+/* Prototypes */
+
+SilcClientEntry silc_idlist_get_client(SilcClient client,
+                                      SilcClientWindow win,
+                                      char *nickname,
+                                      char *server,
+                                      unsigned int num);
+SilcChannelEntry silc_idlist_get_channel(SilcClient client,
+                                        SilcClientWindow win,
+                                        char *channel);
+
 #endif