summaryrefslogtreecommitdiff
path: root/ctdb/client/client_message.c
Commit message (Collapse)AuthorAgeFilesLines
* ctdb-client: Create sync wrappers for managing message handlersAmitay Isaacs2017-06-071-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>
* ctdb-client: Add sync version of sending multiple messagesAmitay Isaacs2016-07-051-0/+28
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
* ctdb-protocol: Return required buffer size in push functionsAmitay Isaacs2016-05-031-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>
* ctdb-protocol: Drop buffer allocation from protocol push functionsAmitay Isaacs2016-05-031-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>
* ctdb-client: Add client API for sending message to multiple nodesAmitay Isaacs2016-03-251-0/+132
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
* ctdb-client: Remove TALLOC_CTX argument from sync functionsAmitay Isaacs2016-02-241-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>
* ctdb-client: Add async version of set/remove message handler functionsAmitay Isaacs2016-02-241-0/+179
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
* ctdb-client: Add new client API implementationAmitay Isaacs2015-10-071-0/+227
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>