xref: /plan9/sys/src/cmd/gs/src/zht2.h (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1 /* Copyright (C) 2002 Artifex Software Inc.  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: zht2.h,v 1.3 2004/08/04 19:36:13 stefan Exp $ */
18 /* Level 2 sethalftone support */
19 
20 #ifndef zht2_INCLUDED
21 #  define zht2_INCLUDED
22 
23 #include "gscspace.h"            /* for gs_separation_name */
24 
25 /*
26  * This routine translates a gs_separation_name value into a character string
27  * pointer and a string length.
28  */
29 int gs_get_colorname_string(const gs_memory_t *mem,
30 			    gs_separation_name colorname_index,
31 			    unsigned char **ppstr,
32 			    unsigned int *pname_size);
33 
34 #endif /* zht2_INCLUDED */
35