Lines Matching refs:pClient
40 #define GetOSAuditClient(pClient) \
41 ((OSAuditClientPrivatePtr) dixLookupPrivate(&(pClient)->devPrivates, OSAuditPrivKey))
57 OSAuditClientInit (ClientPtr pClient)
65 OSAuditClientPrivatePtr priv = GetOSAuditClient(pClient);
81 if (pClient->osPrivate == NULL) {
85 ci = ((OsCommPtr)pClient->osPrivate)->trans_conn;
113 OSAudit (ClientPtr pClient, int event_id, int status, int reason)
120 OSAuditClientPrivatePtr priv = GetOSAuditClient(pClient);
135 if (pClient->osPrivate != NULL) {
136 ci = ((OsCommPtr)pClient->osPrivate)->trans_conn;
141 event->adt_xconnect.client = pClient->index;
145 event->adt_xdisconnect.client = pClient->index;
179 ClientPtr pClient = pci->client;
180 OSAuditClientPrivatePtr priv = GetOSAuditClient(pClient);
182 switch (pClient->clientState) {
185 OSAuditClientInit(pClient);
189 OSAudit (pClient, ADT_xconnect, ADT_SUCCESS, ADT_SUCCESS);
194 OSAudit (pClient, ADT_xconnect, ADT_FAILURE, EACCES);
196 OSAudit (pClient, ADT_xdisconnect, ADT_SUCCESS, ADT_SUCCESS);
205 priv->prevState = pClient->clientState;