*its

On a Wednesday in 2022, Peter Krempa wrote:
'cmdEvent' along with all the helper functions it needs is ~950 LOC.
Move it out from virsh-domain.c to virsh-domain-event.c along with the
completer function so that the new module doesn't have to expose any new
types.

Semantically this creates a new category in 'virsh help' but all other
behaviour stays the same.

Signed-off-by: Peter Krempa <pkre...@redhat.com>
---
po/POTFILES.in                 |    1 +
tools/meson.build              |    1 +
tools/virsh-completer-domain.c |   19 -
tools/virsh-completer-domain.h |    5 -
tools/virsh-domain-event.c     | 1007 ++++++++++++++++++++++++++++++++
tools/virsh-domain-event.h     |   23 +
tools/virsh-domain.c           |  946 ------------------------------
tools/virsh.c                  |    2 +
tools/virsh.h                  |    1 +
9 files changed, 1035 insertions(+), 970 deletions(-)
create mode 100644 tools/virsh-domain-event.c
create mode 100644 tools/virsh-domain-event.h


Reviewed-by: Ján Tomko <jto...@redhat.com>

Jano

Attachment: signature.asc
Description: PGP signature

Reply via email to