summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-07-19 19:29:09 +0930
committerRusty Russell <rusty@rustcorp.com.au>2010-08-18 11:46:32 +0930
commit9fbb191b78a0cef008166fbc2bdad454735b8e1c (patch)
treec016891d655a2313e5421b1d44e06e297b695259 /ctdb/include
parent1a009aff73cd3fa0e9653c35581283bd4de614e3 (diff)
logging: give a unique logging name to each forked child.
This means we can distinguish which child is logging, esp. via syslog where we have no pid. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (This used to be ctdb commit 68b3761a0874429b90731741f0531f76dcfbb081)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h
index e9aa8d17fb..b3b0d67516 100644
--- a/ctdb/include/ctdb_client.h
+++ b/ctdb/include/ctdb_client.h
@@ -551,7 +551,8 @@ int ctdb_transaction_commit(struct ctdb_transaction_handle *h);
int ctdb_ctrl_recd_ping(struct ctdb_context *ctdb);
-int switch_from_server_to_client(struct ctdb_context *ctdb);
+int switch_from_server_to_client(struct ctdb_context *ctdb, const char *fmt,
+ ...);
int ctdb_ctrl_getscriptstatus(struct ctdb_context *ctdb,
struct timeval timeout, uint32_t destnode,