]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpcgen: add an XDR protocol abstract syntax tree
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 19 Dec 2022 17:52:29 +0000 (12:52 -0500)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 3 Nov 2023 18:06:35 +0000 (14:06 -0400)
commit031efb691f5acf7908696de3a3ebb792495d9f87
treefe74dc751ab970ed38815c9bd043405017d7fab1
parent8c8b97685bd42f36e2cf2baf1c43e6ec836e1446
rpcgen: add an XDR protocol abstract syntax tree

This introduces classes needed to form an abstract syntax
tree representing the XDR protocol language.

The syntax requirements are detailed in

  https://www.rfc-editor.org/rfc/rfc4506#section-6.3

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
scripts/rpcgen/rpcgen/ast.py [new file with mode: 0644]