Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:14:19

0001 /************************************************************
0002 
0003 Copyright 1989, 1998  The Open Group
0004 
0005 Permission to use, copy, modify, distribute, and sell this software and its
0006 documentation for any purpose is hereby granted without fee, provided that
0007 the above copyright notice appear in all copies and that both that
0008 copyright notice and this permission notice appear in supporting
0009 documentation.
0010 
0011 The above copyright notice and this permission notice shall be included in
0012 all copies or substantial portions of the Software.
0013 
0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0020 
0021 Except as contained in this notice, the name of The Open Group shall not be
0022 used in advertising or otherwise to promote the sale, use or other dealings
0023 in this Software without prior written authorization from The Open Group.
0024 
0025 ********************************************************/
0026 
0027 /* THIS IS NOT AN X CONSORTIUM STANDARD OR AN X PROJECT TEAM SPECIFICATION */
0028 
0029 #ifndef _SHMSTR_H_
0030 #define _SHMSTR_H_
0031 
0032 #include <X11/extensions/shmproto.h>
0033 
0034 #ifdef _XSHM_SERVER_
0035 #define XSHM_PUT_IMAGE_ARGS \
0036     DrawablePtr     /* dst */, \
0037     GCPtr       /* pGC */, \
0038     int         /* depth */, \
0039     unsigned int    /* format */, \
0040     int         /* w */, \
0041     int         /* h */, \
0042     int         /* sx */, \
0043     int         /* sy */, \
0044     int         /* sw */, \
0045     int         /* sh */, \
0046     int         /* dx */, \
0047     int         /* dy */, \
0048     char *      /* data */
0049 
0050 #define XSHM_CREATE_PIXMAP_ARGS \
0051     ScreenPtr   /* pScreen */, \
0052     int     /* width */, \
0053     int     /* height */, \
0054     int     /* depth */, \
0055     char *  /* addr */
0056 
0057 typedef struct _ShmFuncs {
0058     PixmapPtr   (* CreatePixmap)(XSHM_CREATE_PIXMAP_ARGS);
0059     void    (* PutImage)(XSHM_PUT_IMAGE_ARGS);
0060 } ShmFuncs, *ShmFuncsPtr;
0061 #endif
0062 
0063 #endif /* _SHMSTR_H_ */