1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00

ctdb-protocol: Move ctdb_node_map_* to protocol_api.h

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
This commit is contained in:
Martin Schwenke 2024-07-05 17:58:46 +10:00 committed by Martin Schwenke
parent fe97d04f18
commit 5d2a864c0b
2 changed files with 5 additions and 5 deletions

View File

@ -34,6 +34,11 @@ int ctdb_ltdb_header_pull(uint8_t *buf, size_t buflen,
int ctdb_ltdb_header_extract(TDB_DATA *data, struct ctdb_ltdb_header *header);
size_t ctdb_node_map_len(struct ctdb_node_map *in);
void ctdb_node_map_push(struct ctdb_node_map *in, uint8_t *buf, size_t *npush);
int ctdb_node_map_pull(uint8_t *buf, size_t buflen, TALLOC_CTX *mem_ctx,
struct ctdb_node_map **out, size_t *npull);
size_t ctdb_rec_data_len(struct ctdb_rec_data *in);
void ctdb_rec_data_push(struct ctdb_rec_data *in, uint8_t *buf, size_t *npush);
int ctdb_rec_data_pull(uint8_t *buf, size_t buflen, TALLOC_CTX *mem_ctx,

View File

@ -214,11 +214,6 @@ void ctdb_node_and_flags_push(struct ctdb_node_and_flags *in, uint8_t *buf,
int ctdb_node_and_flags_pull(uint8_t *buf, size_t buflen, TALLOC_CTX *mem_ctx,
struct ctdb_node_and_flags **out, size_t *npull);
size_t ctdb_node_map_len(struct ctdb_node_map *in);
void ctdb_node_map_push(struct ctdb_node_map *in, uint8_t *buf, size_t *npush);
int ctdb_node_map_pull(uint8_t *buf, size_t buflen, TALLOC_CTX *mem_ctx,
struct ctdb_node_map **out, size_t *npull);
size_t ctdb_script_len(struct ctdb_script *in);
void ctdb_script_push(struct ctdb_script *in, uint8_t *buf, size_t *npush);
int ctdb_script_pull(uint8_t *buf, size_t buflen, TALLOC_CTX *mem_ctx,