mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
ctdb-include: Group function prototypes from server/ctdb_vacuum.c
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
860f2edc61
commit
819f8626f7
@ -932,9 +932,6 @@ int32_t ctdb_control_get_event_script_status(struct ctdb_context *ctdb,
|
||||
|
||||
int ctdb_ctrl_report_recd_lock_latency(struct ctdb_context *ctdb, struct timeval timeout, double latency);
|
||||
|
||||
void ctdb_stop_vacuuming(struct ctdb_context *ctdb);
|
||||
int ctdb_vacuum_init(struct ctdb_db_context *ctdb_db);
|
||||
|
||||
int32_t ctdb_control_enable_script(struct ctdb_context *ctdb, TDB_DATA indata);
|
||||
int32_t ctdb_control_disable_script(struct ctdb_context *ctdb, TDB_DATA indata);
|
||||
|
||||
@ -948,18 +945,6 @@ struct ctdb_control_schedule_for_deletion {
|
||||
uint8_t key[1]; /* key[] */
|
||||
};
|
||||
|
||||
int32_t ctdb_control_schedule_for_deletion(struct ctdb_context *ctdb,
|
||||
TDB_DATA indata);
|
||||
|
||||
|
||||
int32_t ctdb_local_schedule_for_deletion(struct ctdb_db_context *ctdb_db,
|
||||
const struct ctdb_ltdb_header *hdr,
|
||||
TDB_DATA key);
|
||||
|
||||
void ctdb_local_remove_from_delete_queue(struct ctdb_db_context *ctdb_db,
|
||||
const struct ctdb_ltdb_header *hdr,
|
||||
const TDB_DATA key);
|
||||
|
||||
struct ctdb_ltdb_header *ctdb_header_from_record_handle(struct ctdb_record_handle *h);
|
||||
|
||||
typedef void (*deferred_requeue_fn)(void *call_context, struct ctdb_req_header *hdr);
|
||||
@ -1501,4 +1486,19 @@ int32_t ctdb_control_update_record(struct ctdb_context *ctdb,
|
||||
|
||||
int32_t ctdb_control_uptime(struct ctdb_context *ctdb, TDB_DATA *outdata);
|
||||
|
||||
/* from ctdb_vacuum.c */
|
||||
|
||||
void ctdb_stop_vacuuming(struct ctdb_context *ctdb);
|
||||
int ctdb_vacuum_init(struct ctdb_db_context *ctdb_db);
|
||||
|
||||
int32_t ctdb_control_schedule_for_deletion(struct ctdb_context *ctdb,
|
||||
TDB_DATA indata);
|
||||
int32_t ctdb_local_schedule_for_deletion(struct ctdb_db_context *ctdb_db,
|
||||
const struct ctdb_ltdb_header *hdr,
|
||||
TDB_DATA key);
|
||||
|
||||
void ctdb_local_remove_from_delete_queue(struct ctdb_db_context *ctdb_db,
|
||||
const struct ctdb_ltdb_header *hdr,
|
||||
const TDB_DATA key);
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user