summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-10-16 20:03:51 +1100
committerAmitay Isaacs <amitay@samba.org>2014-10-28 05:42:04 +0100
commitd9d572a23cf527780caae9d7ff143376e9057f6a (patch)
tree916bf0275142e293936552091015fbce71bbac7a /ctdb/include
parentdfd502c80c1dc59ad678f9f5ec7f6fe6f37a8c14 (diff)
downloadsamba-d9d572a23cf527780caae9d7ff143376e9057f6a.tar.gz
ctdb-logging: Remove ctdb element from struct ctdb_log_state
This is set but otherwise not used. This allows the 1st argument to ctdb_set_logfile() to be generalised to a TALLOC_CTX. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h
index 1370ce97504..aa1145bcfa0 100644
--- a/ctdb/include/ctdb_client.h
+++ b/ctdb/include/ctdb_client.h
@@ -367,7 +367,7 @@ uint32_t *ctdb_get_connected_nodes(struct ctdb_context *ctdb,
int ctdb_statistics_reset(struct ctdb_context *ctdb, uint32_t destnode);
-int ctdb_set_logfile(struct ctdb_context *ctdb, const char *logfile, bool use_syslog);
+int ctdb_set_logfile(TALLOC_CTX *mem_ctx, const char *logfile, bool use_syslog);
typedef int (*ctdb_traverse_func)(struct ctdb_context *, TDB_DATA, TDB_DATA, void *);
int ctdb_traverse(struct ctdb_db_context *ctdb_db, ctdb_traverse_func fn, void *private_data);