diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-08-20 11:10:30 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2007-08-20 11:10:30 +1000 |
commit | 46639ac19e4e8963a8e56c82247c001bcf4bdefa (patch) | |
tree | dec9031f0b49c98a1a1b73bec1a8845308708a4d /ctdb/include | |
parent | f2fb71740218e157416ff4078cbc7eb1532ef84a (diff) | |
parent | 1ee8c79db7ae3051529cb0399e944b2f16e83f8a (diff) | |
download | samba-46639ac19e4e8963a8e56c82247c001bcf4bdefa.tar.gz |
merged new event script calling code from ronnnie
(This used to be ctdb commit bbacad61b3eee4276ffe44ed2a23949aca8152cf)
Diffstat (limited to 'ctdb/include')
-rw-r--r-- | ctdb/include/ctdb_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 7542b3100fc..01146f3f43e 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -301,7 +301,7 @@ enum ctdb_freeze_mode {CTDB_FREEZE_NONE, CTDB_FREEZE_PENDING, CTDB_FREEZE_FROZEN struct ctdb_takeover { bool enabled; const char *interface; - const char *event_script; + const char *event_script_dir; TALLOC_CTX *last_ctx; }; @@ -1040,6 +1040,7 @@ int ctdb_sys_send_tcp(int fd, int ctdb_set_public_addresses(struct ctdb_context *ctdb, const char *alist); int ctdb_set_event_script(struct ctdb_context *ctdb, const char *script); +int ctdb_set_event_script_dir(struct ctdb_context *ctdb, const char *script_dir); int ctdb_takeover_run(struct ctdb_context *ctdb, struct ctdb_node_map *nodemap); int32_t ctdb_control_tcp_client(struct ctdb_context *ctdb, uint32_t client_id, |