[PATCH] CTDB protocol and client fixes
metze at samba.org
Thu Nov 19 08:36:53 UTC 2015
> Here are the changes to the new protocol and client code.
> Many of them are fixes required for the rewrite of ctdb tool and test
> binaries using new client API.
> Major changes to protocol code include:
> 1. Fix marshaling of data types ctdb_addr_info, ctdb_public_ip_list,
> 2. Add utility function ctdb_sock_addr_to_string
> Major changes to client code include:
> 1. Avoid using sync functions in async computations (tevent_req based)
> 2. Add missing sync/async versions of some of the APIs
> 3. Drop TALLOC_CTX where not required
Can you also remove the 'struct tevent_context *ev' argument from all
sync functions? They should create a temporary event context,
see smb2cli_echo() and others as example.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: OpenPGP digital signature
More information about the samba-technical