summaryrefslogtreecommitdiff
path: root/ctdb/common/sock_client.h
Commit message (Collapse)AuthorAgeFilesLines
* ctdb-common: Avoid using void ** argumentAmitay Isaacs2017-12-131-1/+1
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
* ctdb-common: Add sock_client abstractionAmitay Isaacs2017-09-011-0/+129
This sets up boilerplate required for a client code connecting to a server over unix domain socket. The communication between client and server is "request" from client to server and "reply" from server to client. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>