blob: e209f8d088c12c12a5a0cd02da9dfaaffbb1e808 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* Copyright (c) 2021, Liav A. <liavalb@hotmail.co.il>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Types.h>
struct DeviceEvent {
int state;
int is_block_device;
unsigned major_number;
unsigned minor_number;
enum State {
Removed = 0x01,
Inserted = 0x02,
Recovered = 0x03,
FatalError = 0x04,
};
};
|