From e4af0bc5af2c3ee025ca7fac251c3672ba2c8dd5 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 23 Jan 2010 00:05:15 +0100 Subject: s3:ctdb_conn: add ctdbd_conn_get_fd() to get the fd out of the ctdb connection Michael --- source3/lib/ctdbd_conn.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/lib') diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 743594d43b..6b50009e00 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -519,6 +519,11 @@ struct messaging_context *ctdb_conn_msg_ctx(struct ctdbd_connection *conn) return conn->msg_ctx; } +int ctdbd_conn_get_fd(struct ctdbd_connection *conn) +{ + return packet_get_fd(conn->pkt); +} + /* * Packet handler to receive and handle a ctdb message */ -- cgit