mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s3: Add ctdb_conn_msg_ctx()
This commit is contained in:
parent
4c1c3f2549
commit
12abab711b
@ -31,6 +31,7 @@ uint32 ctdbd_vnn(const struct ctdbd_connection *conn);
|
||||
|
||||
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);
|
||||
|
||||
NTSTATUS ctdbd_messaging_send(struct ctdbd_connection *conn,
|
||||
uint32 dst_vnn, uint64 dst_srvid,
|
||||
|
@ -514,6 +514,11 @@ NTSTATUS ctdbd_messaging_connection(TALLOC_CTX *mem_ctx,
|
||||
return status;
|
||||
}
|
||||
|
||||
struct messaging_context *ctdb_conn_msg_ctx(struct ctdbd_connection *conn)
|
||||
{
|
||||
return conn->msg_ctx;
|
||||
}
|
||||
|
||||
/*
|
||||
* Packet handler to receive and handle a ctdb message
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user