summaryrefslogtreecommitdiffstats
path: root/ctdb/include/ctdb.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-02-12 11:24:08 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-23 10:38:49 +0100
commit3419e9c4dd8f59865783e183ee2177870a776180 (patch)
treeda8cf7b867b9915a802f28c36a8c2466652b1ad7 /ctdb/include/ctdb.h
parent061c2a71822cc5ecc72316c9946b2a9989b91db0 (diff)
downloadsamba-3419e9c4dd8f59865783e183ee2177870a776180.tar.gz
samba-3419e9c4dd8f59865783e183ee2177870a776180.tar.xz
samba-3419e9c4dd8f59865783e183ee2177870a776180.zip
server: add "setup" event
This is needed because the "init" event can't use 'ctdb' commands. metze (This used to be ctdb commit 1493436b6b24eb05a23b7a339071ad85f70de8f4)
Diffstat (limited to 'ctdb/include/ctdb.h')
-rw-r--r--ctdb/include/ctdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb.h b/ctdb/include/ctdb.h
index 9924acf856..94198aacc8 100644
--- a/ctdb/include/ctdb.h
+++ b/ctdb/include/ctdb.h
@@ -680,6 +680,7 @@ struct ctdb_scripts_wire {
/* different calls to event scripts. */
enum ctdb_eventscript_call {
CTDB_EVENT_INIT, /* CTDB starting up: no args */
+ CTDB_EVENT_SETUP, /* CTDB starting up after transport is readdy: no args. */
CTDB_EVENT_STARTUP, /* CTDB starting up after initial recovery: no args. */
CTDB_EVENT_START_RECOVERY, /* CTDB recovery starting: no args. */
CTDB_EVENT_RECOVERED, /* CTDB recovery finished: no args. */