summaryrefslogtreecommitdiff
path: root/lib/tsocket/tsocket.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-11 14:26:15 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-19 16:25:55 +0100
commit6c8bd1005d7440c929d5b70f9faba09e0838b12a (patch)
treef1e0bbee1e83c2609629184e19edd72bc80e09dd /lib/tsocket/tsocket.h
parent2e44ceaea858a611bcb7018df80a6a00096449ab (diff)
downloadsamba-6c8bd1005d7440c929d5b70f9faba09e0838b12a.tar.gz
lib/tsocket: add tsocket_writev_queue_send/recv()
metze
Diffstat (limited to 'lib/tsocket/tsocket.h')
-rw-r--r--lib/tsocket/tsocket.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tsocket/tsocket.h b/lib/tsocket/tsocket.h
index 2456062b47e..d4fb68f766a 100644
--- a/lib/tsocket/tsocket.h
+++ b/lib/tsocket/tsocket.h
@@ -198,5 +198,12 @@ struct tevent_req *tsocket_writev_send(struct tsocket_context *sock,
size_t count);
int tsocket_writev_recv(struct tevent_req *req, int *perrno);
+struct tevent_req *tsocket_writev_queue_send(TALLOC_CTX *mem_ctx,
+ struct tsocket_context *sock,
+ struct tevent_queue *queue,
+ const struct iovec *vector,
+ size_t count);
+int tsocket_writev_queue_recv(struct tevent_req *req, int *perrno);
+
#endif /* _TSOCKET_H */