-
Notifications
You must be signed in to change notification settings - Fork 0
/
Driver Data.fbs
60 lines (48 loc) · 1.12 KB
/
Driver Data.fbs
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
struct session_id {
id: uint;
}
union Session {
name: string,
id: session_id
}
table DeviceProperties {
name: string;
model: string;
vendor: string;
serial_number: string;
}
table EnumerateDevicesRequest {}
table EnumerateDevicesResponse {
devices: [DeviceProperties];
}
table ReserveRequest {
// client defined string representing a set of reservable resources
reservation_id: string;
// client defined identifier for a specific client
client_id: string;
}
struct ReserveResponse {
is_reserved: bool;
}
table IsReservedByClientRequest {
// client defined string representing a set of reservable resources
reservation_id: string;
// client defined identifier for a specific client
client_id: string;
}
struct IsReservedByClientResponse {
is_reserved: bool;
}
table UnreserveRequest {
// client defined string representing a set of reservable resources
reservation_id: string;
// client defined identifier for a specific client
client_id: string;
}
struct UnreserveResponse {
is_unreserved: bool;
}
table ResetServerRequest {}
struct ResetServerResponse {
is_server_reset: bool;
}