ctdb_conn: add ctdbd_parse_send/recv
authorRalph Boehme <slow@samba.org>
Mon, 9 Jan 2017 07:17:02 +0000 (08:17 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 18 Apr 2017 20:54:16 +0000 (22:54 +0200)
commit0a0c50d361415c18760935a8d6883506b1395ffa
tree9a9bd0d54ebcad6a7e35aa8a4c42c1a5d8725421
parent4449844096b29c8f3cce5b83615e89162715a383
ctdb_conn: add ctdbd_parse_send/recv

Implement the ctdb packet layer for async parse send/recv with tevent.

ctdbd_setup_fde() will is used to create an fde from the
connection fd and will be called from dbwrap_ctdb.

ctdbd_parse_send() and ctdbd_parse_recv() will be used by dbwrap_ctdb
for async packet sending and receiving.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/include/ctdbd_conn.h
source3/lib/ctdbd_conn.c