summaryrefslogtreecommitdiff
path: root/src/xcbext.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-01-14 11:23:00 -0800
committerKeith Packard <keithp@keithp.com>2013-11-07 14:02:35 -0800
commit7b53fb0f9bddae77b3ab8823743db57faee4e99b (patch)
tree48cd3517a30bd2905a3a13aae941831e7b36fb1e /src/xcbext.h
parent98c227a2222fb5c7ca7e8101b1ed2bc096a33048 (diff)
Add xcb_send_fd API
This uses sendmsg to transmit file descriptors from the application to the X server Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-By: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/xcbext.h')
-rw-r--r--src/xcbext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xcbext.h b/src/xcbext.h
index 4e1f2f7..44030c3 100644
--- a/src/xcbext.h
+++ b/src/xcbext.h
@@ -59,6 +59,8 @@ enum xcb_send_request_flags_t {
unsigned int xcb_send_request(xcb_connection_t *c, int flags, struct iovec *vector, const xcb_protocol_request_t *request);
+void xcb_send_fd(xcb_connection_t *c, int fd);
+
/* xcb_take_socket allows external code to ask XCB for permission to
* take over the write side of the socket and send raw data with
* xcb_writev. xcb_take_socket provides the sequence number of the last