| @@ -1,14 +1,17 @@ | | | @@ -1,14 +1,17 @@ |
1 | /* $NetBSD: shmstr.h,v 1.1 2010/04/09 08:33:38 tnn Exp $ */ | | 1 | /* $NetBSD: shmstr.h,v 1.2 2010/04/09 09:06:52 tnn Exp $ */ |
| | | 2 | |
| | | 3 | #ifndef _SHMSTR_H_ |
| | | 4 | #define _SHMSTR_H_ |
2 | | | 5 | |
3 | #warning this file is deprecated and provided only for source compatibility | | 6 | #warning this file is deprecated and provided only for source compatibility |
4 | | | 7 | |
5 | #include "shmproto.h" | | 8 | #include "shmproto.h" |
6 | | | 9 | |
7 | #define XSHM_PUT_IMAGE_ARGS \ | | 10 | #define XSHM_PUT_IMAGE_ARGS \ |
8 | DrawablePtr /* dst */, \ | | 11 | DrawablePtr /* dst */, \ |
9 | GCPtr /* pGC */, \ | | 12 | GCPtr /* pGC */, \ |
10 | int /* depth */, \ | | 13 | int /* depth */, \ |
11 | unsigned int /* format */, \ | | 14 | unsigned int /* format */, \ |
12 | int /* w */, \ | | 15 | int /* w */, \ |
13 | int /* h */, \ | | 16 | int /* h */, \ |
14 | int /* sx */, \ | | 17 | int /* sx */, \ |
| @@ -20,13 +23,15 @@ | | | @@ -20,13 +23,15 @@ |
20 | char * /* data */ | | 23 | char * /* data */ |
21 | | | 24 | |
22 | #define XSHM_CREATE_PIXMAP_ARGS \ | | 25 | #define XSHM_CREATE_PIXMAP_ARGS \ |
23 | ScreenPtr /* pScreen */, \ | | 26 | ScreenPtr /* pScreen */, \ |
24 | int /* width */, \ | | 27 | int /* width */, \ |
25 | int /* height */, \ | | 28 | int /* height */, \ |
26 | int /* depth */, \ | | 29 | int /* depth */, \ |
27 | char * /* addr */ | | 30 | char * /* addr */ |
28 | | | 31 | |
29 | typedef struct _ShmFuncs { | | 32 | typedef struct _ShmFuncs { |
30 | PixmapPtr (* CreatePixmap)(XSHM_CREATE_PIXMAP_ARGS); | | 33 | PixmapPtr (* CreatePixmap)(XSHM_CREATE_PIXMAP_ARGS); |
31 | void (* PutImage)(XSHM_PUT_IMAGE_ARGS); | | 34 | void (* PutImage)(XSHM_PUT_IMAGE_ARGS); |
32 | } ShmFuncs, *ShmFuncsPtr; | | 35 | } ShmFuncs, *ShmFuncsPtr; |
| | | 36 | |
| | | 37 | #endif |