- /* Server's own ID entry. */
- SilcServerEntry id_entry;
-
- /* Back pointer to the primary router of this server. */
- SilcServerEntry router;
-
- /* SILC server task queues */
- SilcTaskQueue io_queue;
- SilcTaskQueue timeout_queue;
- SilcTaskQueue generic_queue;
+ bool standalone; /* TRUE if server is standalone, and
+ does not have connection to network. */
+ bool listenning; /* TRUE if server is listenning for
+ incoming connections. */
+ SilcServerEntry id_entry; /* Server's own ID entry */
+ SilcServerEntry router; /* Pointer to the primary router */
+ unsigned long router_connect; /* Time when router was connected */
+ SilcServerBackup backup; /* Backup routers */
+ bool backup_router; /* TRUE if this is backup router */
+ bool backup_primary; /* TRUE if we've switched our primary
+ router to a backup router. */
+ SilcServerConnection router_conn; /* non-NULL when connecting to the
+ primary router, and NULL otherwise. */
+
+ /* Current command identifier, 0 not used */
+ SilcUInt16 cmd_ident;
+
+ /* SILC server scheduler */
+ SilcSchedule schedule;