]> git.ipfire.org Git - thirdparty/libvirt.git/commit
scripts/apibuild: Extract and format API ACLs
authorPeter Krempa <pkrempa@redhat.com>
Tue, 21 Feb 2023 13:20:09 +0000 (14:20 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 6 Mar 2023 12:09:16 +0000 (13:09 +0100)
commit69615c91c838daebba9cbf151adc636ffe956f58
treec0eb790d048a38f1e8140dfbbd4d50dbce1ceec6
parentd03b6bf0cb7d4aa35f7584110eb24e0b7178565b
scripts/apibuild: Extract and format API ACLs

As an additional step before processing the API parse the protocol file
and extract all ACL definitions. This way we can distribute them for any
user of the libvirt API XML files. We will be also able to avoid another
call to gendispatch, which generates all this data into a standalone
XML.

The remote procedure to API name is inspired by what rpcgen does.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/meson.build
scripts/apibuild.py