CONNECT, CLOSE and SHUTDOWN commands.
[silc.git] / apps / silcd / server_internal.h
index 346162798eda045b8fb42bc5dfe5a4363234eccc..bc0e3d755d8bacb00cdb1bc43e946bc70e84471f 100644 (file)
@@ -57,7 +57,6 @@ typedef struct {
 } SilcServerStatistics;
 
 typedef struct {
-  void *id_entry;
   SilcSocketConnection sock;
 
   /* Remote host name and port */
@@ -87,6 +86,9 @@ struct SilcServerStruct {
   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;
 
@@ -124,7 +126,7 @@ struct SilcServerStruct {
   SilcHmac sha1hmac;
 
   /* Configuration object */
-  SilcConfigServer config;
+  SilcServerConfig config;
 
   /* Random pool */
   SilcRng rng;