summaryrefslogtreecommitdiff
path: root/Xtrans.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2013-11-12 07:17:52 +0100
committerMatthieu Herrb <matthieu.herrb@laas.fr>2013-11-12 07:17:52 +0100
commitb18268e1b10505572a6f5afc1b01194ed776d6de (patch)
tree47711d8a1f9eafa2a8d3e1d28b687f4877cd75be /Xtrans.c
parent1eccff629cdf5707d7dd7c467581acdda321dc99 (diff)
parent0153d1670e4a1883e1bb6dd971435d6268eac5ba (diff)
Merge remote-tracking branch 'origin/master' into obsd
Diffstat (limited to 'Xtrans.c')
-rw-r--r--Xtrans.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Xtrans.c b/Xtrans.c
index 6282b96..b563bf3 100644
--- a/Xtrans.c
+++ b/Xtrans.c
@@ -869,12 +869,20 @@ TRANS(Write) (XtransConnInfo ciptr, char *buf, int size)
}
int
+TRANS(Readv) (XtransConnInfo ciptr, struct iovec *buf, int size)
+
+{
+ return ciptr->transptr->Readv (ciptr, buf, size);
+}
+
+int
TRANS(Writev) (XtransConnInfo ciptr, struct iovec *buf, int size)
{
return ciptr->transptr->Writev (ciptr, buf, size);
}
+#if XTRANS_SEND_FDS
int
TRANS(SendFd) (XtransConnInfo ciptr, int fd, int do_close)
{
@@ -886,6 +894,7 @@ TRANS(RecvFd) (XtransConnInfo ciptr)
{
return ciptr->transptr->RecvFd(ciptr);
}
+#endif
int
TRANS(Disconnect) (XtransConnInfo ciptr)