]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpcgen: add an XDR protocol parser
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)
commitca3f025011cafb4e151af41b9d80bb27907a658e
treee9dedbd84d3d5d41fff614e6039d3014d0f43e02
parent031efb691f5acf7908696de3a3ebb792495d9f87
rpcgen: add an XDR protocol parser

This adds a parser capable of handling the XDR protocol files.

The parsing grammar 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/parser.py [new file with mode: 0644]
scripts/rpcgen/tests/meson.build
scripts/rpcgen/tests/test_parser.py [new file with mode: 0644]