Alexandre Julliard | 60ce85c | 1998-02-01 18:33:27 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Thread safe wrappers around XShm calls. |
| 3 | * Always include this file instead of <X11/XShm.h>. |
| 4 | * This file was generated automatically by tools/make_X11wrappers |
| 5 | * |
| 6 | * Copyright 1998 Kristian Nielsen |
| 7 | */ |
| 8 | |
| 9 | #ifndef __WINE_TSXSHM_H |
| 10 | #define __WINE_TSXSHM_H |
| 11 | |
Patrik Stridvall | 48b5de8 | 1999-02-04 10:51:35 +0000 | [diff] [blame^] | 12 | #include "config.h" |
| 13 | |
| 14 | #ifndef X_DISPLAY_MISSING |
| 15 | |
| 16 | #ifdef HAVE_LIBXXSHM |
| 17 | |
Alexandre Julliard | 60ce85c | 1998-02-01 18:33:27 +0000 | [diff] [blame] | 18 | #include <X11/Xlib.h> |
| 19 | #include <X11/extensions/XShm.h> |
| 20 | |
| 21 | extern Bool TSXShmQueryExtension(Display *); |
Lionel Ulmer | 16704da | 1998-11-15 16:43:32 +0000 | [diff] [blame] | 22 | extern Bool TSXShmQueryVersion(Display *, int *, int *, Bool *); |
Alexandre Julliard | 60ce85c | 1998-02-01 18:33:27 +0000 | [diff] [blame] | 23 | extern int TSXShmPixmapFormat(Display *); |
Alexandre Julliard | 60ce85c | 1998-02-01 18:33:27 +0000 | [diff] [blame] | 24 | extern Status TSXShmAttach(Display *, XShmSegmentInfo *); |
Lionel Ulmer | 16704da | 1998-11-15 16:43:32 +0000 | [diff] [blame] | 25 | extern Status TSXShmDetach(Display *, XShmSegmentInfo *); |
Alexandre Julliard | 642d313 | 1998-07-12 19:29:36 +0000 | [diff] [blame] | 26 | extern Status TSXShmPutImage(Display *, Drawable, GC, XImage *, int, int, int, int, unsigned int, unsigned int, Bool); |
Lionel Ulmer | 16704da | 1998-11-15 16:43:32 +0000 | [diff] [blame] | 27 | extern Status TSXShmGetImage(Display *, Drawable, XImage *, int, int, unsigned long); |
| 28 | extern XImage * TSXShmCreateImage(Display *, Visual *, unsigned int, int, char *, XShmSegmentInfo *, unsigned int, unsigned int); |
| 29 | extern Pixmap TSXShmCreatePixmap(Display *, Drawable, char *, XShmSegmentInfo *, unsigned int, unsigned int, unsigned int); |
Alexandre Julliard | 60ce85c | 1998-02-01 18:33:27 +0000 | [diff] [blame] | 30 | |
Patrik Stridvall | 48b5de8 | 1999-02-04 10:51:35 +0000 | [diff] [blame^] | 31 | #endif /* defined(HAVE_LIBXXSHM) */ |
| 32 | |
| 33 | #endif /* !defined(X_DISPLAY_MISSING) */ |
| 34 | |
Alexandre Julliard | 60ce85c | 1998-02-01 18:33:27 +0000 | [diff] [blame] | 35 | #endif /* __WINE_TSXSHM_H */ |