summaryrefslogtreecommitdiff
path: root/lib/tsocket/tsocket.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-04-03 18:49:24 +0200
committerStefan Metzmacher <metze@samba.org>2009-05-01 17:42:01 +0200
commit6ac61e6707079c8339ef8fa5f1c65ab173f3a79a (patch)
treee7dbc9d6db22febd2a911e7acc2efcc37314626b /lib/tsocket/tsocket.h
parenteb723c2061ece9652638866b5336f3f377339c8f (diff)
downloadsamba-6ac61e6707079c8339ef8fa5f1c65ab173f3a79a.tar.gz
tsocket: add tstream_readv_pdu_queue_send/recv()
metze
Diffstat (limited to 'lib/tsocket/tsocket.h')
-rw-r--r--lib/tsocket/tsocket.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/tsocket/tsocket.h b/lib/tsocket/tsocket.h
index ed569955720..8b0c80becf0 100644
--- a/lib/tsocket/tsocket.h
+++ b/lib/tsocket/tsocket.h
@@ -214,6 +214,14 @@ struct tevent_req *tstream_readv_pdu_send(TALLOC_CTX *mem_ctx,
void *next_vector_private);
int tstream_readv_pdu_recv(struct tevent_req *req, int *perrno);
+struct tevent_req *tstream_readv_pdu_queue_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct tstream_context *stream,
+ struct tevent_queue *queue,
+ tstream_readv_pdu_next_vector_t next_vector_fn,
+ void *next_vector_private);
+int tstream_readv_pdu_queue_recv(struct tevent_req *req, int *perrno);
+
struct tevent_req *tstream_writev_queue_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct tstream_context *stream,