summaryrefslogtreecommitdiff
path: root/lib/tsocket/tsocket.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-11 14:10:47 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-19 16:25:55 +0100
commit2e44ceaea858a611bcb7018df80a6a00096449ab (patch)
treeec97ecb0421a860e29143cf1b7c7ed9feb72928b /lib/tsocket/tsocket.h
parenta140823cc9d7a47e2fc2ffdb80d63b402f7664c0 (diff)
downloadsamba-2e44ceaea858a611bcb7018df80a6a00096449ab.tar.gz
samba-2e44ceaea858a611bcb7018df80a6a00096449ab.tar.bz2
samba-2e44ceaea858a611bcb7018df80a6a00096449ab.zip
lib/tsocket: add tsocket_writev_send/recv()
metze
Diffstat (limited to 'lib/tsocket/tsocket.h')
-rw-r--r--lib/tsocket/tsocket.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tsocket/tsocket.h b/lib/tsocket/tsocket.h
index f7a7d6b614..2456062b47 100644
--- a/lib/tsocket/tsocket.h
+++ b/lib/tsocket/tsocket.h
@@ -192,5 +192,11 @@ struct tevent_req *tsocket_connect_send(struct tsocket_context *sock,
const struct tsocket_address *dst);
int tsocket_connect_recv(struct tevent_req *req, int *perrno);
+struct tevent_req *tsocket_writev_send(struct tsocket_context *sock,
+ TALLOC_CTX *mem_ctx,
+ const struct iovec *vector,
+ size_t count);
+int tsocket_writev_recv(struct tevent_req *req, int *perrno);
+
#endif /* _TSOCKET_H */