tools/ocaml: Change Xb.input to return Packet.t option
authorEdwin Török <edvin.torok@citrix.com>
Wed, 12 Oct 2022 18:13:02 +0000 (19:13 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 1 Nov 2022 13:05:44 +0000 (13:05 +0000)
commitc0a86a462721008eca5ff733660de094d3c34bc7
tree44e6c3f31feb96d9b9b5afcd7e6b9d61e377de38
parent4a8bacff20b857ca0d628ef5525877ade11f2a42
tools/ocaml: Change Xb.input to return Packet.t option

The queue here would only ever hold at most one element.  This will simplify
follow-up patches.

This is part of XSA-326.

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
tools/ocaml/libs/xb/xb.ml
tools/ocaml/libs/xb/xb.mli
tools/ocaml/libs/xs/xsraw.ml
tools/ocaml/xenstored/connection.ml
tools/ocaml/xenstored/process.ml