Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
- 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
} 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