mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Add sha256 hash and ordering.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
use unshell::hash_32;
|
||||
|
||||
/// Leaf id used by the generated fake PTY wrapper.
|
||||
pub const LEAF_FAKE_PTY: u32 = unshell::hash("dev.unshell.v1.pty");
|
||||
pub const LEAF_FAKE_PTY: u32 = hash_32!("dev.unshell.v1.pty");
|
||||
|
||||
/// Outer procedure id used by all fake PTY session packets.
|
||||
pub const PROC_PTY: u32 = unshell::hash("dev.unshell.v1.pty.pty");
|
||||
pub const PROC_PTY: u32 = hash_32!("dev.unshell.v1.pty.pty");
|
||||
|
||||
/// Downward opcode that opens one PTY session.
|
||||
pub const OP_OPEN: u8 = 0;
|
||||
|
||||
Reference in New Issue
Block a user