(file) Return to Xproto.h CVS log (file) (dir) Up to [XFree86 CVS] / xc / include

Diff for /xc/include/Xproto.h between version 1.1 and 1.2

version 1.1, 1994/04/27 07:07:40 version 1.2, 2001/12/14 19:53:26
Line 1 
Line 1 
 /* /*
  *      $XConsortium: Xproto.h,v 1.89 94/04/17 20:10:52 rws Exp $   *      $Xorg: Xproto.h,v 1.4 2001/02/09 02:03:23 xorgcvs Exp $
  */  */
  
 /* Definitions for the X window system used by server and c bindings */ /* Definitions for the X window system used by server and c bindings */
Line 28 
Line 28 
  
 /*********************************************************** /***********************************************************
  
 Copyright (c) 1987  X Consortium  Copyright 1987, 1998  The Open Group
  
 Permission is hereby granted, free of charge, to any person obtaining a copy  Permission to use, copy, modify, distribute, and sell this software and its
 of this software and associated documentation files (the "Software"), to deal  documentation for any purpose is hereby granted without fee, provided that
 in the Software without restriction, including without limitation the rights  the above copyright notice appear in all copies and that both that
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell  copyright notice and this permission notice appear in supporting
 copies of the Software, and to permit persons to whom the Software is  documentation.
 furnished to do so, subject to the following conditions:  
  
 The above copyright notice and this permission notice shall be included in The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software. all copies or substantial portions of the Software.
Line 43 
Line 42 
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN  OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  
 Except as contained in this notice, the name of the X Consortium shall not be  Except as contained in this notice, the name of The Open Group shall not be
 used in advertising or otherwise to promote the sale, use or other dealings used in advertising or otherwise to promote the sale, use or other dealings
 in this Software without prior written authorization from the X Consortium.  in this Software without prior written authorization from The Open Group.
  
  
 Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
Line 278 
Line 277 
 } xConnClientPrefix; } xConnClientPrefix;
  
 typedef struct { typedef struct {
     BOOL           success;      CARD8          success;
     BYTE           lengthReason; /*num bytes in string following if failure */     BYTE           lengthReason; /*num bytes in string following if failure */
     CARD16         majorVersion B16,     CARD16         majorVersion B16,
                    minorVersion B16;                    minorVersion B16;
Line 411 
Line 410 
  *    meant to be 32 byte quantity  *    meant to be 32 byte quantity
  *****************/  *****************/
  
 #ifdef NEED_REPLIES  
   
 /* GenericReply is the common format of all replies.  The "data" items /* GenericReply is the common format of all replies.  The "data" items
    are specific to each individual reply type. */    are specific to each individual reply type. */
  
Line 967 
Line 964 
     CARD32 pad7 B32;     CARD32 pad7 B32;
     } xListHostsReply;     } xListHostsReply;
  
 #endif /* NEED_REPLIES */  
   
  
  
  
Line 997 
Line 992 
  *    All events are 32 bytes  *    All events are 32 bytes
  *****************************************************************/  *****************************************************************/
  
 #ifdef NEED_EVENTS                /* this hack is necessary because  
                                      the symbol table in the library  
                                      is too big to link */  
   
 typedef struct _xEvent { typedef struct _xEvent {
     union {     union {
         struct {         struct {
Line 1230 
Line 1221 
     BYTE map[31];     BYTE map[31];
     } xKeymapEvent;     } xKeymapEvent;
  
 #endif /* NEED_EVENTS */  
   
 #define XEventSize (sizeof(xEvent)) #define XEventSize (sizeof(xEvent))
  
 /* XReply is the union of all the replies above whose "fixed part" /* XReply is the union of all the replies above whose "fixed part"
Line 1239 
Line 1228 
 QueryFontReply, QueryKeymapReply, or GetKeyboardControlReply QueryFontReply, QueryKeymapReply, or GetKeyboardControlReply
 ListFontsWithInfoReply */ ListFontsWithInfoReply */
  
 #ifdef NEED_REPLIES  
   
 typedef union { typedef union {
     xGenericReply generic;     xGenericReply generic;
     xGetGeometryReply geom;     xGetGeometryReply geom;
Line 1279 
Line 1266 
     xGetScreenSaverReply screenSaver;     xGetScreenSaverReply screenSaver;
     xListHostsReply hosts;     xListHostsReply hosts;
     xError error;     xError error;
 #ifdef NEED_EVENTS  
     xEvent event;     xEvent event;
 #endif /* NEED_EVENTS */  
 } xReply; } xReply;
  
 #endif /* NEED_REPLIES */  
   
  
  
 /***************************************************************** /*****************************************************************
Line 1295 
Line 1278 
  
 /* Request structure */ /* Request structure */
  
 typedef struct {  typedef struct _xReq {
         CARD8 reqType;         CARD8 reqType;
         CARD8 data;            /* meaning depends on request type */         CARD8 data;            /* meaning depends on request type */
         CARD16 length B16;         /* length in 4 bytes quantities         CARD16 length B16;         /* length in 4 bytes quantities
Line 1430 
Line 1413 
     Time time B32;     Time time B32;
     } xConvertSelectionReq;     } xConvertSelectionReq;
  
 #ifdef NEED_EVENTS  
   
 typedef struct { typedef struct {
     CARD8 reqType;     CARD8 reqType;
     BOOL propagate;     BOOL propagate;
Line 1445 
Line 1426 
     xEvent event;     xEvent event;
 #endif /* WORD64 */ #endif /* WORD64 */
 } xSendEventReq; } xSendEventReq;
   
 #endif /* NEED_EVENTS */  
  
 typedef struct { typedef struct {
     CARD8 reqType;     CARD8 reqType;


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

Powered by
ViewCVS 0.9.2