summaryrefslogtreecommitdiff
path: root/Xtrans.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-02 19:10:11 -0700
committerKeith Packard <keithp@keithp.com>2013-11-02 19:10:11 -0700
commit58151f63553faf81babd1371770b7a7f33cecac1 (patch)
tree22f5aba39597f1f162472902a3ba8896e59b6dc0 /Xtrans.c
parent1fb0fd555a16dd8fce4abc6d3fd22b315f46762a (diff)
Revert "Remove 'Readv' interface"
This reverts commit 9e8d99c2e27f2c8acbbfb5b760649aa1bfad665e. libFS still uses this API...
Diffstat (limited to 'Xtrans.c')
-rw-r--r--Xtrans.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Xtrans.c b/Xtrans.c
index 7c7967f..be9a057 100644
--- a/Xtrans.c
+++ b/Xtrans.c
@@ -866,6 +866,13 @@ 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)
{