summaryrefslogtreecommitdiff
path: root/Xtransint.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-07 03:49:05 -0800
committerKeith Packard <keithp@keithp.com>2013-11-07 03:49:05 -0800
commit6b54b5cf8086f127aa87096e2bdd2263d1c81683 (patch)
treee52217bdef7d2ec21a7409002e504f2ec84a9384 /Xtransint.h
parentf3709f3e0b883a0b4956313f89fa931e9264c346 (diff)
downloadxorg-lib-libxtrans-6b54b5cf8086f127aa87096e2bdd2263d1c81683.tar.gz
Actually disable all of the FD passing code unless XTRANS_SEND_FDS is set
Stick all of the functions relating to FD passing inside Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xtransint.h')
-rw-r--r--Xtransint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xtransint.h b/Xtransint.h
index 581af9f..8dee614 100644
--- a/Xtransint.h
+++ b/Xtransint.h
@@ -291,6 +291,7 @@ typedef struct _Xtransport {
int /* size */
);
+#if XTRANS_SEND_FDS
int (*SendFd)(
XtransConnInfo, /* connection */
int, /* fd */
@@ -300,6 +301,7 @@ typedef struct _Xtransport {
int (*RecvFd)(
XtransConnInfo /* connection */
);
+#endif
int (*Disconnect)(
XtransConnInfo /* connection */