fish: Allow events to be processed in guestfish.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 14 Dec 2011 08:38:27 +0000 (08:38 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 16 Dec 2011 19:52:08 +0000 (19:52 +0000)
commit7123f0cab155c5c25ecae670677683001c1634ad
tree7163ed2d28473d9c659db356c90f16d56858ccd7
parent3c9dfd1e95fae5c31df1fbcb6bdec2982a69a004
fish: Allow events to be processed in guestfish.

Add 'event', 'list-events' and 'delete-event' commands so that event
handlers can be registered, listed and deleted in guestfish.  The
event handler is a shell script snippet or host command.

Cc: Pádraig Brady <P@draigBrady.com>
13 files changed:
.gitignore
fish/Makefile.am
fish/events.c [new file with mode: 0644]
fish/fish.c
fish/fish.h
fish/reopen.c
generator/.depend
generator/generator_actions.ml
generator/generator_fish.ml
generator/generator_main.ml
po/POTFILES.in
regressions/Makefile.am
regressions/test-guestfish-events.sh [new file with mode: 0755]