diff options
author | Keith Packard <keithp@keithp.com> | 2013-01-17 13:46:55 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-10-31 16:58:28 -0700 |
commit | fdec793cdc2ef9a6ea66b311cb1068a7bd4a3be3 (patch) | |
tree | fb668e21ad877c1719181d672836806bcff318fe /include | |
parent | 9fd35daa3160fd36f00ed354bfcbefefa1353cce (diff) |
Add support for MIT-SHM AttachFd request
This passes a file descriptor from the client to the server, which is
then mmap'd
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/os.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/os.h b/include/os.h index b654a0d45..11b219845 100644 --- a/include/os.h +++ b/include/os.h @@ -100,6 +100,8 @@ extern _X_EXPORT int ReadRequestFromClient(ClientPtr /*client */ ); extern _X_EXPORT int ReadFdFromClient(ClientPtr client); +extern _X_EXPORT int WriteFdToClient(ClientPtr client, int fd, Bool do_close); + extern _X_EXPORT Bool InsertFakeRequest(ClientPtr /*client */ , char * /*data */ , int /*count */ ); |