mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-02-17 21:34:17 -05:00
mgmt: adjust return message type definition
If we allow interpretation of zero-terminated string, actually force it in the specification.
This commit is contained in:
parent
ef3de99226
commit
35444c9f06
@ -72,9 +72,9 @@ to set the policy using current mechanism.
|
|||||||
|
|
||||||
## Returned messages
|
## Returned messages
|
||||||
|
|
||||||
First two bytes of a message is a message type. This is 16 bit little endian
|
First byte of a message is a message type. This is 8 bit non-zero integer.
|
||||||
integer. Values start at 0x30 (48, `'0'`, zero digit in ASCII) for readability
|
Values start at 0x30 (48, `'0'`, zero digit in ASCII) for readability in hexdump.
|
||||||
in hexdump.
|
Next byte must be 0x00 (a separator).
|
||||||
|
|
||||||
This alternatively can be thought of as zero-terminated string containing
|
This alternatively can be thought of as zero-terminated string containing
|
||||||
single ASCII digit.
|
single ASCII digit.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user