Added preliminary support for non-backup-aware servers in cell
[silc.git] / apps / silcd / server_util.h
index ec434bc2ef99bb9b64da9e9cbb27809ac4818772..6d906485d32ddca51f9195181ec4c501734db73f 100644 (file)
@@ -46,13 +46,16 @@ void silc_server_update_clients_by_server(SilcServer server,
                                          bool remove_from);
 
 /* Updates servers that are from `from' to be originated from `to'.  This
-   will also update the server's connection to `to's connection. If
-   `local_toggle_enabled' is TRUE then local server's connections are
-   enabled, if FALSE they are disabled. */
-void silc_server_update_servers_by_server(SilcServer server, 
+   will also update the server's connection to `to's connection. */
+void silc_server_update_servers_by_server(SilcServer server,
                                          SilcServerEntry from,
-                                         SilcServerEntry to,
-                                         bool local_toggle_enabled);
+                                         SilcServerEntry to);
+
+/* Toggles the enabled/disabled status of local server connections.  Packets
+   can be sent to the servers when `toggle_enabled' is TRUE and will be
+   dropped if `toggle_enabled' is FALSE, after this function is called. */
+void silc_server_local_servers_toggle_enabled(SilcServer server,
+                                             bool toggle_enabled);
 
 /* Removes channels that are from `from. */
 void silc_server_remove_channels_by_server(SilcServer server,