summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@ronnie>2007-10-22 12:34:08 +1000
committerRonnie Sahlberg <sahlberg@ronnie>2007-10-22 12:34:08 +1000
commit4a97876fb74c9578a57b4d01002e882934d4ef64 (patch)
treed32dee2e5791d3de1e76a0cffd741dcb2ddcda01 /ctdb/include
parentf022df1d40c9c1e3e528f178204f404ee395d5c2 (diff)
downloadsamba-4a97876fb74c9578a57b4d01002e882934d4ef64.tar.gz
when we are shutting down, we should first shut down the recovery daemon
(This used to be ctdb commit 39ade6b329adcd3234124d6a8daaa6181abf739b)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 4eeb17ec8de..7b98683e9ff 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -365,6 +365,7 @@ struct ctdb_context {
struct _trbt_tree_t *server_ids;
const char *event_script_dir;
const char *default_public_interface;
+ pid_t recoverd_pid;
};
struct ctdb_db_context {
@@ -1038,6 +1039,7 @@ int32_t ctdb_control_freeze(struct ctdb_context *ctdb, struct ctdb_req_control *
int32_t ctdb_control_thaw(struct ctdb_context *ctdb);
int ctdb_start_recoverd(struct ctdb_context *ctdb);
+void ctdb_stop_recoverd(struct ctdb_context *ctdb);
uint32_t ctdb_get_num_active_nodes(struct ctdb_context *ctdb);