summaryrefslogtreecommitdiff
path: root/Xtrans.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-01-08 16:47:05 -0800
committerKeith Packard <keithp@keithp.com>2013-10-31 13:07:46 -0700
commitadf920aa25c1709998c7c9276927061bd58e2dfc (patch)
tree56170ded539860b1b9c7c33bc509f1b5dbdcaf60 /Xtrans.h
parent9e8d99c2e27f2c8acbbfb5b760649aa1bfad665e (diff)
downloadxorg-lib-libxtrans-adf920aa25c1709998c7c9276927061bd58e2dfc.tar.gz
Add APIs to send file descriptors through the network
Exposes new TRANS(SendFd)/TRANS(RecvFd) APIs. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xtrans.h')
-rw-r--r--Xtrans.h4
1 files changed, 4 insertions, 0 deletions
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 */
);