diff options
author | Amitay Isaacs <amitay@gmail.com> | 2016-02-19 10:54:15 +1100 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2016-03-25 03:26:14 +0100 |
commit | 0fd156ae8478f2da35a68c6bd3f90f50a06aecb8 (patch) | |
tree | b74e0a0bb697e537eaff3553c4683b90f61f8b6b /ctdb/protocol/protocol_api.h | |
parent | fe69b72569494ef09dc8fa8673af02c0bfc18434 (diff) | |
download | samba-0fd156ae8478f2da35a68c6bd3f90f50a06aecb8.tar.gz |
ctdb-protocol: Add new controls DB_PULL and DB_PUSH_START/DB_PUSH_CONFIRM
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/protocol/protocol_api.h')
-rw-r--r-- | ctdb/protocol/protocol_api.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ctdb/protocol/protocol_api.h b/ctdb/protocol/protocol_api.h index 8fa74e16426..d07b4198d0a 100644 --- a/ctdb/protocol/protocol_api.h +++ b/ctdb/protocol/protocol_api.h @@ -630,6 +630,20 @@ void ctdb_req_control_db_transaction_cancel(struct ctdb_req_control *request, uint32_t db_id); int ctdb_reply_control_db_transaction_cancel(struct ctdb_reply_control *reply); +void ctdb_req_control_db_pull(struct ctdb_req_control *request, + struct ctdb_pulldb_ext *pulldb_ext); +int ctdb_reply_control_db_pull(struct ctdb_reply_control *reply, + uint32_t *num_records); + +void ctdb_req_control_db_push_start(struct ctdb_req_control *request, + struct ctdb_pulldb_ext *pulldb_ext); +int ctdb_reply_control_db_push_start(struct ctdb_reply_control *reply); + +void ctdb_req_control_db_push_confirm(struct ctdb_req_control *request, + uint32_t db_id); +int ctdb_reply_control_db_push_confirm(struct ctdb_reply_control *reply, + uint32_t *num_records); + /* From protocol/protocol_debug.c */ void ctdb_packet_print(uint8_t *buf, size_t buflen, FILE *fp); |