updates.
[silc.git] / apps / silcd / serverconfig.h
index c9e1d2a646fb3fce873a7ce77a68dccd49628f62..1df1e95a4115dac69818d6dc3a5513476e8af58b 100644 (file)
@@ -132,6 +132,10 @@ typedef struct SilcServerConfigSectionServerConnectionStruct {
   char *version;
   uint32 class;
   bool initiator;
+  bool backup_router;
+  char *backup_replace_ip;
+  uint16 backup_replace_port;
+  bool backup_local;
   struct SilcServerConfigSectionServerConnectionStruct *next;
   struct SilcServerConfigSectionServerConnectionStruct *prev;
 } SilcServerConfigSectionServerConnection;
@@ -271,6 +275,8 @@ SilcServerConfigSectionServerConnection *
 silc_server_config_find_router_conn(SilcServerConfig config, 
                                    char *host, int port);
 bool silc_server_config_is_primary_route(SilcServerConfig config);
+SilcServerConfigSectionServerConnection *
+silc_server_config_get_primary_router(SilcServerConfig config);
 SilcServerConfigSectionAdminConnection *
 silc_server_config_find_admin(SilcServerConfig config,
                              char *host, char *username, char *nickname);