pub type LockModes = i32;