45e9809aff7304721fddb95654901b32195c9c7avboxsync/***********************************************************
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCopyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
45e9809aff7304721fddb95654901b32195c9c7avboxsync All Rights Reserved
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPermission to use, copy, modify, and distribute this software and its
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdocumentation for any purpose and without fee is hereby granted,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncprovided that the above copyright notice appear in all copies and that
45e9809aff7304721fddb95654901b32195c9c7avboxsyncboth that copyright notice and this permission notice appear in
45e9809aff7304721fddb95654901b32195c9c7avboxsyncsupporting documentation, and that the name of Digital not be
45e9809aff7304721fddb95654901b32195c9c7avboxsyncused in advertising or publicity pertaining to distribution of the
45e9809aff7304721fddb95654901b32195c9c7avboxsyncsoftware without specific, written prior permission.
45e9809aff7304721fddb95654901b32195c9c7avboxsyncDIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
45e9809aff7304721fddb95654901b32195c9c7avboxsyncALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
45e9809aff7304721fddb95654901b32195c9c7avboxsyncDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
45e9809aff7304721fddb95654901b32195c9c7avboxsyncANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
45e9809aff7304721fddb95654901b32195c9c7avboxsync******************************************************************/
45e9809aff7304721fddb95654901b32195c9c7avboxsync * direct-mapped hash table, used by resource manager to store
45e9809aff7304721fddb95654901b32195c9c7avboxsync * translation from client ids to server addresses.
45e9809aff7304721fddb95654901b32195c9c7avboxsynctypedef struct {
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* size */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync void * /* pbuf */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* size */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync void * /* pbuf */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define SaveSetAssignWindow(ss,w) ((ss).windowPtr = (w))
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define SaveSetAssignToRoot(ss,tr) ((ss).toRoot = (tr))
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define SaveSetAssignRemap(ss,rm) ((ss).remap = (rm))
45e9809aff7304721fddb95654901b32195c9c7avboxsync pointer osPrivate; /* for OS layer, including scheduler */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int noClientException; /* this client died or needs to be
45e9809aff7304721fddb95654901b32195c9c7avboxsync * killed */
45e9809aff7304721fddb95654901b32195c9c7avboxsync struct _FontResolution * (*fontResFunc) ( /* no need for font.h */
45e9809aff7304721fddb95654901b32195c9c7avboxsync int * /* num */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Scheduling interface
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern unsigned long SmartScheduleIdleCount;
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* This prototype is used pervasively in Xext, dix */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DISPATCH_PROC(func) int func(ClientPtr /* client */)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern TimeStamp ClientTimeToServerTime(CARD32 /*c*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* proc vectors */
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int (* InitialVector[3]) (ClientPtr /*client*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int (* ProcVector[256]) (ClientPtr /*client*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int (* SwappedProcVector[256]) (ClientPtr /*client*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif /* DIXSTRUCT_H */