xref: /plan9-contrib/sys/src/cmd/gs/src/gdevpm.h (revision d46c239f8612929b7dbade67d0d071633df3a15d)
1 /* Copyright (C) 1992, 1993 Aladdin Enterprises.  All rights reserved.
2 
3   This file is part of AFPL Ghostscript.
4 
5   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
6   distributor accepts any responsibility for the consequences of using it, or
7   for whether it serves any particular purpose or works at all, unless he or
8   she says so in writing.  Refer to the Aladdin Free Public License (the
9   "License") for full details.
10 
11   Every copy of AFPL Ghostscript must include a copy of the License, normally
12   in a plain ASCII text file named PUBLIC.  The License grants you the right
13   to copy, modify and redistribute AFPL Ghostscript, but only under certain
14   conditions described in the License.  Among other things, the License
15   requires that the copyright notice and this notice be preserved on all
16   copies.
17 */
18 
19 /*$Id: gdevpm.h,v 1.2 2000/09/19 19:00:21 lpd Exp $ */
20 /* Defines common to gdevpm.c, gspmdrv.c and PM GSview */
21 
22 #ifndef gdevpm_INCLUDED
23 #  define gdevpm_INCLUDED
24 
25 #define SHARED_NAME "\\SHAREMEM\\%s"
26 #define SYNC_NAME   "\\SEM32\\SYNC_%s"
27 #define NEXT_NAME   "\\SEM32\\NEXT_%s"
28 #define MUTEX_NAME  "\\SEM32\\MUTEX_%s"
29 #define QUEUE_NAME  "\\QUEUES\\%s"
30 
31 #define GS_UPDATING	1
32 #define GS_SYNC		2
33 #define GS_PAGE		3
34 #define GS_CLOSE	4
35 #define GS_ERROR	5
36 #define GS_PALCHANGE	6
37 #define GS_BEGIN	7
38 #define GS_END		8
39 
40 #endif /* gdevpm_INCLUDED */
41