mirror of
https://github.com/ErnyTech/Open-USB-Extreme
synced 2025-01-31 00:07:36 +01:00
16 lines
484 B
D
16 lines
484 B
D
|
// D import file generated from 'dusbextreme.d'
|
||
|
module dusbextreme;
|
||
|
import std.stdint;
|
||
|
enum USBEXTREME_NAME_LENGTH = 32;
|
||
|
enum USBEXTREME_ID_LENGTH = 15;
|
||
|
enum USBEXTREME_NAME_EXT_LENGTH = 10;
|
||
|
enum USBEXTREME_MAGIC = 8;
|
||
|
enum USBEXTREME_HEADER_SIZE = usb_extreme_base.sizeof;
|
||
|
struct usb_extreme_base
|
||
|
{
|
||
|
uint8_t[6 + USBEXTREME_ID_LENGTH + USBEXTREME_NAME_LENGTH] empty;
|
||
|
uint8_t magic;
|
||
|
uint8_t[10] empty2;
|
||
|
}
|
||
|
extern (C) int is_oue(immutable(void)* headers, immutable(size_t) headerslen);
|