summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2019-07-30 14:17:11 +1000
committerAmitay Isaacs <amitay@samba.org>2019-10-24 04:06:43 +0000
commit41a41d5f3e2b8e16e25221e14939dc5962997ac7 (patch)
treeb1b3749d810e78879c7f1ce78769d52ca3c3678a /ctdb/include
parentd462d64cdf001fd5d1cbf2a109df62e087ad0c49 (diff)
downloadsamba-41a41d5f3e2b8e16e25221e14939dc5962997ac7.tar.gz
ctdb-daemon: Implement DB_VACUUM control
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_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index b42b32a3967..4f36c9a44a5 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -986,6 +986,11 @@ int32_t ctdb_control_uptime(struct ctdb_context *ctdb, TDB_DATA *outdata);
/* from ctdb_vacuum.c */
+int32_t ctdb_control_db_vacuum(struct ctdb_context *ctdb,
+ struct ctdb_req_control_old *c,
+ TDB_DATA indata,
+ bool *async_reply);
+
void ctdb_stop_vacuuming(struct ctdb_context *ctdb);
int ctdb_vacuum_init(struct ctdb_db_context *ctdb_db);