summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIan Douglas Scott <idscott@system76.com>2022-07-12 21:23:55 -0700
committerIan Douglas Scott <idscott@system76.com>2022-07-14 08:38:49 -0700
commit60827b862e4f0ef2b5117df30494a7f5918dd8b1 (patch)
treed2d43b256f78a042deb80e1de61162d61120b7e5 /doc
parent971f8e4ace3d4080340f43574043c31f46db312f (diff)
Document which type are nullable, and wire format for null value
Signed-off-by: Ian Douglas Scott <idscott@system76.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/publican/sources/Protocol.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/publican/sources/Protocol.xml b/doc/publican/sources/Protocol.xml
index 580cecb..57d8835 100644
--- a/doc/publican/sources/Protocol.xml
+++ b/doc/publican/sources/Protocol.xml
@@ -151,7 +151,8 @@
<para>
Starts with an unsigned 32-bit length (including null terminator),
followed by the string contents, including terminating null byte,
- then padding to a 32-bit boundary.
+ then padding to a 32-bit boundary. A null value is represented
+ with a length of 0.
</para>
</listitem>
</varlistentry>
@@ -159,7 +160,7 @@
<term>object</term>
<listitem>
<para>
- 32-bit object ID.
+ 32-bit object ID. A null value is represented with an ID of 0.
</para>
</listitem>
</varlistentry>