summary refs log tree commit diff
path: root/src/system
diff options
context:
space:
mode:
Diffstat (limited to 'src/system')
-rw-r--r--src/system/types.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/system/types.rs b/src/system/types.rs
index bef6d6d..9a410aa 100644
--- a/src/system/types.rs
+++ b/src/system/types.rs
@@ -41,3 +41,10 @@ pub enum SystemEvent {
     // Autoproxy
     AutoproxyTimeout(Timestamp),
 }
+
+pub enum SystemThreadCommand {
+    Restart,
+    ReloadConfig,
+    ShutdownSystem,
+    ShutdownAll,
+}