lib/tsocket: add tsocket_writev_queue_send/recv()
[ira/wip.git] / lib / tsocket / tsocket.h
index 2456062b47ef24968929100ec8099ed3d492569e..d4fb68f766a93c1e494bb1d9fcad3ccf81e04374 100644 (file)
@@ -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 */