diff options
author | Michael Adam <obnox@samba.org> | 2010-01-23 00:05:15 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2010-04-01 09:39:16 +0200 |
commit | ca0211b9c97d50ce504fd22911288f6656088268 (patch) | |
tree | 5733dab4775f13e39e2ba548219019c4af04bede /source3/lib | |
parent | aefbeef9f6009bf2a2df4296c6bfe98fb7f68b41 (diff) | |
download | samba-ca0211b9c97d50ce504fd22911288f6656088268.tar.gz |
s3:ctdb_conn: add ctdbd_conn_get_fd() to get the fd out of the ctdb connection
Michael
(cherry picked from commit e4af0bc5af2c3ee025ca7fac251c3672ba2c8dd5)
(cherry picked from commit 84505cb3157d23b6df170bf694cd6adecc1fe9f5)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/ctdbd_conn.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 743594d43b2..6b50009e003 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 */ |