1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
pub use self::scheme::Scheme;
pub use self::scheme_mut::SchemeMut;
pub use self::scheme_block::SchemeBlock;
pub use self::scheme_block_mut::SchemeBlockMut;
pub use self::seek::*;

/// The context of a scheme syscall, such as the process id invoking it.
#[derive(Clone, Copy, Debug)]
pub struct Ctx {
    pub pid: usize,
    pub uid: u32,
    pub gid: u32,
}

mod scheme;
mod scheme_mut;
mod scheme_block;
mod scheme_block_mut;
mod seek;