summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-31 13:05:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:34 -0500
commit6490e114b8e9ffc9d35a0eaee66f9bdef65708fc (patch)
tree8f714401422a33e7e51935735c172783a01ffd00 /source3/lib
parent434bf5fadd1bc7e7c4af0eb402457365860ec760 (diff)
downloadsamba-6490e114b8e9ffc9d35a0eaee66f9bdef65708fc.tar.gz
samba-6490e114b8e9ffc9d35a0eaee66f9bdef65708fc.tar.bz2
samba-6490e114b8e9ffc9d35a0eaee66f9bdef65708fc.zip
r21081: Add forgotten function
(This used to be commit 4a99fa266672e2989f9e62baf9090eb45df750ea)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/messages.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index f2d930e357..5bf1774af1 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -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;
+}
/** @} **/