wire: split messages into requests and events
This commit is contained in:
parent
2b35f30ed4
commit
c473d63df3
98 changed files with 495 additions and 486 deletions
|
|
@ -1,32 +1,32 @@
|
|||
# requests
|
||||
|
||||
msg destroy = 0 { }
|
||||
request destroy = 0 { }
|
||||
|
||||
# events
|
||||
|
||||
msg done = 0 { }
|
||||
event done = 0 { }
|
||||
|
||||
msg format_table = 1 {
|
||||
event format_table = 1 {
|
||||
fd: fd,
|
||||
size: u32,
|
||||
}
|
||||
|
||||
msg main_device = 2 {
|
||||
event main_device = 2 {
|
||||
device: pod(uapi::c::dev_t),
|
||||
}
|
||||
|
||||
msg tranche_done = 3 {
|
||||
event tranche_done = 3 {
|
||||
|
||||
}
|
||||
|
||||
msg tranche_target_device = 4 {
|
||||
event tranche_target_device = 4 {
|
||||
device: pod(uapi::c::dev_t),
|
||||
}
|
||||
|
||||
msg tranche_formats = 5 {
|
||||
event tranche_formats = 5 {
|
||||
indices: array(pod(u16)),
|
||||
}
|
||||
|
||||
msg tranche_flags = 6 {
|
||||
event tranche_flags = 6 {
|
||||
flags: u32,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue