summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-01-12 12:09:59 -0800
committerKeith Packard <keithp@keithp.com>2012-01-12 12:09:59 -0800
commitd9eeede52f2d5ba9dd6368d988a5d2abb3b8b4e5 (patch)
tree328837e586a19414d8344e2ebc36580eaa1f8f59 /include
parent3be37375eed9eb9cfb9c42821deda4213af4057b (diff)
Revert "dix: Pull client-is-local flag up to the ClientRec"
This reverts commit 49d38b75c8f3276cfce33ffe6b8c4fbeb1081b96. ABI change pended for 1.13
Diffstat (limited to 'include')
-rw-r--r--include/dixstruct.h1
-rw-r--r--include/os.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/dixstruct.h b/include/dixstruct.h
index cb370519e..5fd595dc7 100644
--- a/include/dixstruct.h
+++ b/include/dixstruct.h
@@ -91,7 +91,6 @@ typedef struct _Client {
pointer requestBuffer;
pointer osPrivate; /* for OS layer, including scheduler */
char swapped;
- char local;
char big_requests;
char closeDownMode;
char clientGone;
diff --git a/include/os.h b/include/os.h
index 84dedd5cb..48ce32962 100644
--- a/include/os.h
+++ b/include/os.h
@@ -353,6 +353,8 @@ typedef struct sockaddr * sockaddrPtr;
extern _X_EXPORT int InvalidHost(sockaddrPtr /*saddr*/, int /*len*/, ClientPtr client);
+extern _X_EXPORT int LocalClient(ClientPtr /* client */);
+
extern _X_EXPORT int LocalClientCred(ClientPtr, int *, int *);
#define LCC_UID_SET (1 << 0)