diff options
| author | Martin Schwenke <martin@meltin.net> | 2013-06-19 10:58:14 +1000 |
|---|---|---|
| committer | Amitay Isaacs <amitay@gmail.com> | 2013-06-22 15:51:02 +1000 |
| commit | 6a52a87028c653edbcede161e96857ff37d802ee (patch) | |
| tree | 53dbcedfd10505f4b15c35a84b97cf6af0e22e8b /ctdb/include | |
| parent | 01d879806bc772cff66134dd3bcece9c2cedbac0 (diff) | |
ctdbd: Refactor shutdown sequence
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit b32fd04bfbf33062d45365b37a7247e272a76ceb)
Diffstat (limited to 'ctdb/include')
| -rw-r--r-- | ctdb/include/ctdb_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index eadd963715..bf5b5ecacc 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -450,6 +450,8 @@ const char *runstate_to_string(enum ctdb_runstate runstate); enum ctdb_runstate runstate_from_string(const char *label); void ctdb_set_runstate(struct ctdb_context *ctdb, enum ctdb_runstate runstate); +void ctdb_shutdown_sequence(struct ctdb_context *ctdb, int exit_code); + #define CTDB_MONITORING_ACTIVE 0 #define CTDB_MONITORING_DISABLED 1 |
