Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 1997 - 2003 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.
+ the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
SilcUInt32 auth_failures; /* Authentication failures */
SilcUInt32 packets_sent; /* Sent SILC packets */
SilcUInt32 packets_received; /* Received SILC packets */
+ SilcUInt32 conn_num; /* Number of connections */
+ SilcUInt32 commands_sent; /* Commands/replies sent */
+ SilcUInt32 commands_received; /* Commands/replies received */
} SilcServerStatistics;
/*
SilcIDList local_list;
SilcIDList global_list;
SilcHashTable watcher_list;
+ SilcHashTable watcher_list_pk;
/* Table of connected sockets */
SilcSocketConnection *sockets;
/* SIM (SILC Module) list */
SilcDList sim;
#endif
+
+ /* Hash table for public keys of all clients */
+ SilcHashTable pk_hash;
};
/* Failure context. This is allocated when failure packet is received.