eventscript: record script status for all events
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 8 Dec 2009 02:16:18 +0000 (12:46 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 8 Dec 2009 02:16:18 +0000 (12:46 +1030)
commitc476c81f3e3d8fc62f2e53d82fce5774044ee9ce
treeae56f0e2f9a3179f150795f1bfc0cc86a6da7ecd
parentb2a300768536d10bd867a987ad4cf1c5268c44bc
eventscript: record script status for all events

This unifies almost everything: the state->current pointer points to
the struct ctdb_script where we record start, finish, status and
output.

We still only marshall up the monitor events; the rest disappear when
the state structure is freed.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
server/eventscript.c