1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
pub type int_t = i32;
pub type uint_t = u32;
pub type bool_t = int_t;
pub const TRUE: bool_t = 1;
pub const FALSE: bool_t = 0;
pub type FN = int_t;
pub type ER = int_t;
pub type NonZeroER = core::num::NonZeroI32;
pub type ID = int_t;
pub type NonNullID = core::num::NonZeroI32;
pub type ATR = uint_t;
pub type STAT = uint_t;
pub type MODE = uint_t;
pub type PRI = int_t;
pub type TMO = u32;
pub type EXINF = core::mem::MaybeUninit<isize>;
pub type RELTIM = u32;
pub type SYSTIM = u64;
pub type HRTCNT = u64;
#[cfg(all(feature = "asp3", feature = "ovrhdr"))]
pub type PRCTIM = u32;
pub type FP = unsafe fn();
pub type ER_BOOL = int_t;
pub type ER_ID = int_t;
pub type ER_UINT = int_t;
pub type MB_T = usize;
pub type ACPTN = u32;
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[repr(C)]
pub struct acvct {
pub acptn1: ACPTN,
pub acptn2: ACPTN,
pub acptn3: ACPTN,
pub acptn4: ACPTN,
}
pub type FLGPTN = uint_t;
pub type INTNO = uint_t;
pub type INHNO = uint_t;
pub type EXCNO = uint_t;
pub type MPF_T = isize;
pub const TA_NULL: ATR = 0;
pub const TMO_POL: TMO = 0;
pub const TMO_FEVR: TMO = TMO::MAX;
pub const TMO_NBLK: TMO = TMO::MAX - 1;
pub const TMAX_RELTIM: TMO = 4_000_000_000;
pub const TACP_KERNEL: ACPTN = 0;
pub const TACP_SHARED: ACPTN = !0;