objc2_io_kit/generated/
serial.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ffi::*;
4use core::ptr::NonNull;
5
6use crate::*;
7
8/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kioserialbsdservicevalue?language=objc)
9pub const kIOSerialBSDServiceValue: &CStr =
10    unsafe { CStr::from_bytes_with_nul_unchecked(b"IOSerialBSDClient\0") };
11/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kioserialbsdtypekey?language=objc)
12pub const kIOSerialBSDTypeKey: &CStr =
13    unsafe { CStr::from_bytes_with_nul_unchecked(b"IOSerialBSDClientType\0") };
14/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kioserialbsdalltypes?language=objc)
15pub const kIOSerialBSDAllTypes: &CStr =
16    unsafe { CStr::from_bytes_with_nul_unchecked(b"IOSerialStream\0") };
17/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kioserialbsdmodemtype?language=objc)
18pub const kIOSerialBSDModemType: &CStr =
19    unsafe { CStr::from_bytes_with_nul_unchecked(b"IOSerialStream\0") };
20/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kioserialbsdrs232type?language=objc)
21pub const kIOSerialBSDRS232Type: &CStr =
22    unsafe { CStr::from_bytes_with_nul_unchecked(b"IOSerialStream\0") };
23/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiottydevicekey?language=objc)
24pub const kIOTTYDeviceKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"IOTTYDevice\0") };
25/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiottybasenamekey?language=objc)
26pub const kIOTTYBaseNameKey: &CStr =
27    unsafe { CStr::from_bytes_with_nul_unchecked(b"IOTTYBaseName\0") };
28/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiottysuffixkey?language=objc)
29pub const kIOTTYSuffixKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"IOTTYSuffix\0") };
30/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiocalloutdevicekey?language=objc)
31pub const kIOCalloutDeviceKey: &CStr =
32    unsafe { CStr::from_bytes_with_nul_unchecked(b"IOCalloutDevice\0") };
33/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiodialindevicekey?language=objc)
34pub const kIODialinDeviceKey: &CStr =
35    unsafe { CStr::from_bytes_with_nul_unchecked(b"IODialinDevice\0") };
36/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiottywaitforidlekey?language=objc)
37pub const kIOTTYWaitForIdleKey: &CStr =
38    unsafe { CStr::from_bytes_with_nul_unchecked(b"IOTTYWaitForIdle\0") };
39/// [Apple's documentation](https://developer.apple.com/documentation/iokit/user_ul_t?language=objc)
40pub type user_ul_t = u64;
41
42/// [Apple's documentation](https://developer.apple.com/documentation/iokit/user_speed_t?language=objc)
43pub type user_speed_t = u64;
44
45/// [Apple's documentation](https://developer.apple.com/documentation/iokit/user_us_t?language=objc)
46pub type user_us_t = u32;
47
48/// [Apple's documentation](https://developer.apple.com/documentation/iokit/user_shspeed_t?language=objc)
49pub type user_shspeed_t = u32;