summaryrefslogtreecommitdiff
path: root/ctdb/client/client_message.c
AgeCommit message (Collapse)AuthorFilesLines
2017-06-07ctdb-client: Create sync wrappers for managing message handlersAmitay Isaacs1-11/+33
This wraps the entire async computation for setting and removing message handlers instead of calling multiple sync calls. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
2016-07-05ctdb-client: Add sync version of sending multiple messagesAmitay Isaacs1-0/+28
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
2016-05-03ctdb-protocol: Return required buffer size in push functionsAmitay Isaacs1-1/+1
If the buffer size provided is not sufficient, then return the required buffer length. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
2016-05-03ctdb-protocol: Drop buffer allocation from protocol push functionsAmitay Isaacs1-2/+9
This means that the packet allocation will happen just before push functions are called. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
2016-03-25ctdb-client: Add client API for sending message to multiple nodesAmitay Isaacs1-0/+132
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
2016-02-24ctdb-client: Remove TALLOC_CTX argument from sync functionsAmitay Isaacs1-4/+16
There is no allocated memory returned from these functions. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
2016-02-24ctdb-client: Add async version of set/remove message handler functionsAmitay Isaacs1-0/+179
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
2015-10-07ctdb-client: Add new client API implementationAmitay Isaacs1-0/+227
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>