1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/include
Rusty Russell b8e347ec9c eventscript: use direct script state pointer for current monitor
We put a "scripts" member in ctdb_event_script_state, rather than using
a special struct for monitor events.  This will fit better as we further
unify the different events, and holds the reports from the child process
running each monitor script.

Rather than making the monitor state a child of current_monitor_status_ctx,
we just point current_monitor directly at it.  This means we need to reset
that pointer in the destructor for ctdb_event_script_state.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>


(This used to be ctdb commit 9a2b4f6b17e54685f878d75bad27aa5090b4571f)
2009-12-08 00:14:01 +10:30
..
cmdline.h moved cmdline.c to common code 2007-04-17 22:16:50 +10:00
ctdb_private.h eventscript: use direct script state pointer for current monitor 2009-12-08 00:14:01 +10:30
ctdb.h eventscript: use -ENOEXEC for disabled status value 2009-12-07 23:11:47 +10:30
idtree.h - added in idtree for efficient reqid handling 2006-11-28 20:48:34 +11:00
includes.h Dont store debug level DEBUG_DEBUG in the in-memory ringbuffer. 2009-12-04 11:45:37 +11:00