summaryrefslogtreecommitdiff
path: root/Xtransint.h
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2013-11-28 12:57:21 +0100
committerHans de Goede <hdegoede@redhat.com>2014-01-13 11:52:02 +0100
commitb895d45e225dd3d1bf9d598774d3ae4f29fcbc25 (patch)
tree02a4a019df8fb090fd582439abd8b17ffa178fd7 /Xtransint.h
parent2c0a7840a28ae696e80e73157856d7a049fdf6c7 (diff)
downloadxorg-lib-libxtrans-b895d45e225dd3d1bf9d598774d3ae4f29fcbc25.tar.gz
Define TRANS_RECEIVED flag for transports
The flag is to be used to mark transports related to sockets received from systemd. Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xtransint.h')
-rw-r--r--Xtransint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xtransint.h b/Xtransint.h
index ec5a772..4c670b8 100644
--- a/Xtransint.h
+++ b/Xtransint.h
@@ -331,6 +331,7 @@ typedef struct _Xtransport_table {
#define TRANS_NOUNLINK (1<<4) /* Don't unlink transport endpoints */
#define TRANS_ABSTRACT (1<<5) /* Use abstract sockets if available */
#define TRANS_NOXAUTH (1<<6) /* Don't verify authentication (because it's secure some other way at the OS layer) */
+#define TRANS_RECEIVED (1<<7) /* The fd for this has already been opened by someone else. */
/* Flags to preserve when setting others */
#define TRANS_KEEPFLAGS (TRANS_NOUNLINK|TRANS_ABSTRACT)