I'm going to add a new event soon so let's refactor the code I'll copy it from.
Peter Krempa (4): remote: dispatch: Remove return value from make_nonnull_* helpers remote: Replace VIR_ALLOC_N with g_new0 in remoteRelayDomainEventGraphics remote: Use g_new0 to allocate 'remote_string' in event RPC handlers remote: Serialize typed parameters earlier src/admin/admin_server_dispatch.c | 6 +- src/remote/remote_daemon_dispatch.c | 381 ++++++---------------------- src/rpc/gendispatch.pl | 19 +- 3 files changed, 88 insertions(+), 318 deletions(-) -- 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list