1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r21081: Add forgotten function

(This used to be commit 4a99fa2666)
This commit is contained in:
Volker Lendecke 2007-01-31 13:05:36 +00:00 committed by Gerald (Jerry) Carter
parent 434bf5fadd
commit 6490e114b8

View File

@ -798,5 +798,16 @@ void messaging_deregister(struct messaging_context *ctx, uint32_t msg_type,
}
}
/*
Send a message to a particular server
*/
NTSTATUS messaging_send(struct messaging_context *msg,
struct server_id server,
uint32_t msg_type, DATA_BLOB *data)
{
return message_send_pid_internal(server.id, msg_type, data->data,
data->length, True, 0)
? NT_STATUS_OK : NT_STATUS_ACCESS_DENIED;
}
/** @} **/