summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-10-21 19:36:36 +1100
committerAmitay Isaacs <amitay@gmail.com>2013-10-25 12:06:06 +1100
commitb595712f254d249e02cf4bbbc933063725286f78 (patch)
treea5e51bf482a38c10270e765ef761f0acb4fcddf7 /ctdb/include
parenta604c3d945303d58ce12f20de6a3a6fad1493f49 (diff)
ctdbd: Simplify database directory setting logic
No need to check if the options are set. The options are always set via static defaults. No need to talloc_strdup() the values via wrapper functions. The options aren't going away. Remove now unused ctdb_set_tdb_dir() and similar functions. Signed-off-by: Martin Schwenke <martin@meltin.net> Pair-programmed-with: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 1fe82f3d7b610547ff4945887f15dd6c5798a49b)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_client.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h
index c270783e6a..53b082978c 100644
--- a/ctdb/include/ctdb_client.h
+++ b/ctdb/include/ctdb_client.h
@@ -65,13 +65,6 @@ struct ctdb_context *ctdb_init(struct tevent_context *ev);
int ctdb_set_transport(struct ctdb_context *ctdb, const char *transport);
/*
- set the directory for the local databases
-*/
-int ctdb_set_tdb_dir(struct ctdb_context *ctdb, const char *dir);
-int ctdb_set_tdb_dir_persistent(struct ctdb_context *ctdb, const char *dir);
-int ctdb_set_tdb_dir_state(struct ctdb_context *ctdb, const char *dir);
-
-/*
set some flags
*/
void ctdb_set_flags(struct ctdb_context *ctdb, unsigned flags);