chiark / gitweb /
wip server slip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 21 Aug 2021 20:32:59 +0000 (21:32 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 21 Aug 2021 20:32:59 +0000 (21:32 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
server/server.rs
server/slocal.rs [new file with mode: 0644]

index bc20c4b0512b02a39c4124cb508ffdb36946d6b0..102e5e761504a37d9b6a44d636135f9ea69e2d70 100644 (file)
@@ -5,6 +5,7 @@
 use hippotat::prelude::*;
 
 mod slink;
+mod slocal;
 mod sweb;
 
 pub use sweb::{WebRequest, WebResponse};
diff --git a/server/slocal.rs b/server/slocal.rs
new file mode 100644 (file)
index 0000000..919c338
--- /dev/null
@@ -0,0 +1,12 @@
+// Copyright 2021 Ian Jackson and contributors to Hippotat
+// SPDX-License-Identifier: GPL-3.0-or-later
+// There is NO WARRANTY.
+
+use super::*;
+
+#[allow(dead_code)] // xxx
+#[throws(PacketError)]
+pub async fn run(_global: &Global,
+                 _rx: mpsc::Receiver<RoutedPacket>) {
+  
+}