merged the db_dir changes from volker. Changed them slightly,
[sahlberg/ctdb.git] / include / ctdb.h
index a61b751812331d40e6a3a9c5f4a0a9d9c77d4d6b..7339a56b2b7a19db3c0191f1a3db88769dda9687 100644 (file)
@@ -71,6 +71,11 @@ struct ctdb_context *ctdb_init(struct event_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);
+
 /*
   set some flags
 */