- /* Current command identifier, 0 not used */
- unsigned short cmd_ident;
+ 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. */