1#![allow(unused_imports)]
9
10use bitflags::bitflags;
11use zerocopy::{FromBytes, IntoBytes};
12
13use crate::rights::*;
14use crate::zx_common::*;
15
16pub type HandleOp = u32;
17
18#[repr(C)]
19#[derive(Clone, Copy, Debug, Eq, IntoBytes, PartialEq)]
20pub struct HandleInfo {
21 pub handle: Handle,
22 pub r#type: ObjType,
23 pub rights: Rights,
24 pub unused: u32,
25}
26
27#[repr(C)]
28#[derive(Clone, Copy, Debug, Eq, FromBytes, IntoBytes, PartialEq)]
29pub struct ChannelCallArgs {}
30
31#[repr(C)]
32#[derive(Clone, Copy, Debug, Eq, IntoBytes, PartialEq)]
33pub struct HandleDisposition {
34 pub operation: HandleOp,
35 pub handle: Handle,
36 pub r#type: ObjType,
37 pub rights: Rights,
38 pub result: Status,
39}
40
41#[repr(C)]
42#[derive(Clone, Copy, Debug, Eq, FromBytes, IntoBytes, PartialEq)]
43pub struct ChannelCallEtcArgs {}