xref: /plan9/sys/src/cmd/gs/src/gdevpm.h (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1 /* Copyright (C) 1992, 1993 Aladdin Enterprises.  All rights reserved.
2 
3   This software is provided AS-IS with no warranty, either express or
4   implied.
5 
6   This software is distributed under license and may not be copied,
7   modified or distributed except as expressly authorized under the terms
8   of the license contained in the file LICENSE in this distribution.
9 
10   For more information about licensing, please refer to
11   http://www.ghostscript.com/licensing/. For information on
12   commercial licensing, go to http://www.artifex.com/licensing/ or
13   contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14   San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15 */
16 
17 /* $Id: gdevpm.h,v 1.4 2002/02/21 22:24:51 giles Exp $ */
18 /* Defines common to gdevpm.c, gspmdrv.c and PM GSview */
19 
20 #ifndef gdevpm_INCLUDED
21 #  define gdevpm_INCLUDED
22 
23 #define SHARED_NAME "\\SHAREMEM\\%s"
24 #define SYNC_NAME   "\\SEM32\\SYNC_%s"
25 #define NEXT_NAME   "\\SEM32\\NEXT_%s"
26 #define MUTEX_NAME  "\\SEM32\\MUTEX_%s"
27 #define QUEUE_NAME  "\\QUEUES\\%s"
28 
29 #define GS_UPDATING	1
30 #define GS_SYNC		2
31 #define GS_PAGE		3
32 #define GS_CLOSE	4
33 #define GS_ERROR	5
34 #define GS_PALCHANGE	6
35 #define GS_BEGIN	7
36 #define GS_END		8
37 
38 #endif /* gdevpm_INCLUDED */
39