diff options
author | Amitay Isaacs <amitay@gmail.com> | 2017-07-13 15:22:08 +1000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2017-08-30 14:59:25 +0200 |
commit | 0d5cc74a913a5aad2b71c3d60d2e8d838dfa70d0 (patch) | |
tree | e6aa41443c62a2196bb71713c2f65d0245f56675 /ctdb/protocol/protocol_api.h | |
parent | a0bce370894df7e70205ce634da236b7a16824ee (diff) | |
download | samba-0d5cc74a913a5aad2b71c3d60d2e8d838dfa70d0.tar.gz |
ctdb-protocol: Fix marshalling for ctdb_g_lock
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 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ctdb/protocol/protocol_api.h b/ctdb/protocol/protocol_api.h index 753a08ce598..6d25a465306 100644 --- a/ctdb/protocol/protocol_api.h +++ b/ctdb/protocol/protocol_api.h @@ -64,9 +64,10 @@ void ctdb_server_id_push(struct ctdb_server_id *in, uint8_t *buf, int ctdb_server_id_pull(uint8_t *buf, size_t buflen, struct ctdb_server_id *out, size_t *npull); -size_t ctdb_g_lock_len(struct ctdb_g_lock *lock); -void ctdb_g_lock_push(struct ctdb_g_lock *lock, uint8_t *buf); -int ctdb_g_lock_pull(uint8_t *buf, size_t buflen, struct ctdb_g_lock *lock); +size_t ctdb_g_lock_len(struct ctdb_g_lock *in); +void ctdb_g_lock_push(struct ctdb_g_lock *in, uint8_t *buf, size_t *npush); +int ctdb_g_lock_pull(uint8_t *buf, size_t buflen, struct ctdb_g_lock *out, + size_t *npull); size_t ctdb_g_lock_list_len(struct ctdb_g_lock_list *lock_list); void ctdb_g_lock_list_push(struct ctdb_g_lock_list *lock_list, uint8_t *buf); |