summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-06-17 13:22:41 -0400
committerAdam Jackson <ajax@redhat.com>2012-01-06 13:29:53 -0500
commit49d38b75c8f3276cfce33ffe6b8c4fbeb1081b96 (patch)
treed09673dd9ccdb88cb48174c2612b2d12787bf1af /include
parentf702372822dadb1fef92cfc25086481f640147b3 (diff)
dix: Pull client-is-local flag up to the ClientRec
Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/dixstruct.h1
-rw-r--r--include/os.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/dixstruct.h b/include/dixstruct.h
index 5fd595dc7..cb370519e 100644
--- a/include/dixstruct.h
+++ b/include/dixstruct.h
@@ -91,6 +91,7 @@ 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 48ce32962..84dedd5cb 100644
--- a/include/os.h
+++ b/include/os.h
@@ -353,8 +353,6 @@ 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)