117ca54c3Smrg/* 217ca54c3Smrg 317ca54c3SmrgCopyright 1992, 1998 The Open Group 417ca54c3Smrg 517ca54c3SmrgPermission to use, copy, modify, distribute, and sell this software and its 617ca54c3Smrgdocumentation for any purpose is hereby granted without fee, provided that 717ca54c3Smrgthe above copyright notice appear in all copies and that both that 817ca54c3Smrgcopyright notice and this permission notice appear in supporting 917ca54c3Smrgdocumentation. 1017ca54c3Smrg 1117ca54c3SmrgThe above copyright notice and this permission notice shall be included in 1217ca54c3Smrgall copies or substantial portions of the Software. 1317ca54c3Smrg 1417ca54c3SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1517ca54c3SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1617ca54c3SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 1717ca54c3SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 1817ca54c3SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 1917ca54c3SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 2017ca54c3Smrg 2117ca54c3SmrgExcept as contained in this notice, the name of The Open Group shall not be 2217ca54c3Smrgused in advertising or otherwise to promote the sale, use or other dealings 2317ca54c3Smrgin this Software without prior written authorization from The Open Group. 2417ca54c3Smrg 2517ca54c3Smrg*/ 2617ca54c3Smrg 2717ca54c3Smrg#ifndef _BIGREQSPROTO_H_ 2817ca54c3Smrg#define _BIGREQSPROTO_H_ 2917ca54c3Smrg 3017ca54c3Smrg#define X_BigReqEnable 0 3117ca54c3Smrg 3217ca54c3Smrg#define XBigReqNumberEvents 0 3317ca54c3Smrg 3417ca54c3Smrg#define XBigReqNumberErrors 0 3517ca54c3Smrg 3617ca54c3Smrg#define XBigReqExtensionName "BIG-REQUESTS" 3717ca54c3Smrg 3817ca54c3Smrgtypedef struct { 3917ca54c3Smrg CARD8 reqType; /* always XBigReqCode */ 4017ca54c3Smrg CARD8 brReqType; /* always X_BigReqEnable */ 41ea1d6981Smrg CARD16 length; 4217ca54c3Smrg} xBigReqEnableReq; 4317ca54c3Smrg#define sz_xBigReqEnableReq 4 4417ca54c3Smrg 4517ca54c3Smrgtypedef struct { 4617ca54c3Smrg BYTE type; /* X_Reply */ 4717ca54c3Smrg CARD8 pad0; 48ea1d6981Smrg CARD16 sequenceNumber; 49ea1d6981Smrg CARD32 length; 50ea1d6981Smrg CARD32 max_request_size; 51ea1d6981Smrg CARD32 pad1; 52ea1d6981Smrg CARD32 pad2; 53ea1d6981Smrg CARD32 pad3; 54ea1d6981Smrg CARD32 pad4; 55ea1d6981Smrg CARD32 pad5; 5617ca54c3Smrg} xBigReqEnableReply; 5717ca54c3Smrg#define sz_xBigReqEnableReply 32 5817ca54c3Smrg 5917ca54c3Smrg 6017ca54c3Smrgtypedef struct { 6117ca54c3Smrg CARD8 reqType; 6217ca54c3Smrg CARD8 data; 63ea1d6981Smrg CARD16 zero; 64ea1d6981Smrg CARD32 length; 6517ca54c3Smrg} xBigReq; 6617ca54c3Smrg 6717ca54c3Smrg#endif /* _BIGREQSPROTO_H_ */ 68