X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Fsilcd%2Fserverid.h;h=4f81aa17ad0421658036e59e0b044abccdbe2983;hp=ce70e7af94c33d29aedd39cd52247c1ba232f1de;hb=c257b555225193e54d85daf541d29578b3c93882;hpb=f658940d02cf2fd893296b6a7825b42502573668 diff --git a/apps/silcd/serverid.h b/apps/silcd/serverid.h index ce70e7af..4f81aa17 100644 --- a/apps/silcd/serverid.h +++ b/apps/silcd/serverid.h @@ -4,13 +4,13 @@ Author: Pekka Riikonen - Copyright (C) 1997 - 2002 Pekka Riikonen + Copyright (C) 1997 - 2005 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 the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -22,11 +22,12 @@ #define SERVERID_H /* Prototypes */ -void silc_id_create_server_id(const char *ip, SilcUInt16 port, 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, + SilcHash md5hash, unsigned char *nickname, + SilcUInt32 nick_len, SilcClientID **new_id); bool silc_id_create_channel_id(SilcServer server, SilcServerID *router_id, SilcRng rng,