Module Name:    xsrc
Committed By:   mrg
Date:           Sat May 22 02:18:32 UTC 2010

Added Files:
        xsrc/external/mit/xextproto/dist: shmstr.h

Log Message:
copy the compat shmstr.h from pkgsrc for now.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.3 xsrc/external/mit/xextproto/dist/shmstr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: xsrc/external/mit/xextproto/dist/shmstr.h
diff -u /dev/null xsrc/external/mit/xextproto/dist/shmstr.h:1.3
--- /dev/null	Sat May 22 02:18:32 2010
+++ xsrc/external/mit/xextproto/dist/shmstr.h	Sat May 22 02:18:31 2010
@@ -0,0 +1,37 @@
+/* $NetBSD: shmstr.h,v 1.3 2010/05/22 02:18:31 mrg Exp $ */
+
+#ifndef _SHMSTR_H_
+#define _SHMSTR_H_
+
+#warning this file is deprecated and provided only for source compatibility
+
+#include "shmproto.h"
+ 
+#define XSHM_PUT_IMAGE_ARGS \
+    DrawablePtr		/* dst */, \
+    GCPtr		/* pGC */, \
+    int			/* depth */, \
+    unsigned int	/* format */, \
+    int			/* w */, \
+    int			/* h */, \
+    int			/* sx */, \
+    int			/* sy */, \
+    int			/* sw */, \
+    int			/* sh */, \
+    int			/* dx */, \
+    int			/* dy */, \
+    char *		/* data */
+
+#define XSHM_CREATE_PIXMAP_ARGS \
+    ScreenPtr	/* pScreen */, \
+    int		/* width */, \
+    int		/* height */, \
+    int		/* depth */, \
+    char *	/* addr */
+
+typedef struct _ShmFuncs {
+    PixmapPtr	(* CreatePixmap)(XSHM_CREATE_PIXMAP_ARGS);
+    void	(* PutImage)(XSHM_PUT_IMAGE_ARGS);
+} ShmFuncs, *ShmFuncsPtr;
+
+#endif

Reply via email to