|
|
1.1 ! root 1: /* $Header: dispatch.h,v 1.1 87/09/11 07:18:44 toddb Exp $ */ ! 2: #ifndef DISPATCH_H ! 3: #define DISPATCH_H ! 4: ! 5: ! 6: #define LEGAL_CLIENT(id, c) (\ ! 7: (c == CLIENT_ID(id)) && (clientUsed[CLIENT_ID(id)].used)) ! 8: ! 9: #define REQUEST_AT_LEAST_SIZE(req) \ ! 10: if ((sizeof(req) >> 2) > stuff->length )\ ! 11: return(BadLength) ! 12: ! 13: #define REQUEST_SIZE_MATCH(req)\ ! 14: if ((sizeof(req) >> 2) != stuff->length)\ ! 15: return(BadLength) ! 16: ! 17: extern int ProcBell(); ! 18: extern int ProcChangeActivePointerGrab(); ! 19: extern int ProcChangeKeyboardControl(); ! 20: extern int ProcChangePointerControl(); ! 21: extern int ProcGetDeviceMapping(); ! 22: extern int ProcGetInputFocus(); ! 23: extern int ProcGetKeyboardControl(); ! 24: extern int ProcGetMotionEvents(); ! 25: extern int ProcGetPointerControl(); ! 26: extern int ProcGrabKey(); ! 27: extern int ProcGrabKeyboard(); ! 28: extern int ProcGrabPointer(); ! 29: extern int ProcQueryKeymap(); ! 30: extern int ProcQueryPointer(); ! 31: extern int ProcSetDeviceMapping(); ! 32: extern int ProcSetInputFocus(); ! 33: extern int ProcSendEvent(); ! 34: extern int ProcUngrabKey(); ! 35: extern int ProcUngrabKeyboard(); ! 36: extern int ProcUngrabPointer(); ! 37: extern int ProcWarpPointer(); ! 38: ! 39: #endif /* DISPATCH_H */ ! 40: ! 41: extern int curclient; ! 42: extern int ErrorResID; ! 43: extern int *RequestSequenceNumber;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.