mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
s3:ctdb_conn: add ctdbd_conn_get_fd() to get the fd out of the ctdb connection
Michael
This commit is contained in:
parent
8e306b51b7
commit
e4af0bc5af
@ -33,6 +33,8 @@ NTSTATUS ctdbd_register_msg_ctx(struct ctdbd_connection *conn,
|
||||
struct messaging_context *msg_ctx);
|
||||
struct messaging_context *ctdb_conn_msg_ctx(struct ctdbd_connection *conn);
|
||||
|
||||
int ctdbd_conn_get_fd(struct ctdbd_connection *conn);
|
||||
|
||||
NTSTATUS ctdbd_messaging_send(struct ctdbd_connection *conn,
|
||||
uint32 dst_vnn, uint64 dst_srvid,
|
||||
struct messaging_rec *msg);
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user