summaryrefslogtreecommitdiffstats
path: root/ctdb/include/ctdb_private.h
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-10-15 14:10:58 +1100
committerMartin Schwenke <martin@meltin.net>2013-10-22 15:37:54 +1100
commit4adc8f4f09bc2d32307917cc632d7d8c0b63e975 (patch)
tree87c12032049274c07a39145f951b55f2e3eb9b6e /ctdb/include/ctdb_private.h
parentf9ce563135ed036b48eb14a097e002c29aed97a7 (diff)
downloadsamba-4adc8f4f09bc2d32307917cc632d7d8c0b63e975.tar.gz
samba-4adc8f4f09bc2d32307917cc632d7d8c0b63e975.tar.xz
samba-4adc8f4f09bc2d32307917cc632d7d8c0b63e975.zip
ctdbd: Default for event_script_dir should use CTDB_BASE
Also get rid of ctdb_set_event_script_dir(). It creates an unnecessary copy of something that will be around for the lifetime of the process. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 21b4d1aba00902f1eee0cbf4f082b0794fd5b738)
Diffstat (limited to 'ctdb/include/ctdb_private.h')
-rw-r--r--ctdb/include/ctdb_private.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 967dd63c9a0..3430f9cd01d 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -1219,7 +1219,6 @@ int ctdb_set_single_public_ip(struct ctdb_context *ctdb,
const char *iface,
const char *ip);
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_set_notification_script(struct ctdb_context *ctdb, const char *script);
int ctdb_takeover_run(struct ctdb_context *ctdb, struct ctdb_node_map *nodemap,
uint32_t *force_rebalance_nodes,