libvirt/build-aux
Daniel P. Berrangé 8ec79e5e14 rpcgen: add a C code generator for XDR protocol specs
This implements a C code generator that emits code that is
(almost) identical to the classic 'rpcgen' program. The
key differences are:

 - Skip inlining of calls for struct fields
 - Skip K&R style function prototypes in headers
 - Use int64_t instead of quad_t for OS portability
 - Saner whitespace / indentation

The tests/demo.c and tests/demo.h files were created using
the traditional 'rpcgen' program, and then editted to cut
out the leading boilerplate, and the differences mentioned
above.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2023-11-03 14:06:35 -04:00
..
check-spacing.pl syntax-check: Don't forbid curly braces around single line condition body 2020-09-15 15:20:23 +02:00
Makefile.in build-aux: introduce 'black' tool for python formatting 2023-11-03 14:06:35 -04:00
Makefile.nonreentrant meson: add syntax-check 2020-08-03 09:27:06 +02:00
meson.build build-aux: introduce 'black' tool for python formatting 2023-11-03 14:06:35 -04:00
syntax-check.mk rpcgen: add a C code generator for XDR protocol specs 2023-11-03 14:06:35 -04:00