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 a4c2a98ba9 eventscript: make current_monitor_status_ctx serve as monitor_event_script_ctx
We have monitor_event_script_ctx and other_event_script_ctx, and
current_monitor_status_ctx in struct ctdb_context.  This seems more
complex than it needs to be.

We use a single "event_script_ctx" as parent for all event script
state structures.  Then we explicitly reparent monitor events under
current_monitor_status_ctx: this is freed every script invocation to
kill off any running scripts anyway.

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


(This used to be ctdb commit 0d925e6f2767691fa561f15bbb857a2aec531143)
2009-12-08 00:09:20 +10:30
..
cmdline.h moved cmdline.c to common code 2007-04-17 22:16:50 +10:00
ctdb_private.h eventscript: make current_monitor_status_ctx serve as monitor_event_script_ctx 2009-12-08 00:09:20 +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