summaryrefslogtreecommitdiffstats
path: root/source3/include/messages.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-11-12 16:42:59 +0100
committerJeremy Allison <jra@samba.org>2014-12-16 18:56:03 +0100
commit28f750643bac2049eeeaab23d7d2d9a5a6256bcd (patch)
tree9746c544081fced7301720be00bf7689c6c021c6 /source3/include/messages.h
parentd9a8453bbf69567236038e62f1c5cc4df25d899b (diff)
downloadsamba-28f750643bac2049eeeaab23d7d2d9a5a6256bcd.tar.gz
samba-28f750643bac2049eeeaab23d7d2d9a5a6256bcd.tar.xz
samba-28f750643bac2049eeeaab23d7d2d9a5a6256bcd.zip
messaging3: Add messaging_send_iov_from
In the notifyd code it will be very helpful to fake source server_ids Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/include/messages.h')
-rw-r--r--source3/include/messages.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/messages.h b/source3/include/messages.h
index 80b6c19bf1..3db675611e 100644
--- a/source3/include/messages.h
+++ b/source3/include/messages.h
@@ -123,6 +123,11 @@ NTSTATUS messaging_send(struct messaging_context *msg_ctx,
NTSTATUS messaging_send_buf(struct messaging_context *msg_ctx,
struct server_id server, uint32_t msg_type,
const uint8_t *buf, size_t len);
+NTSTATUS messaging_send_iov_from(struct messaging_context *msg_ctx,
+ struct server_id src, struct server_id dst,
+ uint32_t msg_type,
+ const struct iovec *iov, int iovlen,
+ const int *fds, size_t num_fds);
NTSTATUS messaging_send_iov(struct messaging_context *msg_ctx,
struct server_id server, uint32_t msg_type,
const struct iovec *iov, int iovlen,