X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Fsilcd%2Fserver_internal.h;h=ebbeadab6be30a6f35f6343e6f70271247206f03;hp=7cf42a8ed8964553455acac8f70a10e81438c231;hb=c257b555225193e54d85daf541d29578b3c93882;hpb=f658940d02cf2fd893296b6a7825b42502573668 diff --git a/apps/silcd/server_internal.h b/apps/silcd/server_internal.h index 7cf42a8e..ebbeadab 100644 --- a/apps/silcd/server_internal.h +++ b/apps/silcd/server_internal.h @@ -61,6 +61,7 @@ typedef struct { SilcUInt32 auth_failures; /* Authentication failures */ SilcUInt32 packets_sent; /* Sent SILC packets */ SilcUInt32 packets_received; /* Received SILC packets */ + SilcUInt32 conn_num; /* Number of connections */ } SilcServerStatistics; /* @@ -111,6 +112,7 @@ struct SilcServerStruct { SilcIDList local_list; SilcIDList global_list; SilcHashTable watcher_list; + SilcHashTable watcher_list_pk; /* Table of connected sockets */ SilcSocketConnection *sockets; @@ -146,6 +148,9 @@ struct SilcServerStruct { /* 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.