ctdb-killtcp: Factor out killtcp code into separate file.
authorMartin Schwenke <martin@meltin.net>
Wed, 2 Mar 2016 05:27:02 +0000 (16:27 +1100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 1 Apr 2016 02:42:11 +0000 (04:42 +0200)
commit51f5faf5557bf326a3a45a9851aed99335ddc8c2
treeb3111ddbf6cd500d974c6b22578ba8ca1081dc15
parentf76cb52eb5d65ff8c5948e550768983c9548d8fe
ctdb-killtcp: Factor out killtcp code into separate file.

This will be used in a standalone helper.

Don't worry that the API isn't clean and opaque.  All of the code will
eventually move into the helper and will no longer be used by the
daemon.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_takeover.c
ctdb/server/killtcp.c [new file with mode: 0644]
ctdb/server/killtcp.h [new file with mode: 0644]
ctdb/tests/src/ctdbd_test.c
ctdb/wscript