updated copyright years and pekka's email on some files
[silc.git] / apps / silcd / serverid.h
index 4a81a4a44e83273c0f39cc91a3e8f78b42edf45e..ce70e7af94c33d29aedd39cd52247c1ba232f1de 100644 (file)
@@ -2,9 +2,9 @@
 
   serverid.h
 
-  Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
+  Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 1997 - 2001 Pekka Riikonen
+  Copyright (C) 1997 - 2002 Pekka Riikonen
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -22,7 +22,8 @@
 #define SERVERID_H
 
 /* Prototypes */
-void silc_id_create_server_id(int sock, SilcRng rng, SilcServerID **new_id);
+void silc_id_create_server_id(const char *ip, SilcUInt16 port, SilcRng rng, 
+                             SilcServerID **new_id);
 bool silc_id_create_client_id(SilcServer server,
                              SilcServerID *server_id, SilcRng rng,
                              SilcHash md5hash, char *nickname, 
@@ -30,5 +31,8 @@ bool silc_id_create_client_id(SilcServer server,
 bool silc_id_create_channel_id(SilcServer server,
                               SilcServerID *router_id, SilcRng rng,
                               SilcChannelID **new_id);
+bool silc_id_is_valid_server_id(SilcServer server,
+                               SilcServerID *server_id,
+                               SilcSocketConnection remote);
 
 #endif