summaryrefslogtreecommitdiff
path: root/core/src/net/session_token/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/net/session_token/mod.rs')
-rw-r--r--core/src/net/session_token/mod.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/src/net/session_token/mod.rs b/core/src/net/session_token/mod.rs
new file mode 100644
index 0000000..cb3ab8c
--- /dev/null
+++ b/core/src/net/session_token/mod.rs
@@ -0,0 +1,10 @@
+// Copyright 2022-2024 Gabriel Bjørnager Jensen.
+
+use bzipper::{Deserialise, Serialise};
+
+#[derive(Debug, Deserialise, Serialise)]
+#[repr(align(0x10))]
+pub struct SessionToken {
+ pub time: u64,
+ pub key: u64,
+}