} SilcServerStatistics;
typedef struct {
- void *id_entry;
SilcSocketConnection sock;
/* Remote host name and port */
unsigned int id_string_len;
SilcIdType id_type;
+ /* Current command identifier, 0 not used */
+ unsigned short cmd_ident;
+
/* Server's own ID entry. */
SilcServerEntry id_entry;
SilcHmac sha1hmac;
/* Configuration object */
- SilcConfigServer config;
+ SilcServerConfig config;
/* Random pool */
SilcRng rng;
#endif
};
+/* Server's heartbeat context */
+typedef struct {
+ SilcServer server;
+} *SilcServerHBContext;
+
/* Macros */
/* Registers generic task for file descriptor for reading from network and