From 9e8d99c2e27f2c8acbbfb5b760649aa1bfad665e Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 18 Jan 2013 16:47:30 -0800 Subject: Remove 'Readv' interface No-one uses this, so there's no reason for it to be in the library Signed-off-by: Keith Packard --- Xtrans.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Xtrans.h') diff --git a/Xtrans.h b/Xtrans.h index 2945b2a..1b0af45 100644 --- a/Xtrans.h +++ b/Xtrans.h @@ -344,12 +344,6 @@ int TRANS(Write)( int /* size */ ); -int TRANS(Readv)( - XtransConnInfo, /* ciptr */ - struct iovec *, /* buf */ - int /* size */ -); - int TRANS(Writev)( XtransConnInfo, /* ciptr */ struct iovec *, /* buf */ -- cgit v1.2.3 From adf920aa25c1709998c7c9276927061bd58e2dfc Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 8 Jan 2013 16:47:05 -0800 Subject: Add APIs to send file descriptors through the network Exposes new TRANS(SendFd)/TRANS(RecvFd) APIs. Signed-off-by: Keith Packard --- Xtrans.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Xtrans.h') diff --git a/Xtrans.h b/Xtrans.h index 1b0af45..53b8b62 100644 --- a/Xtrans.h +++ b/Xtrans.h @@ -350,6 +350,10 @@ int TRANS(Writev)( int /* size */ ); +int TRANS(SendFd) (XtransConnInfo ciptr, int fd, int do_close); + +int TRANS(RecvFd) (XtransConnInfo ciptr); + int TRANS(Disconnect)( XtransConnInfo /* ciptr */ ); -- cgit v1.2.3