X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fserverid.h;h=2beb4b64ed0ffd7dd5202aba210e2c007586f8a2;hb=a818c5b5411bbc4436d1c5f011236985c96bb787;hp=2f5f858f5f1457ec7130e351e152c88888f7bf3a;hpb=62f89b2886bbe9df82d9b2fdabfe707509d9e0fc;p=silc.git diff --git a/apps/silcd/serverid.h b/apps/silcd/serverid.h index 2f5f858f..2beb4b64 100644 --- a/apps/silcd/serverid.h +++ b/apps/silcd/serverid.h @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 1997 - 2000 Pekka Riikonen + Copyright (C) 1997 - 2001 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,11 +22,14 @@ #define SERVERID_H /* Prototypes */ -void silc_id_create_server_id(int sock, SilcRng rng, SilcServerID **new_id); -void silc_id_create_client_id(SilcServerID *server_id, SilcRng rng, +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, SilcClientID **new_id); -void silc_id_create_channel_id(SilcServerID *router_id, SilcRng rng, +bool silc_id_create_channel_id(SilcServer server, + SilcServerID *router_id, SilcRng rng, SilcChannelID **new_id); #endif