summaryrefslogtreecommitdiffstats
path: root/source3/include/messages.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-02-25 12:15:58 +0000
committerJeremy Allison <jra@samba.org>2014-04-23 22:33:08 +0200
commitcdc99c145d91aaac08886862a38a0e320e10be85 (patch)
treeac3f095080bf7d6d55ef5ca14606099c8b00b192 /source3/include/messages.h
parente2683605b0c00a0911d59a9123210fe55400a732 (diff)
downloadsamba-cdc99c145d91aaac08886862a38a0e320e10be85.tar.gz
samba-cdc99c145d91aaac08886862a38a0e320e10be85.tar.xz
samba-cdc99c145d91aaac08886862a38a0e320e10be85.zip
messaging3: Add messaging_send_iov
This uses a copy, will be replaced by a direct iovec call through to sendmsg on the unix domain socket 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/messages.h b/source3/include/messages.h
index b89af9c01f..3e1b664ce1 100644
--- a/source3/include/messages.h
+++ b/source3/include/messages.h
@@ -132,6 +132,9 @@ 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(struct messaging_context *msg_ctx,
+ struct server_id server, uint32_t msg_type,
+ const struct iovec *iov, int iovlen);
void messaging_dispatch_rec(struct messaging_context *msg_ctx,
struct messaging_rec *rec);